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

#include "sipAPIkdeui.h"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/khelpmenu.sip"
#include <khelpmenu.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 64 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 67 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKHelpMenu : public KHelpMenu
{
public:
    sipKHelpMenu(QWidget*,const QString&,bool);
    sipKHelpMenu(QWidget*,const KAboutData*,bool,KActionCollection*);
    virtual ~sipKHelpMenu();

    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:
    sipKHelpMenu(const sipKHelpMenu &);
    sipKHelpMenu &operator = (const sipKHelpMenu &);

    char sipPyMethods[7];
};

sipKHelpMenu::sipKHelpMenu(QWidget*a0,const QString& a1,bool a2): KHelpMenu(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKHelpMenu::sipKHelpMenu(QWidget*a0,const KAboutData*a1,bool a2,KActionCollection*a3): KHelpMenu(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKHelpMenu::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KHelpMenu);
}

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

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

    return _id;
}

void *sipKHelpMenu::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KHelpMenu, _clname)) ? this : KHelpMenu::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        KHelpMenu::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 sipKHelpMenu::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHelpMenu::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 sipKHelpMenu::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHelpMenu::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 sipKHelpMenu::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHelpMenu::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 sipKHelpMenu::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHelpMenu::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 sipKHelpMenu::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KHelpMenu::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 sipKHelpMenu::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KHelpMenu::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_KHelpMenu_menu(PyObject *, PyObject *);}
static PyObject *meth_KHelpMenu_menu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KHelpMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KHelpMenu, &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_KHelpMenu, sipName_menu, NULL);

    return NULL;
}


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

    {
        KHelpMenu::MenuId a0;
        const KHelpMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KHelpMenu, &sipCpp, sipType_KHelpMenu_MenuId, &a0))
        {
            QAction*sipRes;

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

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

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

    return NULL;
}


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

    {
        KHelpMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KHelpMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KHelpMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KHelpMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KHelpMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KHelpMenu *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0 = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        bool a2 = 1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1b", sipType_QWidget, &a0, sipOwner, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKHelpMenu(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;
        const KAboutData* a1;
        bool a2 = 1;
        KActionCollection* a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ8|bJ8", sipType_QWidget, &a0, sipOwner, sipType_KAboutData, &a1, &a2, sipType_KActionCollection, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKHelpMenu(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KHelpMenu[] = {{141, 0, 1}};


static PyMethodDef methods_KHelpMenu[] = {
    {SIP_MLNAME_CAST(sipName_aboutApplication), meth_KHelpMenu_aboutApplication, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_aboutKDE), meth_KHelpMenu_aboutKDE, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_action), meth_KHelpMenu_action, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_appHelpActivated), meth_KHelpMenu_appHelpActivated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextHelpActivated), meth_KHelpMenu_contextHelpActivated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_menu), meth_KHelpMenu_menu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reportBug), meth_KHelpMenu_reportBug, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_switchApplicationLanguage), meth_KHelpMenu_switchApplicationLanguage, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KHelpMenu[] = {
    {sipName_menuAboutApp, static_cast<int>(KHelpMenu::menuAboutApp), 149},
    {sipName_menuAboutKDE, static_cast<int>(KHelpMenu::menuAboutKDE), 149},
    {sipName_menuHelpContents, static_cast<int>(KHelpMenu::menuHelpContents), 149},
    {sipName_menuReportBug, static_cast<int>(KHelpMenu::menuReportBug), 149},
    {sipName_menuSwitchLanguage, static_cast<int>(KHelpMenu::menuSwitchLanguage), 149},
    {sipName_menuWhatsThis, static_cast<int>(KHelpMenu::menuWhatsThis), 149},
};


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


pyqt4ClassTypeDef sipTypeDef_kdeui_KHelpMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KHelpMenu,
        {0}
    },
    {
        sipNameNr_KHelpMenu,
        {0, 0, 1},
        8, methods_KHelpMenu,
        6, enummembers_KHelpMenu,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KHelpMenu,
    0,
    init_type_KHelpMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KHelpMenu,
    0,
    0,
    0,
    release_KHelpMenu,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KHelpMenu::staticMetaObject,
    0,
    signals_KHelpMenu,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/khbox.sip"
#include <khbox.h>
#line 635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 639 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 642 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 645 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 648 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 651 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 654 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 657 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 660 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 663 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 666 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 669 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 672 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 675 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 678 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 681 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 684 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 687 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 690 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 693 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 696 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 699 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 702 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 705 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 708 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 711 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 714 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 717 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 720 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 723 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 726 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 729 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 753 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 756 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 759 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 765 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 768 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 771 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 774 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 777 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 780 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 783 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 786 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 789 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 792 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 795 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 798 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 801 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 804 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 807 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 810 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 813 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 816 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 819 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 822 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 825 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 828 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKHBox : public KHBox
{
public:
    sipKHBox(QWidget*);
    sipKHBox(bool,QWidget*);
    virtual ~sipKHBox();

    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 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*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    void childEvent(QChildEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKHBox::sipKHBox(QWidget*a0): KHBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKHBox::sipKHBox(bool a0,QWidget*a1): KHBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKHBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KHBox);
}

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

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

    return _id;
}

void *sipKHBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KHBox, _clname)) ? this : KHBox::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KHBox::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 sipKHBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KHBox::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 sipKHBox::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 KHBox::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 sipKHBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::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 KHBox::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 sipKHBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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);
}

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

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

    if (!sipMeth)
        return KHBox::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 sipKHBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KHBox::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 sipKHBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KHBox::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 sipKHBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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 sipKHBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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);
}

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

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

    if (!sipMeth)
        return KHBox::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 sipKHBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KHBox::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);
}

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

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

    if (!sipMeth)
        return KHBox::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 sipKHBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KHBox::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_KHBox_setMargin(PyObject *, PyObject *);}
static PyObject *meth_KHBox_setMargin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KHBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KHBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMargin(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_KHBox, sipName_setMargin, NULL);

    return NULL;
}


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

    {
        int a0;
        KHBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KHBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpacing(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_KHBox, sipName_setSpacing, NULL);

    return NULL;
}


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

    {
        QWidget* a0;
        int a1;
        KHBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_KHBox, &sipCpp, sipType_QWidget, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStretchFactor(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_KHBox, sipName_setStretchFactor, NULL);

    return NULL;
}


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

    {
        const KHBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KHBox::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_KHBox, sipName_sizeHint, NULL);

    return NULL;
}


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

    {
        const KHBox *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KHBox::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_KHBox, sipName_minimumSizeHint, NULL);

    return NULL;
}


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

    {
        QChildEvent* a0;
        KHBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KHBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KHBox::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_KHBox, sipName_childEvent, NULL);

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        bool a0;
        QWidget* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "bJH", &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKHBox(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KHBox[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KHBox_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KHBox_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMargin), meth_KHBox_setMargin, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_KHBox_setSpacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStretchFactor), meth_KHBox_setStretchFactor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KHBox_sizeHint, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KHBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KHBox,
        {0}
    },
    {
        sipNameNr_KHBox,
        {0, 0, 1},
        6, methods_KHBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KHBox,
    0,
    init_type_KHBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KHBox,
    0,
    0,
    0,
    release_KHBox,
    cast_KHBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KHBox::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 2075 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2079 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 2082 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


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

    {
        const KGuiItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KGuiItem, &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_KGuiItem, sipName_text, NULL);

    return NULL;
}


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

    {
        const KGuiItem *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KGuiItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIcon(sipCpp->icon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KGuiItem *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KGuiItem *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KGuiItem *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KGuiItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KGuiItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasIcon();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KGuiItem *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasIconSet();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGuiItem, &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_KGuiItem, sipName_setText, NULL);

    return NULL;
}


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

    {
        const KIcon* a0;
        KGuiItem *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGuiItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconName(*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_KGuiItem, sipName_setIconName, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGuiItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setToolTip(*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_KGuiItem, sipName_setToolTip, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGuiItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWhatsThis(*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_KGuiItem, sipName_setWhatsThis, NULL);

    return NULL;
}


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

    {
        bool a0;
        KGuiItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KGuiItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnabled(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_KGuiItem, sipName_setEnabled, NULL);

    return NULL;
}


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

    delete reinterpret_cast<KGuiItem *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KGuiItem(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const KIcon* a1;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J9|J1J1", sipType_QString,&a0, &a0State, sipType_KIcon, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KGuiItem(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return sipCpp;
        }
    }

    {
        const KGuiItem* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KGuiItem[] = {
    {SIP_MLNAME_CAST(sipName_hasIcon), meth_KGuiItem_hasIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasIconSet), meth_KGuiItem_hasIconSet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KGuiItem_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconName), meth_KGuiItem_iconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_KGuiItem_isEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_plainText), meth_KGuiItem_plainText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_KGuiItem_setEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KGuiItem_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconName), meth_KGuiItem_setIconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KGuiItem_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_KGuiItem_setToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_KGuiItem_setWhatsThis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KGuiItem_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_KGuiItem_toolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_KGuiItem_whatsThis, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KGuiItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KGuiItem,
        {0}
    },
    {
        sipNameNr_KGuiItem,
        {0, 0, 1},
        15, methods_KGuiItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KGuiItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KGuiItem,
    assign_KGuiItem,
    array_KGuiItem,
    copy_KGuiItem,
    release_KGuiItem,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 24 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalshortcutinfo.sip"
#include <kglobalshortcutinfo.h>
#line 2699 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKGlobalShortcutInfo : public KGlobalShortcutInfo
{
public:
    sipKGlobalShortcutInfo();
    sipKGlobalShortcutInfo(const KGlobalShortcutInfo&);
    virtual ~sipKGlobalShortcutInfo();

    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:
    sipKGlobalShortcutInfo(const sipKGlobalShortcutInfo &);
    sipKGlobalShortcutInfo &operator = (const sipKGlobalShortcutInfo &);

    char sipPyMethods[7];
};

sipKGlobalShortcutInfo::sipKGlobalShortcutInfo(): KGlobalShortcutInfo(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKGlobalShortcutInfo::sipKGlobalShortcutInfo(const KGlobalShortcutInfo& a0): KGlobalShortcutInfo(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKGlobalShortcutInfo::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KGlobalShortcutInfo);
}

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

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

    return _id;
}

void *sipKGlobalShortcutInfo::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KGlobalShortcutInfo, _clname)) ? this : KGlobalShortcutInfo::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        KGlobalShortcutInfo::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 sipKGlobalShortcutInfo::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KGlobalShortcutInfo::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 sipKGlobalShortcutInfo::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KGlobalShortcutInfo::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 sipKGlobalShortcutInfo::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KGlobalShortcutInfo::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 sipKGlobalShortcutInfo::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KGlobalShortcutInfo::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 sipKGlobalShortcutInfo::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KGlobalShortcutInfo::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 sipKGlobalShortcutInfo::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KGlobalShortcutInfo::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_KGlobalShortcutInfo_contextFriendlyName(PyObject *, PyObject *);}
static PyObject *meth_KGlobalShortcutInfo_contextFriendlyName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KGlobalShortcutInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KGlobalShortcutInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KGlobalShortcutInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KGlobalShortcutInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KGlobalShortcutInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QKeySequence>(sipCpp->defaultKeys());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KGlobalShortcutInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KGlobalShortcutInfo *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QKeySequence>(sipCpp->keys());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KGlobalShortcutInfo *sipCpp;

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

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

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

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

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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


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


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


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KGlobalShortcutInfo* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KGlobalShortcutInfo[] = {{141, 0, 1}};


static PyMethodDef methods_KGlobalShortcutInfo[] = {
    {SIP_MLNAME_CAST(sipName_componentFriendlyName), meth_KGlobalShortcutInfo_componentFriendlyName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_componentUniqueName), meth_KGlobalShortcutInfo_componentUniqueName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextFriendlyName), meth_KGlobalShortcutInfo_contextFriendlyName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextUniqueName), meth_KGlobalShortcutInfo_contextUniqueName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultKeys), meth_KGlobalShortcutInfo_defaultKeys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_friendlyName), meth_KGlobalShortcutInfo_friendlyName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keys), meth_KGlobalShortcutInfo_keys, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uniqueName), meth_KGlobalShortcutInfo_uniqueName, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KGlobalShortcutInfo = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KGlobalShortcutInfo,
        {0}
    },
    {
        sipNameNr_KGlobalShortcutInfo,
        {0, 0, 1},
        8, methods_KGlobalShortcutInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KGlobalShortcutInfo,
    0,
    init_type_KGlobalShortcutInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KGlobalShortcutInfo,
    assign_KGlobalShortcutInfo,
    array_KGlobalShortcutInfo,
    copy_KGlobalShortcutInfo,
    release_KGlobalShortcutInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KGlobalShortcutInfo::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 3313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 3317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


extern "C" {static int slot_KGlobalSettings_ActivateOptions___bool__(PyObject *);}
static int slot_KGlobalSettings_ActivateOptions___bool__(PyObject *sipSelf)
{
    KGlobalSettings::ActivateOptions *sipCpp = reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_ActivateOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

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

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KGlobalSettings_ActivateOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_ActivateOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KGlobalSettings::ActivateOptions *sipCpp = reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_ActivateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;

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

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KGlobalSettings::ActivateOptions::Int() != a0->operator KGlobalSettings::ActivateOptions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 3373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KGlobalSettings::ActivateOptions *>(a0),sipType_KGlobalSettings_ActivateOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KGlobalSettings_ActivateOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_ActivateOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KGlobalSettings::ActivateOptions *sipCpp = reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_ActivateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;

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

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KGlobalSettings::ActivateOptions::Int() == a0->operator KGlobalSettings::ActivateOptions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 3413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KGlobalSettings::ActivateOptions *>(a0),sipType_KGlobalSettings_ActivateOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KGlobalSettings_ActivateOptions___invert__(PyObject *);}
static PyObject *slot_KGlobalSettings_ActivateOptions___invert__(PyObject *sipSelf)
{
    KGlobalSettings::ActivateOptions *sipCpp = reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_ActivateOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KGlobalSettings::ActivateOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::ActivateOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


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

    {
        KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KGlobalSettings_ActivateOptions, &a0, &a0State, &a1))
        {
            KGlobalSettings::ActivateOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::ActivateOptions((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_ActivateOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;
        KGlobalSettings::ActivateOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KGlobalSettings_ActivateOptions, &a0, &a0State, sipType_KGlobalSettings_ActivateOptions, &a1, &a1State))
        {
            KGlobalSettings::ActivateOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::ActivateOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_ActivateOptions,a0State);
            sipReleaseType(a1,sipType_KGlobalSettings_ActivateOptions,a1State);

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

    {
        KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KGlobalSettings_ActivateOptions, &a0, &a0State, &a1))
        {
            KGlobalSettings::ActivateOptions*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KGlobalSettings::ActivateOptions(*a0 ^ a1);
#line 3522 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KGlobalSettings_ActivateOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;
        KGlobalSettings::ActivateOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KGlobalSettings_ActivateOptions, &a0, &a0State, sipType_KGlobalSettings_ActivateOptions, &a1, &a1State))
        {
            KGlobalSettings::ActivateOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::ActivateOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_ActivateOptions,a0State);
            sipReleaseType(a1,sipType_KGlobalSettings_ActivateOptions,a1State);

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

    {
        KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KGlobalSettings_ActivateOptions, &a0, &a0State, &a1))
        {
            KGlobalSettings::ActivateOptions*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KGlobalSettings::ActivateOptions(*a0 | a1);
#line 3574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KGlobalSettings_ActivateOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KGlobalSettings_ActivateOptions___int__(PyObject *);}
static PyObject *slot_KGlobalSettings_ActivateOptions___int__(PyObject *sipSelf)
{
    KGlobalSettings::ActivateOptions *sipCpp = reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_ActivateOptions));

    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_KGlobalSettings_ActivateOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_ActivateOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KGlobalSettings_ActivateOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KGlobalSettings::ActivateOptions *sipCpp = reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_ActivateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KGlobalSettings_ActivateOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KGlobalSettings::ActivateOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_ActivateOptions,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_KGlobalSettings_ActivateOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_ActivateOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KGlobalSettings_ActivateOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KGlobalSettings::ActivateOptions *sipCpp = reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_ActivateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KGlobalSettings_ActivateOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KGlobalSettings::ActivateOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_ActivateOptions,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_KGlobalSettings_ActivateOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_ActivateOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KGlobalSettings_ActivateOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KGlobalSettings::ActivateOptions *sipCpp = reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_ActivateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KGlobalSettings::ActivateOptions::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KGlobalSettings_ActivateOptions(SIP_SSIZE_T);}
static void *array_KGlobalSettings_ActivateOptions(SIP_SSIZE_T sipNrElem)
{
    return new KGlobalSettings::ActivateOptions[sipNrElem];
}


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


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


extern "C" {static void *init_type_KGlobalSettings_ActivateOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KGlobalSettings_ActivateOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KGlobalSettings::ActivateOptions *sipCpp = 0;

    {
        const KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


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

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

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KGlobalSettings_ActivateOption)) ||
            sipCanConvertToType(sipPy, sipType_KGlobalSettings_ActivateOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KGlobalSettings_ActivateOption)))
{
    *sipCppPtr = new KGlobalSettings::ActivateOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KGlobalSettings::ActivateOptions *>(sipConvertToType(sipPy, sipType_KGlobalSettings_ActivateOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 3858 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KGlobalSettings_ActivateOptions[] = {
    {(void *)slot_KGlobalSettings_ActivateOptions___bool__, bool_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___ne__, ne_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___eq__, eq_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___invert__, invert_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___and__, and_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___xor__, xor_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___or__, or_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___int__, int_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___ixor__, ixor_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___ior__, ior_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KGlobalSettings_ActivateOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KGlobalSettings__ActivateOptions,
        {0}
    },
    {
        sipNameNr_ActivateOptions,
        {134, 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_KGlobalSettings_ActivateOptions,
    init_type_KGlobalSettings_ActivateOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KGlobalSettings_ActivateOptions,
    assign_KGlobalSettings_ActivateOptions,
    array_KGlobalSettings_ActivateOptions,
    copy_KGlobalSettings_ActivateOptions,
    release_KGlobalSettings_ActivateOptions,
    0,
    convertTo_KGlobalSettings_ActivateOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 3934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 3938 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


extern "C" {static int slot_KGlobalSettings_GraphicEffects___bool__(PyObject *);}
static int slot_KGlobalSettings_GraphicEffects___bool__(PyObject *sipSelf)
{
    KGlobalSettings::GraphicEffects *sipCpp = reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_GraphicEffects));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

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

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KGlobalSettings_GraphicEffects___ne__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_GraphicEffects___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KGlobalSettings::GraphicEffects *sipCpp = reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_GraphicEffects));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;

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

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KGlobalSettings::GraphicEffects::Int() != a0->operator KGlobalSettings::GraphicEffects::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 3994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KGlobalSettings::GraphicEffects *>(a0),sipType_KGlobalSettings_GraphicEffects,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KGlobalSettings_GraphicEffects___eq__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_GraphicEffects___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KGlobalSettings::GraphicEffects *sipCpp = reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_GraphicEffects));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;

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

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KGlobalSettings::GraphicEffects::Int() == a0->operator KGlobalSettings::GraphicEffects::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 4034 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KGlobalSettings::GraphicEffects *>(a0),sipType_KGlobalSettings_GraphicEffects,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KGlobalSettings_GraphicEffects___invert__(PyObject *);}
static PyObject *slot_KGlobalSettings_GraphicEffects___invert__(PyObject *sipSelf)
{
    KGlobalSettings::GraphicEffects *sipCpp = reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_GraphicEffects));

    if (!sipCpp)
        return 0;


    {
        {
            KGlobalSettings::GraphicEffects*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::GraphicEffects(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


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

    {
        KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KGlobalSettings_GraphicEffects, &a0, &a0State, &a1))
        {
            KGlobalSettings::GraphicEffects*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::GraphicEffects((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_GraphicEffects,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;
        KGlobalSettings::GraphicEffects* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KGlobalSettings_GraphicEffects, &a0, &a0State, sipType_KGlobalSettings_GraphicEffects, &a1, &a1State))
        {
            KGlobalSettings::GraphicEffects*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::GraphicEffects((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_GraphicEffects,a0State);
            sipReleaseType(a1,sipType_KGlobalSettings_GraphicEffects,a1State);

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

    {
        KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KGlobalSettings_GraphicEffects, &a0, &a0State, &a1))
        {
            KGlobalSettings::GraphicEffects*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KGlobalSettings::GraphicEffects(*a0 ^ a1);
#line 4143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KGlobalSettings_GraphicEffects,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;
        KGlobalSettings::GraphicEffects* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KGlobalSettings_GraphicEffects, &a0, &a0State, sipType_KGlobalSettings_GraphicEffects, &a1, &a1State))
        {
            KGlobalSettings::GraphicEffects*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::GraphicEffects((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_GraphicEffects,a0State);
            sipReleaseType(a1,sipType_KGlobalSettings_GraphicEffects,a1State);

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

    {
        KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KGlobalSettings_GraphicEffects, &a0, &a0State, &a1))
        {
            KGlobalSettings::GraphicEffects*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KGlobalSettings::GraphicEffects(*a0 | a1);
#line 4195 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KGlobalSettings_GraphicEffects,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KGlobalSettings_GraphicEffects___int__(PyObject *);}
static PyObject *slot_KGlobalSettings_GraphicEffects___int__(PyObject *sipSelf)
{
    KGlobalSettings::GraphicEffects *sipCpp = reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_GraphicEffects));

    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_KGlobalSettings_GraphicEffects___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_GraphicEffects___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KGlobalSettings_GraphicEffects)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KGlobalSettings::GraphicEffects *sipCpp = reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_GraphicEffects));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KGlobalSettings_GraphicEffects, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KGlobalSettings::GraphicEffects::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_GraphicEffects,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_KGlobalSettings_GraphicEffects___ior__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_GraphicEffects___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KGlobalSettings_GraphicEffects)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KGlobalSettings::GraphicEffects *sipCpp = reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_GraphicEffects));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KGlobalSettings_GraphicEffects, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KGlobalSettings::GraphicEffects::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_GraphicEffects,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_KGlobalSettings_GraphicEffects___iand__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_GraphicEffects___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KGlobalSettings_GraphicEffects)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KGlobalSettings::GraphicEffects *sipCpp = reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KGlobalSettings_GraphicEffects));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KGlobalSettings::GraphicEffects::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KGlobalSettings_GraphicEffects(SIP_SSIZE_T);}
static void *array_KGlobalSettings_GraphicEffects(SIP_SSIZE_T sipNrElem)
{
    return new KGlobalSettings::GraphicEffects[sipNrElem];
}


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


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


extern "C" {static void *init_type_KGlobalSettings_GraphicEffects(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KGlobalSettings_GraphicEffects(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KGlobalSettings::GraphicEffects *sipCpp = 0;

    {
        const KGlobalSettings::GraphicEffects* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


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

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

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KGlobalSettings_GraphicEffect)) ||
            sipCanConvertToType(sipPy, sipType_KGlobalSettings_GraphicEffects, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KGlobalSettings_GraphicEffect)))
{
    *sipCppPtr = new KGlobalSettings::GraphicEffects(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KGlobalSettings::GraphicEffects *>(sipConvertToType(sipPy, sipType_KGlobalSettings_GraphicEffects, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 4479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KGlobalSettings_GraphicEffects[] = {
    {(void *)slot_KGlobalSettings_GraphicEffects___bool__, bool_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___ne__, ne_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___eq__, eq_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___invert__, invert_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___and__, and_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___xor__, xor_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___or__, or_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___int__, int_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___ixor__, ixor_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___ior__, ior_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KGlobalSettings_GraphicEffects = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KGlobalSettings__GraphicEffects,
        {0}
    },
    {
        sipNameNr_GraphicEffects,
        {134, 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_KGlobalSettings_GraphicEffects,
    init_type_KGlobalSettings_GraphicEffects,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KGlobalSettings_GraphicEffects,
    assign_KGlobalSettings_GraphicEffects,
    array_KGlobalSettings_GraphicEffects,
    copy_KGlobalSettings_GraphicEffects,
    release_KGlobalSettings_GraphicEffects,
    0,
    convertTo_KGlobalSettings_GraphicEffects,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4555 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"



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

    delete reinterpret_cast<KGlobalSettings::KMouseSettings *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KGlobalSettings_KMouseSettings(SIP_SSIZE_T);}
static void *array_KGlobalSettings_KMouseSettings(SIP_SSIZE_T sipNrElem)
{
    return new KGlobalSettings::KMouseSettings[sipNrElem];
}


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


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


extern "C" {static void *init_type_KGlobalSettings_KMouseSettings(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KGlobalSettings_KMouseSettings(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KGlobalSettings::KMouseSettings *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const KGlobalSettings::KMouseSettings* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KGlobalSettings_KMouseSettings, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KGlobalSettings::KMouseSettings(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}

static sipEnumMemberDef enummembers_KGlobalSettings_KMouseSettings[] = {
    {sipName_LeftHanded, static_cast<int>(KGlobalSettings::KMouseSettings::LeftHanded), -1},
    {sipName_RightHanded, static_cast<int>(KGlobalSettings::KMouseSettings::RightHanded), -1},
};


extern "C" {static PyObject *varget_KGlobalSettings_KMouseSettings_handed(void *, PyObject *, PyObject *);}
static PyObject *varget_KGlobalSettings_KMouseSettings_handed(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    KGlobalSettings::KMouseSettings *sipCpp = reinterpret_cast<KGlobalSettings::KMouseSettings *>(sipSelf);

    sipVal = sipCpp->handed;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_KGlobalSettings_KMouseSettings_handed(void *, PyObject *, PyObject *);}
static int varset_KGlobalSettings_KMouseSettings_handed(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    KGlobalSettings::KMouseSettings *sipCpp = reinterpret_cast<KGlobalSettings::KMouseSettings *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->handed = sipVal;

    return 0;
}

sipVariableDef variables_KGlobalSettings_KMouseSettings[] = {
    {InstanceVariable, sipName_handed, (PyMethodDef *)varget_KGlobalSettings_KMouseSettings_handed, (PyMethodDef *)varset_KGlobalSettings_KMouseSettings_handed, NULL, NULL},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KGlobalSettings_KMouseSettings = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KGlobalSettings__KMouseSettings,
        {0}
    },
    {
        sipNameNr_KMouseSettings,
        {134, 255, 0},
        0, 0,
        2, enummembers_KGlobalSettings_KMouseSettings,
        1, variables_KGlobalSettings_KMouseSettings,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KGlobalSettings_KMouseSettings,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KGlobalSettings_KMouseSettings,
    assign_KGlobalSettings_KMouseSettings,
    array_KGlobalSettings_KMouseSettings,
    copy_KGlobalSettings_KMouseSettings,
    release_KGlobalSettings_KMouseSettings,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 4735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 4741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4753 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4756 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4759 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 4762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4765 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4768 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4771 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4774 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4777 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4780 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4783 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4786 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4789 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4792 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4795 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4798 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4801 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::dndEventDelay();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::singleClick();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::smoothScroll();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGlobalSettings::TearOffHandle sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::insertTearOffHandle();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KGlobalSettings_TearOffHandle);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::changeCursorOverIcon();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::autoSelectDelay();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::contextMenuKey();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::showContextMenusOnPress();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGlobalSettings::Completion sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::completionMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KGlobalSettings_Completion);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGlobalSettings::KMouseSettings*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &KGlobalSettings::mouseSettings();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KGlobalSettings::desktopPath());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KGlobalSettings::autostartPath());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KGlobalSettings::documentPath());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KGlobalSettings::musicPath());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KGlobalSettings::videosPath());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KGlobalSettings::downloadPath());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KGlobalSettings::picturesPath());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(KGlobalSettings::inactiveTitleColor());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(KGlobalSettings::inactiveTextColor());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(KGlobalSettings::activeTitleColor());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(KGlobalSettings::activeTextColor());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::contrast();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1", sipType_KSharedConfigPtr,&a0, &a0State))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::contrastF(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KSharedConfigPtr *>(a0),sipType_KSharedConfigPtr,a0State);

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::shadeSortColumn();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::allowDefaultBackgroundImages();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(KGlobalSettings::generalFont());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(KGlobalSettings::fixedFont());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(KGlobalSettings::toolBarFont());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(KGlobalSettings::menuFont());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(KGlobalSettings::windowTitleFont());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(KGlobalSettings::taskbarFont());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1", sipType_QString,&a0, &a0State))
        {
            QFont*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(KGlobalSettings::largeFont(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(KGlobalSettings::smallestReadableFont());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::isMultiHead();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::wheelMouseZooms();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(KGlobalSettings::splashScreenDesktopGeometry());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QPoint, &a0))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(KGlobalSettings::desktopGeometry(*a0));
            Py_END_ALLOW_THREADS

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

    {
        const QWidget* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QWidget, &a0))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(KGlobalSettings::desktopGeometry(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::showIconsOnPushButtons();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGlobalSettings::GraphicEffects*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::GraphicEffects(KGlobalSettings::graphicEffectsLevel());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            KGlobalSettings::GraphicEffects*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGlobalSettings::GraphicEffects(KGlobalSettings::graphicEffectsLevelDefault());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_KUrl, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::showFilePreview(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::opaqueResize();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::buttonLayout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1", sipType_KSharedConfigPtr,&a0, &a0State))
        {
            QPalette*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPalette(KGlobalSettings::createApplicationPalette(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KSharedConfigPtr *>(a0),sipType_KSharedConfigPtr,a0State);

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

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

    return NULL;
}


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

    {
        KGlobalSettings::ChangeType a0;
        int a1 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E|i", sipType_KGlobalSettings_ChangeType, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            KGlobalSettings::emitChange(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_KGlobalSettings, sipName_emitChange, NULL);

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::self();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KGlobalSettings *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KGlobalSettings::ActivateOptions* a0;
        int a0State = 0;
        KGlobalSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGlobalSettings, &sipCpp, sipType_KGlobalSettings_ActivateOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->activate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KGlobalSettings_ActivateOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalSettings::naturalSorting();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1", sipType_KSharedConfigPtr,&a0, &a0State))
        {
            QPalette*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPalette(KGlobalSettings::createNewApplicationPalette(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KSharedConfigPtr *>(a0),sipType_KSharedConfigPtr,a0State);

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

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

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KGlobalSettings[] = {{141, 0, 1}};


static PyMethodDef methods_KGlobalSettings[] = {
    {SIP_MLNAME_CAST(sipName_activate), meth_KGlobalSettings_activate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activeTextColor), meth_KGlobalSettings_activeTextColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activeTitleColor), meth_KGlobalSettings_activeTitleColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allowDefaultBackgroundImages), meth_KGlobalSettings_allowDefaultBackgroundImages, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoSelectDelay), meth_KGlobalSettings_autoSelectDelay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autostartPath), meth_KGlobalSettings_autostartPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttonLayout), meth_KGlobalSettings_buttonLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeCursorOverIcon), meth_KGlobalSettings_changeCursorOverIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionMode), meth_KGlobalSettings_completionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuKey), meth_KGlobalSettings_contextMenuKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contrast), meth_KGlobalSettings_contrast, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contrastF), meth_KGlobalSettings_contrastF, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createApplicationPalette), meth_KGlobalSettings_createApplicationPalette, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createNewApplicationPalette), meth_KGlobalSettings_createNewApplicationPalette, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_desktopGeometry), meth_KGlobalSettings_desktopGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_desktopPath), meth_KGlobalSettings_desktopPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dndEventDelay), meth_KGlobalSettings_dndEventDelay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_documentPath), meth_KGlobalSettings_documentPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_downloadPath), meth_KGlobalSettings_downloadPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitChange), meth_KGlobalSettings_emitChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fixedFont), meth_KGlobalSettings_fixedFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_generalFont), meth_KGlobalSettings_generalFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_graphicEffectsLevel), meth_KGlobalSettings_graphicEffectsLevel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_graphicEffectsLevelDefault), meth_KGlobalSettings_graphicEffectsLevelDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inactiveTextColor), meth_KGlobalSettings_inactiveTextColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inactiveTitleColor), meth_KGlobalSettings_inactiveTitleColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertTearOffHandle), meth_KGlobalSettings_insertTearOffHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isMultiHead), meth_KGlobalSettings_isMultiHead, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_largeFont), meth_KGlobalSettings_largeFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_menuFont), meth_KGlobalSettings_menuFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseSettings), meth_KGlobalSettings_mouseSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_musicPath), meth_KGlobalSettings_musicPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_naturalSorting), meth_KGlobalSettings_naturalSorting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueResize), meth_KGlobalSettings_opaqueResize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_picturesPath), meth_KGlobalSettings_picturesPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KGlobalSettings_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shadeSortColumn), meth_KGlobalSettings_shadeSortColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showContextMenusOnPress), meth_KGlobalSettings_showContextMenusOnPress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showFilePreview), meth_KGlobalSettings_showFilePreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showIconsOnPushButtons), meth_KGlobalSettings_showIconsOnPushButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleClick), meth_KGlobalSettings_singleClick, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_smallestReadableFont), meth_KGlobalSettings_smallestReadableFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_smoothScroll), meth_KGlobalSettings_smoothScroll, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_splashScreenDesktopGeometry), meth_KGlobalSettings_splashScreenDesktopGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_taskbarFont), meth_KGlobalSettings_taskbarFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBarFont), meth_KGlobalSettings_toolBarFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_videosPath), meth_KGlobalSettings_videosPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelMouseZooms), meth_KGlobalSettings_wheelMouseZooms, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowTitleFont), meth_KGlobalSettings_windowTitleFont, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KGlobalSettings[] = {
    {sipName_ApplicationLevel, static_cast<int>(KGlobalSettings::ApplicationLevel), 143},
    {sipName_ApplySettings, static_cast<int>(KGlobalSettings::ApplySettings), 135},
    {sipName_BlockShortcuts, static_cast<int>(KGlobalSettings::BlockShortcuts), 137},
    {sipName_ClipboardConfigChanged, static_cast<int>(KGlobalSettings::ClipboardConfigChanged), 137},
    {sipName_CompletionAuto, static_cast<int>(KGlobalSettings::CompletionAuto), 138},
    {sipName_CompletionMan, static_cast<int>(KGlobalSettings::CompletionMan), 138},
    {sipName_CompletionNone, static_cast<int>(KGlobalSettings::CompletionNone), 138},
    {sipName_CompletionPopup, static_cast<int>(KGlobalSettings::CompletionPopup), 138},
    {sipName_CompletionPopupAuto, static_cast<int>(KGlobalSettings::CompletionPopupAuto), 138},
    {sipName_CompletionShell, static_cast<int>(KGlobalSettings::CompletionShell), 138},
    {sipName_ComplexAnimationEffects, static_cast<int>(KGlobalSettings::ComplexAnimationEffects), 139},
    {sipName_CursorChanged, static_cast<int>(KGlobalSettings::CursorChanged), 137},
    {sipName_Disable, static_cast<int>(KGlobalSettings::Disable), 143},
    {sipName_Enable, static_cast<int>(KGlobalSettings::Enable), 143},
    {sipName_FontChanged, static_cast<int>(KGlobalSettings::FontChanged), 137},
    {sipName_GradientEffects, static_cast<int>(KGlobalSettings::GradientEffects), 139},
    {sipName_IconChanged, static_cast<int>(KGlobalSettings::IconChanged), 137},
    {sipName_ListenForChanges, static_cast<int>(KGlobalSettings::ListenForChanges), 135},
    {sipName_NaturalSortingChanged, static_cast<int>(KGlobalSettings::NaturalSortingChanged), 137},
    {sipName_NoEffects, static_cast<int>(KGlobalSettings::NoEffects), 139},
    {sipName_PaletteChanged, static_cast<int>(KGlobalSettings::PaletteChanged), 137},
    {sipName_SETTINGS_COMPLETION, static_cast<int>(KGlobalSettings::SETTINGS_COMPLETION), 142},
    {sipName_SETTINGS_LOCALE, static_cast<int>(KGlobalSettings::SETTINGS_LOCALE), 142},
    {sipName_SETTINGS_MOUSE, static_cast<int>(KGlobalSettings::SETTINGS_MOUSE), 142},
    {sipName_SETTINGS_PATHS, static_cast<int>(KGlobalSettings::SETTINGS_PATHS), 142},
    {sipName_SETTINGS_POPUPMENU, static_cast<int>(KGlobalSettings::SETTINGS_POPUPMENU), 142},
    {sipName_SETTINGS_QT, static_cast<int>(KGlobalSettings::SETTINGS_QT), 142},
    {sipName_SETTINGS_SHORTCUTS, static_cast<int>(KGlobalSettings::SETTINGS_SHORTCUTS), 142},
    {sipName_SETTINGS_STYLE, static_cast<int>(KGlobalSettings::SETTINGS_STYLE), 142},
    {sipName_SettingsChanged, static_cast<int>(KGlobalSettings::SettingsChanged), 137},
    {sipName_SimpleAnimationEffects, static_cast<int>(KGlobalSettings::SimpleAnimationEffects), 139},
    {sipName_StyleChanged, static_cast<int>(KGlobalSettings::StyleChanged), 137},
    {sipName_ToolbarStyleChanged, static_cast<int>(KGlobalSettings::ToolbarStyleChanged), 137},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KGlobalSettings[] = {
    {"naturalSortingChanged()", 0, 0, 0},
    {"blockShortcuts(int)", 0, 0, 0},
    {"cursorChanged()", 0, 0, 0},
    {"iconChanged(int)", 0, 0, 0},
    {"settingsChanged(int)", 0, 0, 0},
    {"toolbarAppearanceChanged(int)", 0, 0, 0},
    {"appearanceChanged()", 0, 0, 0},
    {"kdisplayFontChanged()", 0, 0, 0},
    {"kdisplayStyleChanged()", 0, 0, 0},
    {"kdisplayPaletteChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KGlobalSettings = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KGlobalSettings,
        {0}
    },
    {
        sipNameNr_KGlobalSettings,
        {0, 0, 1},
        49, methods_KGlobalSettings,
        33, enummembers_KGlobalSettings,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KGlobalSettings,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KGlobalSettings,
    0,
    0,
    0,
    release_KGlobalSettings,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KGlobalSettings::staticMetaObject,
    0,
    signals_KGlobalSettings,
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalaccel.sip"
#include <kglobalaccel.h>
#line 6279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 6286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 51 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 6295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 24 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalshortcutinfo.sip"
#include <kglobalshortcutinfo.h>
#line 6304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalAccel::self();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QKeySequence* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QKeySequence, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            KGlobalAccel::stealShortcutSystemwide(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const KComponentData& a2def = KGlobal::mainComponent();
        const KComponentData* a2 = &a2def;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_KComponentData, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            KGlobalAccel::activateGlobalShortcutContext(*a0,*a1,*a2);
            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_KGlobalAccel, sipName_activateGlobalShortcutContext, NULL);

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalAccel::cleanComponent(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalAccel::isComponentActive(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QKeySequence* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QKeySequence, &a0, &a0State))
        {
            QList<KGlobalShortcutInfo>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KGlobalShortcutInfo>(KGlobalAccel::getGlobalShortcutsByKey(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J1", sipType_QKeySequence, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalAccel::isGlobalShortcutAvailable(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QWidget* a0;
        const QList<KGlobalShortcutInfo>* a1;
        int a1State = 0;
        const QKeySequence* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1", sipType_QWidget, &a0, sipType_QList_0100KGlobalShortcutInfo,&a1, &a1State, sipType_QKeySequence, &a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalAccel::promptStealShortcutSystemwide(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<KGlobalShortcutInfo> *>(a1),sipType_QList_0100KGlobalShortcutInfo,a1State);
            sipReleaseType(const_cast<QKeySequence *>(a2),sipType_QKeySequence,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QWidget* a0;
        const QStringList* a1;
        int a1State = 0;
        const QKeySequence* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:J1J1", sipType_QWidget, &a0, sipType_QStringList,&a1, &a1State, sipType_QKeySequence, &a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KGlobalAccel::promptStealShortcutSystemwide(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(const_cast<QKeySequence *>(a2),sipType_QKeySequence,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KGlobalAccel *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KGlobalAccel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KGlobalAccel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnabled(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_KGlobalAccel, sipName_setEnabled, NULL);

    return NULL;
}


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

    {
        const KComponentData* a0;
        KGlobalAccel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KGlobalAccel, &sipCpp, sipType_KComponentData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->overrideMainComponentData(*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_KGlobalAccel, sipName_overrideMainComponentData, NULL);

    return NULL;
}


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

    {
        KGlobalAccel *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QStringList>(sipCpp->allMainComponents());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KGlobalAccel, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            QList<QStringList>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QStringList>(sipCpp->allActionsForComponent(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

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

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

    return NULL;
}


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

    {
        const QKeySequence* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QKeySequence, &a0, &a0State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(KGlobalAccel::findActionNameSystemwide(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

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

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

    return NULL;
}


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


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KGlobalAccel[] = {{141, 0, 1}};


static PyMethodDef methods_KGlobalAccel[] = {
    {SIP_MLNAME_CAST(sipName_activateGlobalShortcutContext), meth_KGlobalAccel_activateGlobalShortcutContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allActionsForComponent), meth_KGlobalAccel_allActionsForComponent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allMainComponents), meth_KGlobalAccel_allMainComponents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cleanComponent), meth_KGlobalAccel_cleanComponent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findActionNameSystemwide), meth_KGlobalAccel_findActionNameSystemwide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getGlobalShortcutsByKey), meth_KGlobalAccel_getGlobalShortcutsByKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isComponentActive), meth_KGlobalAccel_isComponentActive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_KGlobalAccel_isEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGlobalShortcutAvailable), meth_KGlobalAccel_isGlobalShortcutAvailable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overrideMainComponentData), meth_KGlobalAccel_overrideMainComponentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_promptStealShortcutSystemwide), meth_KGlobalAccel_promptStealShortcutSystemwide, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_self), meth_KGlobalAccel_self, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_KGlobalAccel_setEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stealShortcutSystemwide), meth_KGlobalAccel_stealShortcutSystemwide, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KGlobalAccel[] = {
    {sipName_ActionFriendly, static_cast<int>(KGlobalAccel::ActionFriendly), 133},
    {sipName_ActionUnique, static_cast<int>(KGlobalAccel::ActionUnique), 133},
    {sipName_ComponentFriendly, static_cast<int>(KGlobalAccel::ComponentFriendly), 133},
    {sipName_ComponentUnique, static_cast<int>(KGlobalAccel::ComponentUnique), 133},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KGlobalAccel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KGlobalAccel,
        {0}
    },
    {
        sipNameNr_KGlobalAccel,
        {0, 0, 1},
        14, methods_KGlobalAccel,
        4, enummembers_KGlobalAccel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KGlobalAccel,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_KGlobalAccel,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KGlobalAccel::staticMetaObject,
    0,
    0
};

#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 6864 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6868 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6871 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


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

    {
        Qt::MouseButton a0;
        Qt::MouseButton a1;
        KRockerGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEE", &sipSelf, sipType_KRockerGesture, &sipCpp, sipType_Qt_MouseButton, &a0, sipType_Qt_MouseButton, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtons(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_KRockerGesture, sipName_setButtons, NULL);

    return NULL;
}


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

    {
        Qt::MouseButton a0;
        Qt::MouseButton a1;
        const KRockerGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRockerGesture, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->getButtons(&a0,&a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(FF)",a0,sipType_Qt_MouseButton,a1,sipType_Qt_MouseButton);
        }
    }

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

    return NULL;
}


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

    {
        const KRockerGesture *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Qt::MouseButton a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_Qt_MouseButton, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(KRockerGesture::mouseButtonName(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KRockerGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRockerGesture, &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_KRockerGesture, sipName_isValid, NULL);

    return NULL;
}


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

    {
        const KRockerGesture *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KRockerGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRockerGesture, &sipCpp))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hashable();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *slot_KRockerGesture___ne__(PyObject *,PyObject *);}
static PyObject *slot_KRockerGesture___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KRockerGesture *sipCpp = reinterpret_cast<KRockerGesture *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRockerGesture));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KRockerGesture* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KRockerGesture___eq__(PyObject *,PyObject *);}
static PyObject *slot_KRockerGesture___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KRockerGesture *sipCpp = reinterpret_cast<KRockerGesture *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRockerGesture));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KRockerGesture* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    delete reinterpret_cast<KRockerGesture *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

    {
        Qt::MouseButton a0;
        Qt::MouseButton a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "EE", sipType_Qt_MouseButton, &a0, sipType_Qt_MouseButton, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KRockerGesture(a0,a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        const KRockerGesture* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KRockerGesture[] = {
    {SIP_MLNAME_CAST(sipName_getButtons), meth_KRockerGesture_getButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hashable), meth_KRockerGesture_hashable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KRockerGesture_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseButtonName), meth_KRockerGesture_mouseButtonName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rockerName), meth_KRockerGesture_rockerName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtons), meth_KRockerGesture_setButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toString), meth_KRockerGesture_toString, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KRockerGesture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KRockerGesture,
        {0}
    },
    {
        sipNameNr_KRockerGesture,
        {0, 0, 1},
        7, methods_KRockerGesture,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KRockerGesture,
    init_type_KRockerGesture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRockerGesture,
    assign_KRockerGesture,
    array_KRockerGesture,
    copy_KRockerGesture,
    release_KRockerGesture,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 7311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 7315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7318 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


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

    {
        const QPolygon* a0;
        KShapeGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KShapeGesture, &sipCpp, sipType_QPolygon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShape(*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_KShapeGesture, sipName_setShape, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KShapeGesture, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShapeName(*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_KShapeGesture, sipName_setShapeName, NULL);

    return NULL;
}


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

    {
        const KShapeGesture *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KShapeGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShapeGesture, &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_KShapeGesture, sipName_isValid, NULL);

    return NULL;
}


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

    {
        const KShapeGesture *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J1", &sipSelf, sipType_KShapeGesture, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QByteArray*sipRes;

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

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

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

    return NULL;
}


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

    {
        const KShapeGesture* a0;
        float a1;
        const KShapeGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9f", &sipSelf, sipType_KShapeGesture, &sipCpp, sipType_KShapeGesture, &a0, &a1))
        {
            float sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->distance(*a0,a1);
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble((double)sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KShapeGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KShapeGesture, &sipCpp))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hashable();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *slot_KShapeGesture___ne__(PyObject *,PyObject *);}
static PyObject *slot_KShapeGesture___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KShapeGesture *sipCpp = reinterpret_cast<KShapeGesture *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShapeGesture));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KShapeGesture* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KShapeGesture___eq__(PyObject *,PyObject *);}
static PyObject *slot_KShapeGesture___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KShapeGesture *sipCpp = reinterpret_cast<KShapeGesture *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KShapeGesture));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KShapeGesture* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    delete reinterpret_cast<KShapeGesture *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


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


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


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

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

            return sipCpp;
        }
    }

    {
        const QPolygon* a0;

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

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        const KShapeGesture* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KShapeGesture[] = {
    {SIP_MLNAME_CAST(sipName_distance), meth_KShapeGesture_distance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hashable), meth_KShapeGesture_hashable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KShapeGesture_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShape), meth_KShapeGesture_setShape, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShapeName), meth_KShapeGesture_setShapeName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shapeName), meth_KShapeGesture_shapeName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toString), meth_KShapeGesture_toString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toSvg), meth_KShapeGesture_toSvg, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KShapeGesture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KShapeGesture,
        {0}
    },
    {
        sipNameNr_KShapeGesture,
        {0, 0, 1},
        8, methods_KShapeGesture,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KShapeGesture,
    init_type_KShapeGesture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KShapeGesture,
    assign_KShapeGesture,
    array_KShapeGesture,
    copy_KShapeGesture,
    release_KShapeGesture,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};




extern "C" {static int slot_KFontUtils_AdaptFontSizeOptions___bool__(PyObject *);}
static int slot_KFontUtils_AdaptFontSizeOptions___bool__(PyObject *sipSelf)
{
    KFontUtils::AdaptFontSizeOptions *sipCpp = reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontUtils_AdaptFontSizeOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

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

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFontUtils_AdaptFontSizeOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_KFontUtils_AdaptFontSizeOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFontUtils::AdaptFontSizeOptions *sipCpp = reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontUtils_AdaptFontSizeOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;

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

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontUtils::AdaptFontSizeOptions::Int() != a0->operator KFontUtils::AdaptFontSizeOptions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 7849 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFontUtils::AdaptFontSizeOptions *>(a0),sipType_KFontUtils_AdaptFontSizeOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KFontUtils_AdaptFontSizeOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_KFontUtils_AdaptFontSizeOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFontUtils::AdaptFontSizeOptions *sipCpp = reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontUtils_AdaptFontSizeOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;

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

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontUtils::AdaptFontSizeOptions::Int() == a0->operator KFontUtils::AdaptFontSizeOptions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 7889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFontUtils::AdaptFontSizeOptions *>(a0),sipType_KFontUtils_AdaptFontSizeOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KFontUtils_AdaptFontSizeOptions___invert__(PyObject *);}
static PyObject *slot_KFontUtils_AdaptFontSizeOptions___invert__(PyObject *sipSelf)
{
    KFontUtils::AdaptFontSizeOptions *sipCpp = reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontUtils_AdaptFontSizeOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KFontUtils::AdaptFontSizeOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontUtils::AdaptFontSizeOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


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

    {
        KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFontUtils_AdaptFontSizeOptions, &a0, &a0State, &a1))
        {
            KFontUtils::AdaptFontSizeOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontUtils::AdaptFontSizeOptions((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontUtils_AdaptFontSizeOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;
        KFontUtils::AdaptFontSizeOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFontUtils_AdaptFontSizeOptions, &a0, &a0State, sipType_KFontUtils_AdaptFontSizeOptions, &a1, &a1State))
        {
            KFontUtils::AdaptFontSizeOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontUtils::AdaptFontSizeOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontUtils_AdaptFontSizeOptions,a0State);
            sipReleaseType(a1,sipType_KFontUtils_AdaptFontSizeOptions,a1State);

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

    {
        KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFontUtils_AdaptFontSizeOptions, &a0, &a0State, &a1))
        {
            KFontUtils::AdaptFontSizeOptions*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFontUtils::AdaptFontSizeOptions(*a0 ^ a1);
#line 7998 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KFontUtils_AdaptFontSizeOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;
        KFontUtils::AdaptFontSizeOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFontUtils_AdaptFontSizeOptions, &a0, &a0State, sipType_KFontUtils_AdaptFontSizeOptions, &a1, &a1State))
        {
            KFontUtils::AdaptFontSizeOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontUtils::AdaptFontSizeOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontUtils_AdaptFontSizeOptions,a0State);
            sipReleaseType(a1,sipType_KFontUtils_AdaptFontSizeOptions,a1State);

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

    {
        KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFontUtils_AdaptFontSizeOptions, &a0, &a0State, &a1))
        {
            KFontUtils::AdaptFontSizeOptions*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFontUtils::AdaptFontSizeOptions(*a0 | a1);
#line 8050 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KFontUtils_AdaptFontSizeOptions,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KFontUtils_AdaptFontSizeOptions___int__(PyObject *);}
static PyObject *slot_KFontUtils_AdaptFontSizeOptions___int__(PyObject *sipSelf)
{
    KFontUtils::AdaptFontSizeOptions *sipCpp = reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontUtils_AdaptFontSizeOptions));

    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_KFontUtils_AdaptFontSizeOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KFontUtils_AdaptFontSizeOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFontUtils_AdaptFontSizeOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFontUtils::AdaptFontSizeOptions *sipCpp = reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontUtils_AdaptFontSizeOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontUtils_AdaptFontSizeOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFontUtils::AdaptFontSizeOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontUtils_AdaptFontSizeOptions,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_KFontUtils_AdaptFontSizeOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_KFontUtils_AdaptFontSizeOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFontUtils_AdaptFontSizeOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFontUtils::AdaptFontSizeOptions *sipCpp = reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontUtils_AdaptFontSizeOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontUtils_AdaptFontSizeOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFontUtils::AdaptFontSizeOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontUtils_AdaptFontSizeOptions,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_KFontUtils_AdaptFontSizeOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_KFontUtils_AdaptFontSizeOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFontUtils_AdaptFontSizeOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFontUtils::AdaptFontSizeOptions *sipCpp = reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontUtils_AdaptFontSizeOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFontUtils::AdaptFontSizeOptions::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KFontUtils_AdaptFontSizeOptions(SIP_SSIZE_T);}
static void *array_KFontUtils_AdaptFontSizeOptions(SIP_SSIZE_T sipNrElem)
{
    return new KFontUtils::AdaptFontSizeOptions[sipNrElem];
}


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


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


extern "C" {static void *init_type_KFontUtils_AdaptFontSizeOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFontUtils_AdaptFontSizeOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFontUtils::AdaptFontSizeOptions *sipCpp = 0;

    {
        const KFontUtils::AdaptFontSizeOptions* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


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

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

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFontUtils_AdaptFontSizeOption)) ||
            sipCanConvertToType(sipPy, sipType_KFontUtils_AdaptFontSizeOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFontUtils_AdaptFontSizeOption)))
{
    *sipCppPtr = new KFontUtils::AdaptFontSizeOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KFontUtils::AdaptFontSizeOptions *>(sipConvertToType(sipPy, sipType_KFontUtils_AdaptFontSizeOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 8334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFontUtils_AdaptFontSizeOptions[] = {
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___bool__, bool_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___ne__, ne_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___eq__, eq_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___invert__, invert_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___and__, and_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___xor__, xor_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___or__, or_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___int__, int_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___ixor__, ixor_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___ior__, ior_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontUtils_AdaptFontSizeOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFontUtils__AdaptFontSizeOptions,
        {0}
    },
    {
        sipNameNr_AdaptFontSizeOptions,
        {129, 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_KFontUtils_AdaptFontSizeOptions,
    init_type_KFontUtils_AdaptFontSizeOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontUtils_AdaptFontSizeOptions,
    assign_KFontUtils_AdaptFontSizeOptions,
    array_KFontUtils_AdaptFontSizeOptions,
    copy_KFontUtils_AdaptFontSizeOptions,
    release_KFontUtils_AdaptFontSizeOptions,
    0,
    convertTo_KFontUtils_AdaptFontSizeOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};


#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8411 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8414 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 107 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8417 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


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

    {
        QPainter* a0;
        const QString* a1;
        int a1State = 0;
        qreal a2;
        qreal a3;
        qreal a4 = 28;
        qreal a5 = 1;
        KFontUtils::AdaptFontSizeOptions a6def = KFontUtils::NoFlags;
        KFontUtils::AdaptFontSizeOptions* a6 = &a6def;
        int a6State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1dd|ddJ1", sipType_QPainter, &a0, sipType_QString,&a1, &a1State, &a2, &a3, &a4, &a5, sipType_KFontUtils_AdaptFontSizeOptions, &a6, &a6State))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFontUtils::adaptFontSize(*a0,*a1,a2,a3,a4,a5,*a6);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a6,sipType_KFontUtils_AdaptFontSizeOptions,a6State);

            return PyFloat_FromDouble(sipRes);
        }
    }

    {
        QPainter* a0;
        const QString* a1;
        int a1State = 0;
        const QSizeF* a2;
        qreal a3 = 28;
        qreal a4 = 1;
        KFontUtils::AdaptFontSizeOptions a5def = KFontUtils::NoFlags;
        KFontUtils::AdaptFontSizeOptions* a5 = &a5def;
        int a5State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1J9|ddJ1", sipType_QPainter, &a0, sipType_QString,&a1, &a1State, sipType_QSizeF, &a2, &a3, &a4, sipType_KFontUtils_AdaptFontSizeOptions, &a5, &a5State))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFontUtils::adaptFontSize(*a0,*a1,*a2,a3,a4,*a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a5,sipType_KFontUtils_AdaptFontSizeOptions,a5State);

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


static PyMethodDef methods_KFontUtils[] = {
    {SIP_MLNAME_CAST(sipName_adaptFontSize), meth_KFontUtils_adaptFontSize, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFontUtils[] = {
    {sipName_DoNotAllowWordWrap, static_cast<int>(KFontUtils::DoNotAllowWordWrap), 130},
    {sipName_NoFlags, static_cast<int>(KFontUtils::NoFlags), 130},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontUtils = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KFontUtils,
        {0}
    },
    {
        sipNameNr_KFontUtils,
        {0, 0, 1},
        1, methods_KFontUtils,
        2, enummembers_KFontUtils,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontsizeaction.sip"
#include <kfontsizeaction.h>
#line 8548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8552 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8555 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 8558 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 8561 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8564 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8567 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8570 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 8573 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8576 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8579 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 8582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 8585 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kselectaction.sip"
#include <kselectaction.h>
#line 8588 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 8591 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8594 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 8597 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 8600 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 8603 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 8606 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8609 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8612 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8615 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8618 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8621 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 8624 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 8627 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 8630 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8633 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8636 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8639 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8642 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8645 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8648 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8651 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8654 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


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

    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:
    sipKFontSizeAction(const sipKFontSizeAction &);
    sipKFontSizeAction &operator = (const sipKFontSizeAction &);

    char sipPyMethods[12];
};

sipKFontSizeAction::sipKFontSizeAction(QObject*a0): KFontSizeAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

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

const QMetaObject *sipKFontSizeAction::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFontSizeAction);
}

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

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

    return _id;
}

void *sipKFontSizeAction::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFontSizeAction, _clname)) ? this : KFontSizeAction::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        KFontSizeAction::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 sipKFontSizeAction::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontSizeAction::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 sipKFontSizeAction::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontSizeAction::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 sipKFontSizeAction::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontSizeAction::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 sipKFontSizeAction::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontSizeAction::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 sipKFontSizeAction::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontSizeAction::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 sipKFontSizeAction::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontSizeAction::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 sipKFontSizeAction::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontSizeAction::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* sipKFontSizeAction::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
        KFontSizeAction::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_KFontSizeAction_fontSize(PyObject *, PyObject *);}
static PyObject *meth_KFontSizeAction_fontSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFontSizeAction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fontSize();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KFontSizeAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KFontSizeAction, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFontSize(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_KFontSizeAction, sipName_setFontSize, NULL);

    return NULL;
}


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

    {
        QAction* a0;
        KFontSizeAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFontSizeAction, &sipCpp, sipType_QAction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFontSizeAction::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_KFontSizeAction, sipName_actionTriggered, NULL);

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFontSizeAction(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 sipKFontSizeAction(*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 sipKFontSizeAction(*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_KFontSizeAction[] = {{265, 255, 1}};


static PyMethodDef methods_KFontSizeAction[] = {
    {SIP_MLNAME_CAST(sipName_actionTriggered), meth_KFontSizeAction_actionTriggered, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontSize), meth_KFontSizeAction_fontSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFontSize), meth_KFontSizeAction_setFontSize, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontSizeAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontSizeAction,
        {0}
    },
    {
        sipNameNr_KFontSizeAction,
        {0, 0, 1},
        3, methods_KFontSizeAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFontSizeAction,
    0,
    init_type_KFontSizeAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontSizeAction,
    0,
    0,
    0,
    release_KFontSizeAction,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFontSizeAction::staticMetaObject,
    0,
    signals_KFontSizeAction,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontrequester.sip"
#include <kfontrequester.h>
#line 9188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9192 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 9195 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9198 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 9201 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlabel.sip"
#include <qlabel.h>
#line 9204 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9207 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 9210 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9213 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9216 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 9219 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 9222 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9225 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 9228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 9234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 9240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9243 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 9246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 9249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 9252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 9255 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 9261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9303 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9309 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9318 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9321 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 9324 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 9327 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 9330 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9333 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 9336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 9339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 9342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 9348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 9351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 9354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 9357 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 9360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKFontRequester : public KFontRequester
{
public:
    sipKFontRequester(QWidget*,bool);
    virtual ~sipKFontRequester();

    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;
    void setTitle(const QString&);
    void setSampleText(const QString&);
    void setFont(const QFont&,bool);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[50];
};

sipKFontRequester::sipKFontRequester(QWidget*a0,bool a1): KFontRequester(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKFontRequester::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFontRequester);
}

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

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

    return _id;
}

void *sipKFontRequester::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFontRequester, _clname)) ? this : KFontRequester::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontRequester::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 sipKFontRequester::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontRequester::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 sipKFontRequester::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 KFontRequester::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 sipKFontRequester::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::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 KFontRequester::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 sipKFontRequester::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontRequester::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* sipKFontRequester::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontRequester::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 sipKFontRequester::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 KFontRequester::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 sipKFontRequester::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontRequester::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 sipKFontRequester::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontRequester::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 sipKFontRequester::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::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 sipKFontRequester::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontRequester::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 sipKFontRequester::setTitle(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::setTitle(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 sipKFontRequester::setSampleText(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::setSampleText(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 sipKFontRequester::setFont(const QFont& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontRequester::setFont(a0,a1);
        return;
    }

    extern void sipVH_kdeui_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&,bool);

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


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

    {
        const KFontRequester *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(sipCpp->font());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFontRequester *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isFixedOnly();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KFontRequester *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KFontRequester *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KFontRequester *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->label();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KFontRequester *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->button();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QFont* a0;
        bool a1 = 0;
        KFontRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KFontRequester, &sipCpp, sipType_QFont, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFontRequester::setFont(*a0,a1) : sipCpp->setFont(*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_KFontRequester, sipName_setFont, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFontRequester, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFontRequester::setSampleText(*a0) : sipCpp->setSampleText(*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_KFontRequester, sipName_setSampleText, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFontRequester, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFontRequester::setTitle(*a0) : sipCpp->setTitle(*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_KFontRequester, sipName_setTitle, NULL);

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0 = 0;
        bool a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KFontRequester[] = {
    {SIP_MLNAME_CAST(sipName_button), meth_KFontRequester_button, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_font), meth_KFontRequester_font, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isFixedOnly), meth_KFontRequester_isFixedOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_KFontRequester_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sampleText), meth_KFontRequester_sampleText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFont), meth_KFontRequester_setFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSampleText), meth_KFontRequester_setSampleText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_KFontRequester_setTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_KFontRequester_title, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontRequester = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontRequester,
        {0}
    },
    {
        sipNameNr_KFontRequester,
        {0, 0, 1},
        9, methods_KFontRequester,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFontRequester,
    0,
    init_type_KFontRequester,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontRequester,
    0,
    0,
    0,
    release_KFontRequester,
    cast_KFontRequester,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFontRequester::staticMetaObject,
    0,
    signals_KFontRequester,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontdialog.sip"
#include <kfontdialog.h>
#line 10762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 10769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10775 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 10778 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10781 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 10784 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10787 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10790 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10793 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 10796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 10802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 10805 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 10808 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 10811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 10814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 10817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 10820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 10823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 10826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 10829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10844 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 10850 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10853 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 10856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 10859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10862 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 10865 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 10868 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 10871 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10874 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10877 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10880 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 10883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 10886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 10892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 10934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 10937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 10940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 10946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 10949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 10955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 10958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 10961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 10964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 10967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKFontDialog : public KFontDialog
{
public:
    sipKFontDialog(QWidget*,const KFontChooser::DisplayFlags&,const QStringList&,Qt::CheckState*);
    virtual ~sipKFontDialog();

    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:
    sipKFontDialog(const sipKFontDialog &);
    sipKFontDialog &operator = (const sipKFontDialog &);

    char sipPyMethods[54];
};

sipKFontDialog::sipKFontDialog(QWidget*a0,const KFontChooser::DisplayFlags& a1,const QStringList& a2,Qt::CheckState*a3): KFontDialog(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKFontDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFontDialog);
}

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

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

    return _id;
}

void *sipKFontDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFontDialog, _clname)) ? this : KFontDialog::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontDialog::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 sipKFontDialog::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 KFontDialog::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 sipKFontDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::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 KFontDialog::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 sipKFontDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontDialog::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* sipKFontDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontDialog::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 sipKFontDialog::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 KFontDialog::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 sipKFontDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontDialog::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 sipKFontDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontDialog::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 sipKFontDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KFontDialog::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 sipKFontDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontDialog::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 sipKFontDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KFontDialog::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_KFontDialog_setFont(PyObject *, PyObject *);}
static PyObject *meth_KFontDialog_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        bool a1 = 0;
        KFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KFontDialog, &sipCpp, sipType_QFont, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFont(*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_KFontDialog, sipName_setFont, NULL);

    return NULL;
}


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

    {
        const KFontDialog *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(sipCpp->font());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Qt::CheckState a0;
        KFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KFontDialog, &sipCpp, sipType_Qt_CheckState, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSizeIsRelative(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_KFontDialog, sipName_setSizeIsRelative, NULL);

    return NULL;
}


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

    {
        const KFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontDialog, &sipCpp))
        {
            Qt::CheckState sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sizeIsRelative();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_CheckState);
        }
    }

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

    return NULL;
}


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

    {
        QFont* a0;
        const KFontChooser::DisplayFlags& a1def = KFontChooser::NoDisplayFlags;
        const KFontChooser::DisplayFlags* a1 = &a1def;
        int a1State = 0;
        QWidget* a2 = 0;
        Qt::CheckState a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J1J:", sipType_QFont, &a0, sipType_KFontChooser_DisplayFlags, &a1, &a1State, sipType_QWidget, &a2))
        {
            PyObject * sipRes = 0;

#line 44 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontdialog.sip"
int result;
    Py_BEGIN_ALLOW_THREADS
    result = KFontDialog::getFont (*a0, *a1, a2, &a3);
    Py_END_ALLOW_THREADS
#if PY_MAJOR_VERSION >= 3
    sipRes = PyLong_FromLong (result);
#else
    sipRes = PyInt_FromLong (result);
#endif
#line 12180 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFontChooser::DisplayFlags *>(a1),sipType_KFontChooser_DisplayFlags,a1State);

            return sipBuildResult(0,"(RF)",sipRes,a3,sipType_Qt_CheckState);
        }
    }

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

    return NULL;
}


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

    {
        QFont* a0;
        KFontChooser::FontDiffFlags* a1;
        int a1State = 0;
        const KFontChooser::DisplayFlags& a2def = KFontChooser::NoDisplayFlags;
        const KFontChooser::DisplayFlags* a2 = &a2def;
        int a2State = 0;
        QWidget* a3 = 0;
        Qt::CheckState a4 = Qt::Unchecked;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1|J1J:E", sipType_QFont, &a0, sipType_KFontChooser_FontDiffFlags, &a1, &a1State, sipType_KFontChooser_DisplayFlags, &a2, &a2State, sipType_QWidget, &a3, sipType_Qt_CheckState, &a4))
        {
            PyObject * sipRes = 0;

#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontdialog.sip"
int result;
    Py_BEGIN_ALLOW_THREADS
    result = KFontDialog::getFontDiff (*a0, *a1, *a2, a3, &a4);
    Py_END_ALLOW_THREADS

#if PY_MAJOR_VERSION >= 3
    sipRes = PyLong_FromLong (result);
#else
    sipRes = PyInt_FromLong (result);
#endif
#line 12224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a1,sipType_KFontChooser_FontDiffFlags,a1State);
            sipReleaseType(const_cast<KFontChooser::DisplayFlags *>(a2),sipType_KFontChooser_DisplayFlags,a2State);

            return sipRes;
        }
    }

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

    return NULL;
}


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

    {
        QFont* a0;
        QString* a1;
        int a1State = 0;
        const KFontChooser::DisplayFlags& a2def = KFontChooser::NoDisplayFlags;
        const KFontChooser::DisplayFlags* a2 = &a2def;
        int a2State = 0;
        QWidget* a3 = 0;
        Qt::CheckState a4 = Qt::Unchecked;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1|J1J:E", sipType_QFont, &a0, sipType_QString,&a1, &a1State, sipType_KFontChooser_DisplayFlags, &a2, &a2State, sipType_QWidget, &a3, sipType_Qt_CheckState, &a4))
        {
            PyObject * sipRes = 0;

#line 71 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontdialog.sip"
int result;
    Py_BEGIN_ALLOW_THREADS
    result = KFontDialog::getFontAndText (*a0, *a1, *a2, a3, &a4);
    Py_END_ALLOW_THREADS

#if PY_MAJOR_VERSION >= 3
    sipRes = PyLong_FromLong (result);
#else
    sipRes = PyInt_FromLong (result);
#endif
#line 12269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(const_cast<KFontChooser::DisplayFlags *>(a2),sipType_KFontChooser_DisplayFlags,a2State);

            return sipRes;
        }
    }

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

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0 = 0;
        const KFontChooser::DisplayFlags& a1def = KFontChooser::NoDisplayFlags;
        const KFontChooser::DisplayFlags* a1 = &a1def;
        int a1State = 0;
        const QStringList& a2def = QStringList();
        const QStringList* a2 = &a2def;
        int a2State = 0;
        Qt::CheckState a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1J1", sipType_QWidget, &a0, sipOwner, sipType_KFontChooser_DisplayFlags, &a1, &a1State, sipType_QStringList,&a2, &a2State))
        {
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontdialog.sip"
Py_BEGIN_ALLOW_THREADS
    sipCpp= new sipKFontDialog (a0, *a1, *a2, &a3);
    Py_END_ALLOW_THREADS
#line 12348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFontChooser::DisplayFlags *>(a1),sipType_KFontChooser_DisplayFlags,a1State);
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KFontDialog[] = {
    {SIP_MLNAME_CAST(sipName_font), meth_KFontDialog_font, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getFont), meth_KFontDialog_getFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getFontAndText), meth_KFontDialog_getFontAndText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getFontDiff), meth_KFontDialog_getFontDiff, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFont), meth_KFontDialog_setFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSizeIsRelative), meth_KFontDialog_setSizeIsRelative, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeIsRelative), meth_KFontDialog_sizeIsRelative, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontDialog,
        {0}
    },
    {
        sipNameNr_KFontDialog,
        {0, 0, 1},
        7, methods_KFontDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFontDialog,
    0,
    init_type_KFontDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontDialog,
    0,
    0,
    0,
    release_KFontDialog,
    cast_KFontDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFontDialog::staticMetaObject,
    0,
    signals_KFontDialog,
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontcombobox.sip"
#include <kfontcombobox.h>
#line 12439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 12449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 12452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 12464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 12467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 12470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 12473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 12476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 12485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 12488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 1580 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 12524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 12527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 12530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 12539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 12542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 12545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 12554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 12560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 12563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 12569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 12572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 12575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 12581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 12587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 12590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 12593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 12599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 12626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 12629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 12632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 12638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 12641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 12644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 12650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 12653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 12656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 12659 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12662 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12665 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12668 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12671 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12674 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12677 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12680 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 12683 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 12686 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 12689 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKFontComboBox : public KFontComboBox
{
public:
    sipKFontComboBox(QWidget*);
    virtual ~sipKFontComboBox();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[62];
};

sipKFontComboBox::sipKFontComboBox(QWidget*a0): KFontComboBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFontComboBox::~sipKFontComboBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFontComboBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFontComboBox);
}

int sipKFontComboBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFontComboBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KFontComboBox,_c,_id,_a);

    return _id;
}

void *sipKFontComboBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFontComboBox, _clname)) ? this : KFontComboBox::qt_metacast(_clname);
}

void sipKFontComboBox::setCompletedItems(const QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setCompletedItems);

    if (!sipMeth)
    {
        KFontComboBox::setCompletedItems(a0,a1);
        return;
    }

    extern void sipVH_kdeui_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStringList&,bool);

    sipVH_kdeui_82(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFontComboBox::setCompletionMode(KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
        KFontComboBox::setCompletionMode(a0);
        return;
    }

    extern void sipVH_kdeui_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KGlobalSettings::Completion);

    sipVH_kdeui_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_setHandleSignals);

    if (!sipMeth)
    {
        KFontComboBox::setHandleSignals(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::setCompletionObject(KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setCompletionObject);

    if (!sipMeth)
    {
        KFontComboBox::setCompletionObject(a0,a1);
        return;
    }

    extern void sipVH_kdeui_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KCompletion*,bool);

    sipVH_kdeui_69(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFontComboBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFontComboBox::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 sipKFontComboBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFontComboBox::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);
}

int sipKFontComboBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KFontComboBox::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 sipKFontComboBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFontComboBox::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* sipKFontComboBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFontComboBox::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 sipKFontComboBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KFontComboBox::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 sipKFontComboBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFontComboBox::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);
}

QVariant sipKFontComboBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KFontComboBox::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 sipKFontComboBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFontComboBox::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);
}

void sipKFontComboBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_hidePopup);

    if (!sipMeth)
    {
        KFontComboBox::hidePopup();
        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 sipKFontComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
        KFontComboBox::showPopup();
        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);
}

QSize sipKFontComboBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFontComboBox::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 sipKFontComboBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFontComboBox::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 sipKFontComboBox::create(WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
    {
        KFontComboBox::create(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, unsigned long,bool,bool);

    sipVH_kdeui_68(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFontComboBox::setCompletedText(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
        KFontComboBox::setCompletedText(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 sipKFontComboBox::makeCompletion(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
    {
        KFontComboBox::makeCompletion(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 sipKFontComboBox::setCompletedText(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
        KFontComboBox::setCompletedText(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 sipKFontComboBox::setLineEdit(QLineEdit*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setLineEdit);

    if (!sipMeth)
    {
        KFontComboBox::setLineEdit(a0);
        return;
    }

    extern void sipVH_kdeui_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLineEdit*);

    sipVH_kdeui_86(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFontComboBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFontComboBox::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 sipKFontComboBox::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!sipMeth)
    {
        KFontComboBox::setContextMenuEnabled(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::setAutoCompletion(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setAutoCompletion);

    if (!sipMeth)
    {
        KFontComboBox::setAutoCompletion(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKFontComboBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFontComboBox::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_KFontComboBox_setOnlyFixed(PyObject *, PyObject *);}
static PyObject *meth_KFontComboBox_setOnlyFixed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFontComboBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOnlyFixed(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_KFontComboBox, sipName_setOnlyFixed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontComboBox_currentFont(PyObject *, PyObject *);}
static PyObject *meth_KFontComboBox_currentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontComboBox, &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_KFontComboBox, sipName_currentFont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontComboBox_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KFontComboBox_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontComboBox, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KFontComboBox::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_KFontComboBox, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontComboBox_setCurrentFont(PyObject *, PyObject *);}
static PyObject *meth_KFontComboBox_setCurrentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        KFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFontComboBox, &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_KFontComboBox, sipName_setCurrentFont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontComboBox_event(PyObject *, PyObject *);}
static PyObject *meth_KFontComboBox_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFontComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFontComboBox::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_KFontComboBox, sipName_event, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KFontComboBox(void *, const sipTypeDef *);}
static void *cast_KFontComboBox(void *sipCppV, const sipTypeDef *targetType)
{
    KFontComboBox *sipCpp = reinterpret_cast<KFontComboBox *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    if (targetType == sipType_KCompletionBase)
        return static_cast<KCompletionBase *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFontComboBox(void *, int);}
static void release_KFontComboBox(void *sipCppV,int)
{
    KFontComboBox *sipCpp = reinterpret_cast<KFontComboBox *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFontComboBox(sipSimpleWrapper *);}
static void dealloc_KFontComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFontComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFontComboBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFontComboBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFontComboBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFontComboBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFontComboBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFontComboBox[] = {{58, 255, 1}};


static PyMethodDef methods_KFontComboBox[] = {
    {SIP_MLNAME_CAST(sipName_currentFont), meth_KFontComboBox_currentFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KFontComboBox_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentFont), meth_KFontComboBox_setCurrentFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOnlyFixed), meth_KFontComboBox_setOnlyFixed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KFontComboBox_sizeHint, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFontComboBox[] = {
    {"currentFontChanged(QFont)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontComboBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontComboBox,
        {0}
    },
    {
        sipNameNr_KFontComboBox,
        {0, 0, 1},
        5, methods_KFontComboBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFontComboBox,
    0,
    init_type_KFontComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontComboBox,
    0,
    0,
    0,
    release_KFontComboBox,
    cast_KFontComboBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFontComboBox::staticMetaObject,
    0,
    signals_KFontComboBox,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 14142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 14146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


extern "C" {static int slot_KFontChooser_DisplayFlags___bool__(PyObject *);}
static int slot_KFontChooser_DisplayFlags___bool__(PyObject *sipSelf)
{
    KFontChooser::DisplayFlags *sipCpp = reinterpret_cast<KFontChooser::DisplayFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_DisplayFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontChooser::DisplayFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 14168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFontChooser_DisplayFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFontChooser::DisplayFlags *sipCpp = reinterpret_cast<KFontChooser::DisplayFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_DisplayFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFontChooser::DisplayFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontChooser_DisplayFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontChooser::DisplayFlags::Int() != a0->operator KFontChooser::DisplayFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 14202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFontChooser::DisplayFlags *>(a0),sipType_KFontChooser_DisplayFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KFontChooser_DisplayFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFontChooser_DisplayFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFontChooser::DisplayFlags *sipCpp = reinterpret_cast<KFontChooser::DisplayFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_DisplayFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFontChooser::DisplayFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontChooser_DisplayFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontChooser::DisplayFlags::Int() == a0->operator KFontChooser::DisplayFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 14242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFontChooser::DisplayFlags *>(a0),sipType_KFontChooser_DisplayFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KFontChooser_DisplayFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFontChooser_DisplayFlags___invert__(PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___invert__(PyObject *sipSelf)
{
    KFontChooser::DisplayFlags *sipCpp = reinterpret_cast<KFontChooser::DisplayFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_DisplayFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KFontChooser::DisplayFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontChooser::DisplayFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_DisplayFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFontChooser_DisplayFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFontChooser::DisplayFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFontChooser_DisplayFlags, &a0, &a0State, &a1))
        {
            KFontChooser::DisplayFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontChooser::DisplayFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_DisplayFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_DisplayFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFontChooser_DisplayFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFontChooser::DisplayFlags* a0;
        int a0State = 0;
        KFontChooser::DisplayFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFontChooser_DisplayFlags, &a0, &a0State, sipType_KFontChooser_DisplayFlags, &a1, &a1State))
        {
            KFontChooser::DisplayFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontChooser::DisplayFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_DisplayFlags,a0State);
            sipReleaseType(a1,sipType_KFontChooser_DisplayFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_DisplayFlags,NULL);
        }
    }

    {
        KFontChooser::DisplayFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFontChooser_DisplayFlags, &a0, &a0State, &a1))
        {
            KFontChooser::DisplayFlags*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFontChooser::DisplayFlags(*a0 ^ a1);
#line 14351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KFontChooser_DisplayFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_DisplayFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFontChooser_DisplayFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFontChooser::DisplayFlags* a0;
        int a0State = 0;
        KFontChooser::DisplayFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFontChooser_DisplayFlags, &a0, &a0State, sipType_KFontChooser_DisplayFlags, &a1, &a1State))
        {
            KFontChooser::DisplayFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontChooser::DisplayFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_DisplayFlags,a0State);
            sipReleaseType(a1,sipType_KFontChooser_DisplayFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_DisplayFlags,NULL);
        }
    }

    {
        KFontChooser::DisplayFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFontChooser_DisplayFlags, &a0, &a0State, &a1))
        {
            KFontChooser::DisplayFlags*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFontChooser::DisplayFlags(*a0 | a1);
#line 14403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KFontChooser_DisplayFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_DisplayFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFontChooser_DisplayFlags___int__(PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___int__(PyObject *sipSelf)
{
    KFontChooser::DisplayFlags *sipCpp = reinterpret_cast<KFontChooser::DisplayFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_DisplayFlags));

    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_KFontChooser_DisplayFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFontChooser_DisplayFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFontChooser::DisplayFlags *sipCpp = reinterpret_cast<KFontChooser::DisplayFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_DisplayFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFontChooser::DisplayFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontChooser_DisplayFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFontChooser::DisplayFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_DisplayFlags,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_KFontChooser_DisplayFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFontChooser_DisplayFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFontChooser::DisplayFlags *sipCpp = reinterpret_cast<KFontChooser::DisplayFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_DisplayFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFontChooser::DisplayFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontChooser_DisplayFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFontChooser::DisplayFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_DisplayFlags,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_KFontChooser_DisplayFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFontChooser_DisplayFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFontChooser::DisplayFlags *sipCpp = reinterpret_cast<KFontChooser::DisplayFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_DisplayFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFontChooser::DisplayFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFontChooser_DisplayFlags(void *, int);}
static void release_KFontChooser_DisplayFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFontChooser::DisplayFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFontChooser_DisplayFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KFontChooser_DisplayFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFontChooser::DisplayFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFontChooser::DisplayFlags *>(sipSrc);
}


extern "C" {static void *array_KFontChooser_DisplayFlags(SIP_SSIZE_T);}
static void *array_KFontChooser_DisplayFlags(SIP_SSIZE_T sipNrElem)
{
    return new KFontChooser::DisplayFlags[sipNrElem];
}


extern "C" {static void *copy_KFontChooser_DisplayFlags(const void *, SIP_SSIZE_T);}
static void *copy_KFontChooser_DisplayFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFontChooser::DisplayFlags(reinterpret_cast<const KFontChooser::DisplayFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFontChooser_DisplayFlags(sipSimpleWrapper *);}
static void dealloc_KFontChooser_DisplayFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFontChooser_DisplayFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFontChooser_DisplayFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFontChooser_DisplayFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFontChooser::DisplayFlags *sipCpp = 0;

    {
        const KFontChooser::DisplayFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KFontChooser_DisplayFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFontChooser::DisplayFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KFontChooser::DisplayFlags *>(a0),sipType_KFontChooser_DisplayFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFontChooser::DisplayFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFontChooser::DisplayFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KFontChooser_DisplayFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KFontChooser_DisplayFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KFontChooser::DisplayFlags **sipCppPtr = reinterpret_cast<KFontChooser::DisplayFlags **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KFontChooser::DisplayFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFontChooser_DisplayFlag)) ||
            sipCanConvertToType(sipPy, sipType_KFontChooser_DisplayFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFontChooser_DisplayFlag)))
{
    *sipCppPtr = new KFontChooser::DisplayFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KFontChooser::DisplayFlags *>(sipConvertToType(sipPy, sipType_KFontChooser_DisplayFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 14687 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFontChooser_DisplayFlags[] = {
    {(void *)slot_KFontChooser_DisplayFlags___bool__, bool_slot},
    {(void *)slot_KFontChooser_DisplayFlags___ne__, ne_slot},
    {(void *)slot_KFontChooser_DisplayFlags___eq__, eq_slot},
    {(void *)slot_KFontChooser_DisplayFlags___invert__, invert_slot},
    {(void *)slot_KFontChooser_DisplayFlags___and__, and_slot},
    {(void *)slot_KFontChooser_DisplayFlags___xor__, xor_slot},
    {(void *)slot_KFontChooser_DisplayFlags___or__, or_slot},
    {(void *)slot_KFontChooser_DisplayFlags___int__, int_slot},
    {(void *)slot_KFontChooser_DisplayFlags___ixor__, ixor_slot},
    {(void *)slot_KFontChooser_DisplayFlags___ior__, ior_slot},
    {(void *)slot_KFontChooser_DisplayFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontChooser_DisplayFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFontChooser__DisplayFlags,
        {0}
    },
    {
        sipNameNr_DisplayFlags,
        {118, 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_KFontChooser_DisplayFlags,
    init_type_KFontChooser_DisplayFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontChooser_DisplayFlags,
    assign_KFontChooser_DisplayFlags,
    array_KFontChooser_DisplayFlags,
    copy_KFontChooser_DisplayFlags,
    release_KFontChooser_DisplayFlags,
    0,
    convertTo_KFontChooser_DisplayFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 14763 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 14767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


extern "C" {static int slot_KFontChooser_FontDiffFlags___bool__(PyObject *);}
static int slot_KFontChooser_FontDiffFlags___bool__(PyObject *sipSelf)
{
    KFontChooser::FontDiffFlags *sipCpp = reinterpret_cast<KFontChooser::FontDiffFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_FontDiffFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontChooser::FontDiffFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 14789 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFontChooser_FontDiffFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFontChooser::FontDiffFlags *sipCpp = reinterpret_cast<KFontChooser::FontDiffFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_FontDiffFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFontChooser::FontDiffFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontChooser_FontDiffFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontChooser::FontDiffFlags::Int() != a0->operator KFontChooser::FontDiffFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 14823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFontChooser::FontDiffFlags *>(a0),sipType_KFontChooser_FontDiffFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KFontChooser_FontDiffFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFontChooser_FontDiffFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFontChooser::FontDiffFlags *sipCpp = reinterpret_cast<KFontChooser::FontDiffFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_FontDiffFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFontChooser::FontDiffFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontChooser_FontDiffFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontChooser::FontDiffFlags::Int() == a0->operator KFontChooser::FontDiffFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 14863 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFontChooser::FontDiffFlags *>(a0),sipType_KFontChooser_FontDiffFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KFontChooser_FontDiffFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFontChooser_FontDiffFlags___invert__(PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___invert__(PyObject *sipSelf)
{
    KFontChooser::FontDiffFlags *sipCpp = reinterpret_cast<KFontChooser::FontDiffFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_FontDiffFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KFontChooser::FontDiffFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontChooser::FontDiffFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_FontDiffFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFontChooser_FontDiffFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFontChooser::FontDiffFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFontChooser_FontDiffFlags, &a0, &a0State, &a1))
        {
            KFontChooser::FontDiffFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontChooser::FontDiffFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_FontDiffFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_FontDiffFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFontChooser_FontDiffFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFontChooser::FontDiffFlags* a0;
        int a0State = 0;
        KFontChooser::FontDiffFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFontChooser_FontDiffFlags, &a0, &a0State, sipType_KFontChooser_FontDiffFlags, &a1, &a1State))
        {
            KFontChooser::FontDiffFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontChooser::FontDiffFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_FontDiffFlags,a0State);
            sipReleaseType(a1,sipType_KFontChooser_FontDiffFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_FontDiffFlags,NULL);
        }
    }

    {
        KFontChooser::FontDiffFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFontChooser_FontDiffFlags, &a0, &a0State, &a1))
        {
            KFontChooser::FontDiffFlags*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFontChooser::FontDiffFlags(*a0 ^ a1);
#line 14972 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KFontChooser_FontDiffFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_FontDiffFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFontChooser_FontDiffFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFontChooser::FontDiffFlags* a0;
        int a0State = 0;
        KFontChooser::FontDiffFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFontChooser_FontDiffFlags, &a0, &a0State, sipType_KFontChooser_FontDiffFlags, &a1, &a1State))
        {
            KFontChooser::FontDiffFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontChooser::FontDiffFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_FontDiffFlags,a0State);
            sipReleaseType(a1,sipType_KFontChooser_FontDiffFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_FontDiffFlags,NULL);
        }
    }

    {
        KFontChooser::FontDiffFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFontChooser_FontDiffFlags, &a0, &a0State, &a1))
        {
            KFontChooser::FontDiffFlags*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFontChooser::FontDiffFlags(*a0 | a1);
#line 15024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KFontChooser_FontDiffFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_FontDiffFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFontChooser_FontDiffFlags___int__(PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___int__(PyObject *sipSelf)
{
    KFontChooser::FontDiffFlags *sipCpp = reinterpret_cast<KFontChooser::FontDiffFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_FontDiffFlags));

    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_KFontChooser_FontDiffFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFontChooser_FontDiffFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFontChooser::FontDiffFlags *sipCpp = reinterpret_cast<KFontChooser::FontDiffFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_FontDiffFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFontChooser::FontDiffFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontChooser_FontDiffFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFontChooser::FontDiffFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_FontDiffFlags,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_KFontChooser_FontDiffFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFontChooser_FontDiffFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFontChooser::FontDiffFlags *sipCpp = reinterpret_cast<KFontChooser::FontDiffFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_FontDiffFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFontChooser::FontDiffFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFontChooser_FontDiffFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFontChooser::FontDiffFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFontChooser_FontDiffFlags,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_KFontChooser_FontDiffFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFontChooser_FontDiffFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFontChooser::FontDiffFlags *sipCpp = reinterpret_cast<KFontChooser::FontDiffFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFontChooser_FontDiffFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFontChooser::FontDiffFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFontChooser_FontDiffFlags(void *, int);}
static void release_KFontChooser_FontDiffFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFontChooser::FontDiffFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFontChooser_FontDiffFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KFontChooser_FontDiffFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFontChooser::FontDiffFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFontChooser::FontDiffFlags *>(sipSrc);
}


extern "C" {static void *array_KFontChooser_FontDiffFlags(SIP_SSIZE_T);}
static void *array_KFontChooser_FontDiffFlags(SIP_SSIZE_T sipNrElem)
{
    return new KFontChooser::FontDiffFlags[sipNrElem];
}


extern "C" {static void *copy_KFontChooser_FontDiffFlags(const void *, SIP_SSIZE_T);}
static void *copy_KFontChooser_FontDiffFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFontChooser::FontDiffFlags(reinterpret_cast<const KFontChooser::FontDiffFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFontChooser_FontDiffFlags(sipSimpleWrapper *);}
static void dealloc_KFontChooser_FontDiffFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFontChooser_FontDiffFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFontChooser_FontDiffFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFontChooser_FontDiffFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFontChooser::FontDiffFlags *sipCpp = 0;

    {
        const KFontChooser::FontDiffFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KFontChooser_FontDiffFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFontChooser::FontDiffFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KFontChooser::FontDiffFlags *>(a0),sipType_KFontChooser_FontDiffFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFontChooser::FontDiffFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFontChooser::FontDiffFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KFontChooser_FontDiffFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KFontChooser_FontDiffFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KFontChooser::FontDiffFlags **sipCppPtr = reinterpret_cast<KFontChooser::FontDiffFlags **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KFontChooser::FontDiffFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFontChooser_FontDiff)) ||
            sipCanConvertToType(sipPy, sipType_KFontChooser_FontDiffFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFontChooser_FontDiff)))
{
    *sipCppPtr = new KFontChooser::FontDiffFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KFontChooser::FontDiffFlags *>(sipConvertToType(sipPy, sipType_KFontChooser_FontDiffFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 15308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFontChooser_FontDiffFlags[] = {
    {(void *)slot_KFontChooser_FontDiffFlags___bool__, bool_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___ne__, ne_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___eq__, eq_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___invert__, invert_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___and__, and_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___xor__, xor_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___or__, or_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___int__, int_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___ixor__, ixor_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___ior__, ior_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontChooser_FontDiffFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFontChooser__FontDiffFlags,
        {0}
    },
    {
        sipNameNr_FontDiffFlags,
        {118, 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_KFontChooser_FontDiffFlags,
    init_type_KFontChooser_FontDiffFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontChooser_FontDiffFlags,
    assign_KFontChooser_FontDiffFlags,
    array_KFontChooser_FontDiffFlags,
    copy_KFontChooser_FontDiffFlags,
    release_KFontChooser_FontDiffFlags,
    0,
    convertTo_KFontChooser_FontDiffFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 15384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 15391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 15400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 15403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 15409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 15412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 15418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 15424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 15427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 15433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 15439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 15445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 15451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 15454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15457 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15460 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15466 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15517 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 15526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 15529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 15532 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 15538 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 15541 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15544 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 15556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 15559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15562 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15565 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 15580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKFontChooser : public KFontChooser
{
public:
    sipKFontChooser(QWidget*,const KFontChooser::DisplayFlags&,const QStringList&,int,Qt::CheckState*);
    virtual ~sipKFontChooser();

    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:
    sipKFontChooser(const sipKFontChooser &);
    sipKFontChooser &operator = (const sipKFontChooser &);

    char sipPyMethods[47];
};

sipKFontChooser::sipKFontChooser(QWidget*a0,const KFontChooser::DisplayFlags& a1,const QStringList& a2,int a3,Qt::CheckState*a4): KFontChooser(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFontChooser::~sipKFontChooser()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFontChooser::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFontChooser);
}

int sipKFontChooser::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFontChooser::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KFontChooser,_c,_id,_a);

    return _id;
}

void *sipKFontChooser::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFontChooser, _clname)) ? this : KFontChooser::qt_metacast(_clname);
}

void sipKFontChooser::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFontChooser::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 sipKFontChooser::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFontChooser::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 sipKFontChooser::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 KFontChooser::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 sipKFontChooser::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::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 KFontChooser::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 sipKFontChooser::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFontChooser::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* sipKFontChooser::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFontChooser::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 sipKFontChooser::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 KFontChooser::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 sipKFontChooser::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFontChooser::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 sipKFontChooser::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFontChooser::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 sipKFontChooser::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFontChooser::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 sipKFontChooser::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFontChooser::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_KFontChooser_enableColumn(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_enableColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_KFontChooser, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableColumn(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_KFontChooser, sipName_enableColumn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_setFont(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        bool a1 = 0;
        KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|b", &sipSelf, sipType_KFontChooser, &sipCpp, sipType_QFont, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFont(*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_KFontChooser, sipName_setFont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_fontDiffFlags(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_fontDiffFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontChooser, &sipCpp))
        {
            KFontChooser::FontDiffFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFontChooser::FontDiffFlags(sipCpp->fontDiffFlags());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFontChooser_FontDiffFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFontChooser, sipName_fontDiffFlags, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_font(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontChooser, &sipCpp))
        {
            QFont*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(sipCpp->font());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFontChooser, sipName_font, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_setColor(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFontChooser, &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_KFontChooser, sipName_setColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_color(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontChooser, &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_KFontChooser, sipName_color, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_setBackgroundColor(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_setBackgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFontChooser, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBackgroundColor(*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_KFontChooser, sipName_setBackgroundColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_backgroundColor(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_backgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontChooser, &sipCpp))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->backgroundColor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFontChooser, sipName_backgroundColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_setSizeIsRelative(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_setSizeIsRelative(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CheckState a0;
        KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KFontChooser, &sipCpp, sipType_Qt_CheckState, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSizeIsRelative(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_KFontChooser, sipName_setSizeIsRelative, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_sizeIsRelative(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_sizeIsRelative(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontChooser, &sipCpp))
        {
            Qt::CheckState sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sizeIsRelative();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_CheckState);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFontChooser, sipName_sizeIsRelative, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_sampleText(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_sampleText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontChooser, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->sampleText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFontChooser, sipName_sampleText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_setSampleText(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_setSampleText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFontChooser, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSampleText(*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_KFontChooser, sipName_setSampleText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_setSampleBoxVisible(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_setSampleBoxVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFontChooser, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSampleBoxVisible(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_KFontChooser, sipName_setSampleBoxVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_getFontList(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_getFontList(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStringList* a0;
        int a0State = 0;
        uint a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1u", sipType_QStringList,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            KFontChooser::getFontList(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFontChooser, sipName_getFontList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontChooser_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KFontChooser_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFontChooser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontChooser, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KFontChooser::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_KFontChooser, sipName_sizeHint, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KFontChooser(void *, const sipTypeDef *);}
static void *cast_KFontChooser(void *sipCppV, const sipTypeDef *targetType)
{
    KFontChooser *sipCpp = reinterpret_cast<KFontChooser *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFontChooser(void *, int);}
static void release_KFontChooser(void *sipCppV,int)
{
    KFontChooser *sipCpp = reinterpret_cast<KFontChooser *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFontChooser(sipSimpleWrapper *);}
static void dealloc_KFontChooser(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFontChooser *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFontChooser(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFontChooser(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFontChooser(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFontChooser *sipCpp = 0;

    {
        QWidget* a0 = 0;
        const KFontChooser::DisplayFlags& a1def = KFontChooser::DisplayFrame;
        const KFontChooser::DisplayFlags* a1 = &a1def;
        int a1State = 0;
        const QStringList& a2def = QStringList();
        const QStringList* a2 = &a2def;
        int a2State = 0;
        int a3 = 8;
        Qt::CheckState a4;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1J1i", sipType_QWidget, &a0, sipOwner, sipType_KFontChooser_DisplayFlags, &a1, &a1State, sipType_QStringList,&a2, &a2State, &a3))
        {
#line 64 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
Py_BEGIN_ALLOW_THREADS
    sipCpp = new sipKFontChooser (a0, *a1, *a2, a3, &a4);
    Py_END_ALLOW_THREADS
#line 16990 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFontChooser::DisplayFlags *>(a1),sipType_KFontChooser_DisplayFlags,a1State);
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFontChooser[] = {{755, 2, 1}};


static PyMethodDef methods_KFontChooser[] = {
    {SIP_MLNAME_CAST(sipName_backgroundColor), meth_KFontChooser_backgroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_color), meth_KFontChooser_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableColumn), meth_KFontChooser_enableColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_font), meth_KFontChooser_font, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontDiffFlags), meth_KFontChooser_fontDiffFlags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getFontList), meth_KFontChooser_getFontList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sampleText), meth_KFontChooser_sampleText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBackgroundColor), meth_KFontChooser_setBackgroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_KFontChooser_setColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFont), meth_KFontChooser_setFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSampleBoxVisible), meth_KFontChooser_setSampleBoxVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSampleText), meth_KFontChooser_setSampleText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSizeIsRelative), meth_KFontChooser_setSizeIsRelative, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KFontChooser_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeIsRelative), meth_KFontChooser_sizeIsRelative, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFontChooser[] = {
    {sipName_AllFontDiffs, static_cast<int>(KFontChooser::AllFontDiffs), 122},
    {sipName_DisplayFrame, static_cast<int>(KFontChooser::DisplayFrame), 119},
    {sipName_FamilyList, static_cast<int>(KFontChooser::FamilyList), 121},
    {sipName_FixedFontsOnly, static_cast<int>(KFontChooser::FixedFontsOnly), 119},
    {sipName_FixedWidthFonts, static_cast<int>(KFontChooser::FixedWidthFonts), 124},
    {sipName_FontDiffFamily, static_cast<int>(KFontChooser::FontDiffFamily), 122},
    {sipName_FontDiffSize, static_cast<int>(KFontChooser::FontDiffSize), 122},
    {sipName_FontDiffStyle, static_cast<int>(KFontChooser::FontDiffStyle), 122},
    {sipName_NoDisplayFlags, static_cast<int>(KFontChooser::NoDisplayFlags), 119},
    {sipName_NoFontDiffFlags, static_cast<int>(KFontChooser::NoFontDiffFlags), 122},
    {sipName_ScalableFonts, static_cast<int>(KFontChooser::ScalableFonts), 124},
    {sipName_ShowDifferences, static_cast<int>(KFontChooser::ShowDifferences), 119},
    {sipName_SizeList, static_cast<int>(KFontChooser::SizeList), 121},
    {sipName_SmoothScalableFonts, static_cast<int>(KFontChooser::SmoothScalableFonts), 124},
    {sipName_StyleList, static_cast<int>(KFontChooser::StyleList), 121},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFontChooser[] = {
    {"fontSelected(QFont)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontChooser = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontChooser,
        {0}
    },
    {
        sipNameNr_KFontChooser,
        {0, 0, 1},
        15, methods_KFontChooser,
        15, enummembers_KFontChooser,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFontChooser,
    0,
    init_type_KFontChooser,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontChooser,
    0,
    0,
    0,
    release_KFontChooser,
    cast_KFontChooser,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFontChooser::staticMetaObject,
    0,
    signals_KFontChooser,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfontaction.sip"
#include <kfontaction.h>
#line 17107 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17111 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 17117 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17120 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17123 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 17126 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 17132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 17141 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 17144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kselectaction.sip"
#include <kselectaction.h>
#line 17147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 17150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 17153 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 17156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 17159 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 17162 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 17165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17171 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17174 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 17177 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17180 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 17183 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 17186 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17189 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17192 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17195 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17198 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17201 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17204 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17207 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17210 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKFontAction : public KFontAction
{
public:
    sipKFontAction(uint,QObject*);
    sipKFontAction(QObject*);
    sipKFontAction(const QString&,QObject*);
    sipKFontAction(const KIcon&,const QString&,QObject*);
    virtual ~sipKFontAction();

    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*);
    void actionTriggered(QAction*);
    QAction* removeAction(QAction*);
    void addAction(QAction*);
    QWidget* createWidget(QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFontAction(const sipKFontAction &);
    sipKFontAction &operator = (const sipKFontAction &);

    char sipPyMethods[12];
};

sipKFontAction::sipKFontAction(uint a0,QObject*a1): KFontAction(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFontAction::sipKFontAction(QObject*a0): KFontAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFontAction::sipKFontAction(const QString& a0,QObject*a1): KFontAction(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFontAction::sipKFontAction(const KIcon& a0,const QString& a1,QObject*a2): KFontAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFontAction::~sipKFontAction()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFontAction::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFontAction);
}

int sipKFontAction::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFontAction::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KFontAction,_c,_id,_a);

    return _id;
}

void *sipKFontAction::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFontAction, _clname)) ? this : KFontAction::qt_metacast(_clname);
}

void sipKFontAction::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFontAction::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 sipKFontAction::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFontAction::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 sipKFontAction::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFontAction::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 sipKFontAction::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFontAction::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 sipKFontAction::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFontAction::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 sipKFontAction::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFontAction::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 sipKFontAction::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFontAction::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 sipKFontAction::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_deleteWidget);

    if (!sipMeth)
    {
        KFontAction::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);
}

void sipKFontAction::actionTriggered(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_actionTriggered);

    if (!sipMeth)
    {
        KFontAction::actionTriggered(a0);
        return;
    }

    extern void sipVH_kdeui_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

    sipVH_kdeui_48(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QAction* sipKFontAction::removeAction(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_removeAction);

    if (!sipMeth)
        return KFontAction::removeAction(a0);

    extern QAction* sipVH_kdeui_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

    return sipVH_kdeui_49(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontAction::addAction(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_addAction);

    if (!sipMeth)
    {
        KFontAction::addAction(a0);
        return;
    }

    extern void sipVH_kdeui_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

    sipVH_kdeui_48(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QWidget* sipKFontAction::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_createWidget);

    if (!sipMeth)
        return KFontAction::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_KFontAction_font(PyObject *, PyObject *);}
static PyObject *meth_KFontAction_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFontAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFontAction, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->font());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFontAction, sipName_font, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontAction_setFont(PyObject *, PyObject *);}
static PyObject *meth_KFontAction_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFontAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFontAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFont(*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_KFontAction, sipName_setFont, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFontAction_createWidget(PyObject *, PyObject *);}
static PyObject *meth_KFontAction_createWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        KFontAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_KFontAction, &sipCpp, sipType_QWidget, &a0))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFontAction::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_KFontAction, sipName_createWidget, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFontAction(void *, int);}
static void release_KFontAction(void *sipCppV,int)
{
    KFontAction *sipCpp = reinterpret_cast<KFontAction *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFontAction(sipSimpleWrapper *);}
static void dealloc_KFontAction(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFontAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFontAction(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFontAction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFontAction(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFontAction *sipCpp = 0;

    {
        uint a0;
        QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "uJH", &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFontAction(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFontAction(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 sipKFontAction(*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 sipKFontAction(*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_KFontAction[] = {{265, 255, 1}};


static PyMethodDef methods_KFontAction[] = {
    {SIP_MLNAME_CAST(sipName_createWidget), meth_KFontAction_createWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_font), meth_KFontAction_font, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFont), meth_KFontAction_setFont, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFontAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontAction,
        {0}
    },
    {
        sipNameNr_KFontAction,
        {0, 0, 1},
        3, methods_KFontAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFontAction,
    0,
    init_type_KFontAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFontAction,
    0,
    0,
    0,
    release_KFontAction,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFontAction::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfinddialog.sip"
#include <kfinddialog.h>
#line 17762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17775 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17778 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17781 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17784 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 17787 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 17790 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 17793 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 17796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 17799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 17802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 17805 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 17808 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 17811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 17814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 17817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 17823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 17841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17844 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 17847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 17850 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 17853 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 17856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 17862 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17865 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 17868 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17871 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 17874 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 17877 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 17880 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 17886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 17928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 17931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 17934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 17940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 17943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 17949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 17952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 17955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 17958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 17961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKFindDialog : public KFindDialog
{
public:
    sipKFindDialog(QWidget*,long,const QStringList&,bool,bool);
    virtual ~sipKFindDialog();

    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*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFindDialog(const sipKFindDialog &);
    sipKFindDialog &operator = (const sipKFindDialog &);

    char sipPyMethods[54];
};

sipKFindDialog::sipKFindDialog(QWidget*a0,long a1,const QStringList& a2,bool a3,bool a4): KFindDialog(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFindDialog::~sipKFindDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFindDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFindDialog);
}

int sipKFindDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFindDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KFindDialog,_c,_id,_a);

    return _id;
}

void *sipKFindDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFindDialog, _clname)) ? this : KFindDialog::qt_metacast(_clname);
}

void sipKFindDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFindDialog::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 sipKFindDialog::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 KFindDialog::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 sipKFindDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::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 KFindDialog::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 sipKFindDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFindDialog::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* sipKFindDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFindDialog::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 sipKFindDialog::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 KFindDialog::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 sipKFindDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFindDialog::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 sipKFindDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFindDialog::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 sipKFindDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KFindDialog::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 sipKFindDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFindDialog::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 sipKFindDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFindDialog::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 sipKFindDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFindDialog::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);
}


extern "C" {static PyObject *meth_KFindDialog_setFindHistory(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_setFindHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFindDialog, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFindHistory(*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_KFindDialog, sipName_setFindHistory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_findHistory(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_findHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFindDialog, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->findHistory());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFindDialog, sipName_findHistory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_setHasSelection(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_setHasSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFindDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHasSelection(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_KFindDialog, sipName_setHasSelection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_setHasCursor(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_setHasCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFindDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHasCursor(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_KFindDialog, sipName_setHasCursor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_setSupportsBackwardsFind(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_setSupportsBackwardsFind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFindDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSupportsBackwardsFind(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_KFindDialog, sipName_setSupportsBackwardsFind, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_setSupportsCaseSensitiveFind(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_setSupportsCaseSensitiveFind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFindDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSupportsCaseSensitiveFind(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_KFindDialog, sipName_setSupportsCaseSensitiveFind, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_setSupportsWholeWordsFind(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_setSupportsWholeWordsFind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFindDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSupportsWholeWordsFind(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_KFindDialog, sipName_setSupportsWholeWordsFind, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_setSupportsRegularExpressionFind(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_setSupportsRegularExpressionFind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFindDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSupportsRegularExpressionFind(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_KFindDialog, sipName_setSupportsRegularExpressionFind, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_setOptions(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        long a0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_KFindDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOptions(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_KFindDialog, sipName_setOptions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_options(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFindDialog, &sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->options();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFindDialog, sipName_options, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_pattern(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_pattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFindDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->pattern());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFindDialog, sipName_pattern, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_setPattern(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_setPattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFindDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPattern(*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_KFindDialog, sipName_setPattern, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_findExtension(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_findExtension(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFindDialog, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findExtension();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFindDialog, sipName_findExtension, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFindDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KFindDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        KFindDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFindDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFindDialog::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_KFindDialog, sipName_showEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KFindDialog(void *, const sipTypeDef *);}
static void *cast_KFindDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KFindDialog *sipCpp = reinterpret_cast<KFindDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFindDialog(void *, int);}
static void release_KFindDialog(void *sipCppV,int)
{
    KFindDialog *sipCpp = reinterpret_cast<KFindDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFindDialog(sipSimpleWrapper *);}
static void dealloc_KFindDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFindDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFindDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFindDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFindDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFindDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        long a1 = 0;
        const QStringList& a2def = QStringList();
        const QStringList* a2 = &a2def;
        int a2State = 0;
        bool a3 = 0;
        bool a4 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHlJ1bb", sipType_QWidget, &a0, sipOwner, &a1, sipType_QStringList,&a2, &a2State, &a3, &a4))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFindDialog(a0,a1,*a2,a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFindDialog[] = {{86, 255, 1}};


static PyMethodDef methods_KFindDialog[] = {
    {SIP_MLNAME_CAST(sipName_findExtension), meth_KFindDialog_findExtension, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findHistory), meth_KFindDialog_findHistory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_options), meth_KFindDialog_options, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pattern), meth_KFindDialog_pattern, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFindHistory), meth_KFindDialog_setFindHistory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasCursor), meth_KFindDialog_setHasCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHasSelection), meth_KFindDialog_setHasSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_KFindDialog_setOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPattern), meth_KFindDialog_setPattern, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSupportsBackwardsFind), meth_KFindDialog_setSupportsBackwardsFind, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSupportsCaseSensitiveFind), meth_KFindDialog_setSupportsCaseSensitiveFind, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSupportsRegularExpressionFind), meth_KFindDialog_setSupportsRegularExpressionFind, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSupportsWholeWordsFind), meth_KFindDialog_setSupportsWholeWordsFind, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KFindDialog_showEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFindDialog[] = {
    {"optionsChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFindDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFindDialog,
        {0}
    },
    {
        sipNameNr_KFindDialog,
        {0, 0, 1},
        14, methods_KFindDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFindDialog,
    0,
    init_type_KFindDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFindDialog,
    0,
    0,
    0,
    release_KFindDialog,
    cast_KFindDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFindDialog::staticMetaObject,
    0,
    signals_KFindDialog,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfind.sip"
#include <kfind.h>
#line 19579 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfind.sip"
#include <kfind.h>
#line 19583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


extern "C" {static int slot_KFind_SearchOptions___bool__(PyObject *);}
static int slot_KFind_SearchOptions___bool__(PyObject *sipSelf)
{
    KFind::SearchOptions *sipCpp = reinterpret_cast<KFind::SearchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFind_SearchOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFind::SearchOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 19605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFind_SearchOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KFind::SearchOptions *sipCpp = reinterpret_cast<KFind::SearchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFind_SearchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFind::SearchOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFind_SearchOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFind::SearchOptions::Int() != a0->operator KFind::SearchOptions::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 19639 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFind::SearchOptions *>(a0),sipType_KFind_SearchOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KFind_SearchOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFind_SearchOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KFind::SearchOptions *sipCpp = reinterpret_cast<KFind::SearchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFind_SearchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KFind::SearchOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFind_SearchOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFind::SearchOptions::Int() == a0->operator KFind::SearchOptions::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 19679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KFind::SearchOptions *>(a0),sipType_KFind_SearchOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KFind_SearchOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KFind_SearchOptions___invert__(PyObject *);}
static PyObject *slot_KFind_SearchOptions___invert__(PyObject *sipSelf)
{
    KFind::SearchOptions *sipCpp = reinterpret_cast<KFind::SearchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFind_SearchOptions));

    if (!sipCpp)
        return 0;


    {
        {
            KFind::SearchOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFind::SearchOptions(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KFind_SearchOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KFind_SearchOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFind::SearchOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFind_SearchOptions, &a0, &a0State, &a1))
        {
            KFind::SearchOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFind::SearchOptions((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFind_SearchOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFind_SearchOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFind_SearchOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFind::SearchOptions* a0;
        int a0State = 0;
        KFind::SearchOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFind_SearchOptions, &a0, &a0State, sipType_KFind_SearchOptions, &a1, &a1State))
        {
            KFind::SearchOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFind::SearchOptions((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFind_SearchOptions,a0State);
            sipReleaseType(a1,sipType_KFind_SearchOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_KFind_SearchOptions,NULL);
        }
    }

    {
        KFind::SearchOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFind_SearchOptions, &a0, &a0State, &a1))
        {
            KFind::SearchOptions*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFind::SearchOptions(*a0 ^ a1);
#line 19788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KFind_SearchOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFind_SearchOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFind_SearchOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KFind::SearchOptions* a0;
        int a0State = 0;
        KFind::SearchOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KFind_SearchOptions, &a0, &a0State, sipType_KFind_SearchOptions, &a1, &a1State))
        {
            KFind::SearchOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KFind::SearchOptions((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFind_SearchOptions,a0State);
            sipReleaseType(a1,sipType_KFind_SearchOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_KFind_SearchOptions,NULL);
        }
    }

    {
        KFind::SearchOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KFind_SearchOptions, &a0, &a0State, &a1))
        {
            KFind::SearchOptions*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KFind::SearchOptions(*a0 | a1);
#line 19840 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KFind_SearchOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_KFind_SearchOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KFind_SearchOptions___int__(PyObject *);}
static PyObject *slot_KFind_SearchOptions___int__(PyObject *sipSelf)
{
    KFind::SearchOptions *sipCpp = reinterpret_cast<KFind::SearchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFind_SearchOptions));

    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_KFind_SearchOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFind_SearchOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFind::SearchOptions *sipCpp = reinterpret_cast<KFind::SearchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFind_SearchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFind::SearchOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFind_SearchOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFind::SearchOptions::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFind_SearchOptions,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_KFind_SearchOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFind_SearchOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFind::SearchOptions *sipCpp = reinterpret_cast<KFind::SearchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFind_SearchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KFind::SearchOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KFind_SearchOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFind::SearchOptions::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KFind_SearchOptions,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_KFind_SearchOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KFind_SearchOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KFind::SearchOptions *sipCpp = reinterpret_cast<KFind::SearchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KFind_SearchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KFind::SearchOptions::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFind_SearchOptions(void *, int);}
static void release_KFind_SearchOptions(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KFind::SearchOptions *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KFind_SearchOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_KFind_SearchOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KFind::SearchOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KFind::SearchOptions *>(sipSrc);
}


extern "C" {static void *array_KFind_SearchOptions(SIP_SSIZE_T);}
static void *array_KFind_SearchOptions(SIP_SSIZE_T sipNrElem)
{
    return new KFind::SearchOptions[sipNrElem];
}


extern "C" {static void *copy_KFind_SearchOptions(const void *, SIP_SSIZE_T);}
static void *copy_KFind_SearchOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KFind::SearchOptions(reinterpret_cast<const KFind::SearchOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KFind_SearchOptions(sipSimpleWrapper *);}
static void dealloc_KFind_SearchOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KFind_SearchOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KFind_SearchOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFind_SearchOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KFind::SearchOptions *sipCpp = 0;

    {
        const KFind::SearchOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KFind_SearchOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFind::SearchOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KFind::SearchOptions *>(a0),sipType_KFind_SearchOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFind::SearchOptions(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KFind::SearchOptions();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KFind_SearchOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_KFind_SearchOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KFind::SearchOptions **sipCppPtr = reinterpret_cast<KFind::SearchOptions **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KFind::SearchOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFind_Options)) ||
            sipCanConvertToType(sipPy, sipType_KFind_SearchOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KFind_Options)))
{
    *sipCppPtr = new KFind::SearchOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KFind::SearchOptions *>(sipConvertToType(sipPy, sipType_KFind_SearchOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 20124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KFind_SearchOptions[] = {
    {(void *)slot_KFind_SearchOptions___bool__, bool_slot},
    {(void *)slot_KFind_SearchOptions___ne__, ne_slot},
    {(void *)slot_KFind_SearchOptions___eq__, eq_slot},
    {(void *)slot_KFind_SearchOptions___invert__, invert_slot},
    {(void *)slot_KFind_SearchOptions___and__, and_slot},
    {(void *)slot_KFind_SearchOptions___xor__, xor_slot},
    {(void *)slot_KFind_SearchOptions___or__, or_slot},
    {(void *)slot_KFind_SearchOptions___int__, int_slot},
    {(void *)slot_KFind_SearchOptions___ixor__, ixor_slot},
    {(void *)slot_KFind_SearchOptions___ior__, ior_slot},
    {(void *)slot_KFind_SearchOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFind_SearchOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFind__SearchOptions,
        {0}
    },
    {
        sipNameNr_SearchOptions,
        {111, 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_KFind_SearchOptions,
    init_type_KFind_SearchOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFind_SearchOptions,
    assign_KFind_SearchOptions,
    array_KFind_SearchOptions,
    copy_KFind_SearchOptions,
    release_KFind_SearchOptions,
    0,
    convertTo_KFind_SearchOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfind.sip"
#include <kfind.h>
#line 20200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20204 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20207 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 20210 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20213 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20216 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20219 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20222 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 20225 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 20243 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKFind : public KFind
{
public:
    sipKFind(const QString&,long,QWidget*);
    sipKFind(const QString&,long,QWidget*,QWidget*);
    virtual ~sipKFind();

    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 displayFinalDialog() const;
    bool shouldRestart(bool,bool) const;
    bool validateMatch(const QString&,int,int);
    void resetCounts();
    void setOptions(long);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFind(const sipKFind &);
    sipKFind &operator = (const sipKFind &);

    char sipPyMethods[12];
};

sipKFind::sipKFind(const QString& a0,long a1,QWidget*a2): KFind(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFind::sipKFind(const QString& a0,long a1,QWidget*a2,QWidget*a3): KFind(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFind::~sipKFind()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFind::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFind);
}

int sipKFind::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFind::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KFind,_c,_id,_a);

    return _id;
}

void *sipKFind::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFind, _clname)) ? this : KFind::qt_metacast(_clname);
}

void sipKFind::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFind::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 sipKFind::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFind::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 sipKFind::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFind::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 sipKFind::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFind::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 sipKFind::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFind::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 sipKFind::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFind::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 sipKFind::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFind::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 sipKFind::displayFinalDialog() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_displayFinalDialog);

    if (!sipMeth)
    {
        KFind::displayFinalDialog();
        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 sipKFind::shouldRestart(bool a0,bool a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_shouldRestart);

    if (!sipMeth)
        return KFind::shouldRestart(a0,a1);

    extern bool sipVH_kdeui_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool,bool);

    return sipVH_kdeui_51(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFind::validateMatch(const QString& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_validateMatch);

    if (!sipMeth)
        return KFind::validateMatch(a0,a1,a2);

    extern bool sipVH_kdeui_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,int,int);

    return sipVH_kdeui_73(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFind::resetCounts()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_resetCounts);

    if (!sipMeth)
    {
        KFind::resetCounts();
        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 sipKFind::setOptions(long a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setOptions);

    if (!sipMeth)
    {
        KFind::setOptions(a0);
        return;
    }

    extern void sipVH_kdeui_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);

    sipVH_kdeui_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KFind_needData(PyObject *, PyObject *);}
static PyObject *meth_KFind_needData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFind, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->needData();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_needData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_setData(PyObject *, PyObject *);}
static PyObject *meth_KFind_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1 = -1;
        KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|i", &sipSelf, sipType_KFind, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        int a2 = -1;
        KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1|i", &sipSelf, sipType_KFind, &sipCpp, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(a0,*a1,a2);
            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_KFind, sipName_setData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_find(PyObject *, PyObject *);}
static PyObject *meth_KFind_find(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFind, &sipCpp))
        {
            KFind::Result sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->find();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFind_Result);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        int a2;
        long a3;
        int a4;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1il", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFind::find(*a0,*a1,a2,a3,&a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipBuildResult(0,"(ii)",sipRes,a4);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QRegExp* a1;
        int a2;
        long a3;
        int a4;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9il", sipType_QString,&a0, &a0State, sipType_QRegExp, &a1, &a2, &a3))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KFind::find(*a0,*a1,a2,a3,&a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(ii)",sipRes,a4);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_find, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_options(PyObject *, PyObject *);}
static PyObject *meth_KFind_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFind, &sipCpp))
        {
            long sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->options();
            Py_END_ALLOW_THREADS

            return PyLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_options, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_setOptions(PyObject *, PyObject *);}
static PyObject *meth_KFind_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        long a0;
        KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_KFind, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFind::setOptions(a0) : sipCpp->setOptions(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_KFind, sipName_setOptions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_pattern(PyObject *, PyObject *);}
static PyObject *meth_KFind_pattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFind, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->pattern());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_pattern, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_setPattern(PyObject *, PyObject *);}
static PyObject *meth_KFind_setPattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFind, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPattern(*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_KFind, sipName_setPattern, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_numMatches(PyObject *, PyObject *);}
static PyObject *meth_KFind_numMatches(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFind, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->numMatches();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_numMatches, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_resetCounts(PyObject *, PyObject *);}
static PyObject *meth_KFind_resetCounts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFind, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFind::resetCounts() : sipCpp->resetCounts());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_resetCounts, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_validateMatch(PyObject *, PyObject *);}
static PyObject *meth_KFind_validateMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        int a2;
        KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1ii", &sipSelf, sipType_KFind, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFind::validateMatch(*a0,a1,a2) : sipCpp->validateMatch(*a0,a1,a2));
            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_KFind, sipName_validateMatch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_shouldRestart(PyObject *, PyObject *);}
static PyObject *meth_KFind_shouldRestart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        bool a1 = 1;
        const KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|bb", &sipSelf, sipType_KFind, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFind::shouldRestart(a0,a1) : sipCpp->shouldRestart(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_shouldRestart, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_displayFinalDialog(PyObject *, PyObject *);}
static PyObject *meth_KFind_displayFinalDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFind, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFind::displayFinalDialog() : sipCpp->displayFinalDialog());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_displayFinalDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_findNextDialog(PyObject *, PyObject *);}
static PyObject *meth_KFind_findNextDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 0;
        KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KFind, &sipCpp, &a0))
        {
            KDialog*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->findNextDialog(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KDialog,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_findNextDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_closeFindNextDialog(PyObject *, PyObject *);}
static PyObject *meth_KFind_closeFindNextDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFind, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->closeFindNextDialog();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_closeFindNextDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_index(PyObject *, PyObject *);}
static PyObject *meth_KFind_index(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFind, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->index();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_index, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_parentWidget(PyObject *, PyObject *);}
static PyObject *meth_KFind_parentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KFind, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parentWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_parentWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFind_dialogsParent(PyObject *, PyObject *);}
static PyObject *meth_KFind_dialogsParent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFind *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KFind, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dialogsParent();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFind, sipName_dialogsParent, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFind(void *, int);}
static void release_KFind(void *sipCppV,int)
{
    KFind *sipCpp = reinterpret_cast<KFind *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFind(sipSimpleWrapper *);}
static void dealloc_KFind(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFind *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFind(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFind(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFind(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFind *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        long a1;
        QWidget* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1lJH", sipType_QString,&a0, &a0State, &a1, sipType_QWidget, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFind(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        long a1;
        QWidget* a2;
        QWidget* a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1lJHJ8", sipType_QString,&a0, &a0State, &a1, sipType_QWidget, &a2, sipOwner, sipType_QWidget, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFind(*a0,a1,a2,a3);
            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_KFind[] = {{141, 0, 1}};


static PyMethodDef methods_KFind[] = {
    {SIP_MLNAME_CAST(sipName_closeFindNextDialog), meth_KFind_closeFindNextDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dialogsParent), meth_KFind_dialogsParent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_displayFinalDialog), meth_KFind_displayFinalDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_find), meth_KFind_find, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findNextDialog), meth_KFind_findNextDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_KFind_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_needData), meth_KFind_needData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_numMatches), meth_KFind_numMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_options), meth_KFind_options, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentWidget), meth_KFind_parentWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pattern), meth_KFind_pattern, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetCounts), meth_KFind_resetCounts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_KFind_setData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_KFind_setOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPattern), meth_KFind_setPattern, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shouldRestart), meth_KFind_shouldRestart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validateMatch), meth_KFind_validateMatch, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KFind[] = {
    {sipName_CaseSensitive, static_cast<int>(KFind::CaseSensitive), 112},
    {sipName_FindBackwards, static_cast<int>(KFind::FindBackwards), 112},
    {sipName_FindIncremental, static_cast<int>(KFind::FindIncremental), 112},
    {sipName_FromCursor, static_cast<int>(KFind::FromCursor), 112},
    {sipName_Match, static_cast<int>(KFind::Match), 113},
    {sipName_MinimumUserOption, static_cast<int>(KFind::MinimumUserOption), 112},
    {sipName_NoMatch, static_cast<int>(KFind::NoMatch), 113},
    {sipName_RegularExpression, static_cast<int>(KFind::RegularExpression), 112},
    {sipName_SelectedText, static_cast<int>(KFind::SelectedText), 112},
    {sipName_WholeWordsOnly, static_cast<int>(KFind::WholeWordsOnly), 112},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KFind[] = {
    {"dialogClosed()", 0, 0, 0},
    {"optionsChanged()", 0, 0, 0},
    {"findNext()", 0, 0, 0},
    {"highlight(QString,int,int)", 0, 0, 0},
    {"highlight(int,int,int)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFind = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFind,
        {0}
    },
    {
        sipNameNr_KFind,
        {0, 0, 1},
        17, methods_KFind,
        10, enummembers_KFind,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFind,
    0,
    init_type_KFind,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFind,
    0,
    0,
    0,
    release_KFind,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFind::staticMetaObject,
    0,
    signals_KFind,
};

#line 24 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfilterproxysearchline.sip"
#include <kfilterproxysearchline.h>
#line 21247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 21254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qsortfilterproxymodel.sip"
#include <qsortfilterproxymodel.h>
#line 21260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 21266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 21275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 21281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 21284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 21290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 21308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 21311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 21314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 21383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 21386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 21389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 21395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 21398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 21413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 21416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKFilterProxySearchLine : public KFilterProxySearchLine
{
public:
    sipKFilterProxySearchLine(QWidget*);
    virtual ~sipKFilterProxySearchLine();

    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:
    sipKFilterProxySearchLine(const sipKFilterProxySearchLine &);
    sipKFilterProxySearchLine &operator = (const sipKFilterProxySearchLine &);

    char sipPyMethods[47];
};

sipKFilterProxySearchLine::sipKFilterProxySearchLine(QWidget*a0): KFilterProxySearchLine(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFilterProxySearchLine::~sipKFilterProxySearchLine()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFilterProxySearchLine::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFilterProxySearchLine);
}

int sipKFilterProxySearchLine::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFilterProxySearchLine::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KFilterProxySearchLine,_c,_id,_a);

    return _id;
}

void *sipKFilterProxySearchLine::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFilterProxySearchLine, _clname)) ? this : KFilterProxySearchLine::qt_metacast(_clname);
}

void sipKFilterProxySearchLine::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFilterProxySearchLine::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 sipKFilterProxySearchLine::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFilterProxySearchLine::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 sipKFilterProxySearchLine::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 KFilterProxySearchLine::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 sipKFilterProxySearchLine::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::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 KFilterProxySearchLine::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 sipKFilterProxySearchLine::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFilterProxySearchLine::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* sipKFilterProxySearchLine::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFilterProxySearchLine::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 sipKFilterProxySearchLine::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 KFilterProxySearchLine::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 sipKFilterProxySearchLine::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFilterProxySearchLine::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 sipKFilterProxySearchLine::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFilterProxySearchLine::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 sipKFilterProxySearchLine::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFilterProxySearchLine::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 sipKFilterProxySearchLine::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFilterProxySearchLine::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_KFilterProxySearchLine_setProxy(PyObject *, PyObject *);}
static PyObject *meth_KFilterProxySearchLine_setProxy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSortFilterProxyModel* a0;
        KFilterProxySearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KFilterProxySearchLine, &sipCpp, sipType_QSortFilterProxyModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProxy(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_KFilterProxySearchLine, sipName_setProxy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilterProxySearchLine_setText(PyObject *, PyObject *);}
static PyObject *meth_KFilterProxySearchLine_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KFilterProxySearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFilterProxySearchLine, &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_KFilterProxySearchLine, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFilterProxySearchLine_lineEdit(PyObject *, PyObject *);}
static PyObject *meth_KFilterProxySearchLine_lineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFilterProxySearchLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFilterProxySearchLine, &sipCpp))
        {
            KLineEdit*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lineEdit();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFilterProxySearchLine, sipName_lineEdit, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KFilterProxySearchLine(void *, const sipTypeDef *);}
static void *cast_KFilterProxySearchLine(void *sipCppV, const sipTypeDef *targetType)
{
    KFilterProxySearchLine *sipCpp = reinterpret_cast<KFilterProxySearchLine *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFilterProxySearchLine(void *, int);}
static void release_KFilterProxySearchLine(void *sipCppV,int)
{
    KFilterProxySearchLine *sipCpp = reinterpret_cast<KFilterProxySearchLine *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFilterProxySearchLine(sipSimpleWrapper *);}
static void dealloc_KFilterProxySearchLine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFilterProxySearchLine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFilterProxySearchLine(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFilterProxySearchLine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFilterProxySearchLine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFilterProxySearchLine *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFilterProxySearchLine(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFilterProxySearchLine[] = {{755, 2, 1}};


static PyMethodDef methods_KFilterProxySearchLine[] = {
    {SIP_MLNAME_CAST(sipName_lineEdit), meth_KFilterProxySearchLine_lineEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProxy), meth_KFilterProxySearchLine_setProxy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KFilterProxySearchLine_setText, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFilterProxySearchLine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilterProxySearchLine,
        {0}
    },
    {
        sipNameNr_KFilterProxySearchLine,
        {0, 0, 1},
        3, methods_KFilterProxySearchLine,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFilterProxySearchLine,
    0,
    init_type_KFilterProxySearchLine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFilterProxySearchLine,
    0,
    0,
    0,
    release_KFilterProxySearchLine,
    cast_KFilterProxySearchLine,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFilterProxySearchLine::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfadewidgeteffect.sip"
#include <kfadewidgeteffect.h>
#line 22582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 22595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 22604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 22607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 22613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 22616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 22622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22625 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22628 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22631 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22634 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 22637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 22640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 22643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 22646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22652 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22655 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22661 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22667 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22670 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 22712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 22715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 22718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 22724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 22727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 22742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 22745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22754 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22757 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22760 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22763 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 22766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKFadeWidgetEffect : public KFadeWidgetEffect
{
public:
    sipKFadeWidgetEffect(QWidget*);
    virtual ~sipKFadeWidgetEffect();

    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:
    sipKFadeWidgetEffect(const sipKFadeWidgetEffect &);
    sipKFadeWidgetEffect &operator = (const sipKFadeWidgetEffect &);

    char sipPyMethods[47];
};

sipKFadeWidgetEffect::sipKFadeWidgetEffect(QWidget*a0): KFadeWidgetEffect(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFadeWidgetEffect::~sipKFadeWidgetEffect()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFadeWidgetEffect::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFadeWidgetEffect);
}

int sipKFadeWidgetEffect::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFadeWidgetEffect::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KFadeWidgetEffect,_c,_id,_a);

    return _id;
}

void *sipKFadeWidgetEffect::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFadeWidgetEffect, _clname)) ? this : KFadeWidgetEffect::qt_metacast(_clname);
}

void sipKFadeWidgetEffect::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFadeWidgetEffect::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 sipKFadeWidgetEffect::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KFadeWidgetEffect::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 sipKFadeWidgetEffect::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 KFadeWidgetEffect::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 sipKFadeWidgetEffect::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::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 KFadeWidgetEffect::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 sipKFadeWidgetEffect::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFadeWidgetEffect::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* sipKFadeWidgetEffect::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KFadeWidgetEffect::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 sipKFadeWidgetEffect::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 KFadeWidgetEffect::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 sipKFadeWidgetEffect::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KFadeWidgetEffect::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 sipKFadeWidgetEffect::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KFadeWidgetEffect::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 sipKFadeWidgetEffect::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KFadeWidgetEffect::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 sipKFadeWidgetEffect::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KFadeWidgetEffect::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_KFadeWidgetEffect_start(PyObject *, PyObject *);}
static PyObject *meth_KFadeWidgetEffect_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 250;
        KFadeWidgetEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|i", &sipSelf, sipType_KFadeWidgetEffect, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start(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_KFadeWidgetEffect, sipName_start, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFadeWidgetEffect_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KFadeWidgetEffect_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KFadeWidgetEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KFadeWidgetEffect, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFadeWidgetEffect::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_KFadeWidgetEffect, sipName_paintEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KFadeWidgetEffect(void *, const sipTypeDef *);}
static void *cast_KFadeWidgetEffect(void *sipCppV, const sipTypeDef *targetType)
{
    KFadeWidgetEffect *sipCpp = reinterpret_cast<KFadeWidgetEffect *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFadeWidgetEffect(void *, int);}
static void release_KFadeWidgetEffect(void *sipCppV,int)
{
    KFadeWidgetEffect *sipCpp = reinterpret_cast<KFadeWidgetEffect *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFadeWidgetEffect(sipSimpleWrapper *);}
static void dealloc_KFadeWidgetEffect(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFadeWidgetEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFadeWidgetEffect(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFadeWidgetEffect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFadeWidgetEffect(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKFadeWidgetEffect *sipCpp = 0;

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFadeWidgetEffect(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFadeWidgetEffect[] = {{755, 2, 1}};


static PyMethodDef methods_KFadeWidgetEffect[] = {
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KFadeWidgetEffect_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KFadeWidgetEffect_start, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFadeWidgetEffect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFadeWidgetEffect,
        {0}
    },
    {
        sipNameNr_KFadeWidgetEffect,
        {0, 0, 1},
        2, methods_KFadeWidgetEffect,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFadeWidgetEffect,
    0,
    init_type_KFadeWidgetEffect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFadeWidgetEffect,
    0,
    0,
    0,
    release_KFadeWidgetEffect,
    cast_KFadeWidgetEffect,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFadeWidgetEffect::staticMetaObject,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kextendableitemdelegate.sip"
#include <kextendableitemdelegate.h>
#line 23882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 23886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 23889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 23892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 1130 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 23898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 23904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 23907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 23916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 23925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 38 "/usr/share/python3-sip/PyQt4/QtGui/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 23928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 23931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 807 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 23937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 23958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKExtendableItemDelegate : public KExtendableItemDelegate
{
public:
    sipKExtendableItemDelegate(QAbstractItemView*);
    virtual ~sipKExtendableItemDelegate();

    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 editorEvent(QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);
    bool eventFilter(QObject*,QEvent*);
    void initStyleOption(QStyleOptionViewItem*,const QModelIndex&) const;
    QString displayText(const QVariant&,const QLocale&) const;
    void updateEditorGeometry(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void setModelData(QWidget*,QAbstractItemModel*,const QModelIndex&) const;
    void setEditorData(QWidget*,const QModelIndex&) const;
    QWidget* createEditor(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void updateExtenderGeometry(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void paint(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;
    QSize sizeHint(const QStyleOptionViewItem&,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKExtendableItemDelegate(const sipKExtendableItemDelegate &);
    sipKExtendableItemDelegate &operator = (const sipKExtendableItemDelegate &);

    char sipPyMethods[17];
};

sipKExtendableItemDelegate::sipKExtendableItemDelegate(QAbstractItemView*a0): KExtendableItemDelegate(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKExtendableItemDelegate::~sipKExtendableItemDelegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKExtendableItemDelegate::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KExtendableItemDelegate);
}

int sipKExtendableItemDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KExtendableItemDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KExtendableItemDelegate,_c,_id,_a);

    return _id;
}

void *sipKExtendableItemDelegate::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KExtendableItemDelegate, _clname)) ? this : KExtendableItemDelegate::qt_metacast(_clname);
}

void sipKExtendableItemDelegate::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KExtendableItemDelegate::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 sipKExtendableItemDelegate::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KExtendableItemDelegate::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 sipKExtendableItemDelegate::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KExtendableItemDelegate::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 sipKExtendableItemDelegate::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KExtendableItemDelegate::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 sipKExtendableItemDelegate::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KExtendableItemDelegate::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 sipKExtendableItemDelegate::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KExtendableItemDelegate::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 sipKExtendableItemDelegate::editorEvent(QEvent*a0,QAbstractItemModel*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return KExtendableItemDelegate::editorEvent(a0,a1,a2,a3);

    typedef bool (*sipVH_QtGui_73)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_73)(sipModuleAPI_kdeui_QtGui->em_virthandlers[73]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipKExtendableItemDelegate::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KExtendableItemDelegate::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 sipKExtendableItemDelegate::initStyleOption(QStyleOptionViewItem*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        KExtendableItemDelegate::initStyleOption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_74)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOptionViewItem*,const QModelIndex&);

    ((sipVH_QtGui_74)(sipModuleAPI_kdeui_QtGui->em_virthandlers[74]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QString sipKExtendableItemDelegate::displayText(const QVariant& a0,const QLocale& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_displayText);

    if (!sipMeth)
        return KExtendableItemDelegate::displayText(a0,a1);

    typedef QString (*sipVH_QtGui_75)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&,const QLocale&);

    return ((sipVH_QtGui_75)(sipModuleAPI_kdeui_QtGui->em_virthandlers[75]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKExtendableItemDelegate::updateEditorGeometry(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
        KExtendableItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_76)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_76)(sipModuleAPI_kdeui_QtGui->em_virthandlers[76]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKExtendableItemDelegate::setModelData(QWidget*a0,QAbstractItemModel*a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_setModelData);

    if (!sipMeth)
    {
        KExtendableItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_77)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemModel*,const QModelIndex&);

    ((sipVH_QtGui_77)(sipModuleAPI_kdeui_QtGui->em_virthandlers[77]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKExtendableItemDelegate::setEditorData(QWidget*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
        KExtendableItemDelegate::setEditorData(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_78)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QModelIndex&);

    ((sipVH_QtGui_78)(sipModuleAPI_kdeui_QtGui->em_virthandlers[78]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QWidget* sipKExtendableItemDelegate::createEditor(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return KExtendableItemDelegate::createEditor(a0,a1,a2);

    typedef QWidget* (*sipVH_QtGui_79)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_79)(sipModuleAPI_kdeui_QtGui->em_virthandlers[79]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKExtendableItemDelegate::updateExtenderGeometry(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_updateExtenderGeometry);

    if (!sipMeth)
    {
        KExtendableItemDelegate::updateExtenderGeometry(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_76)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_76)(sipModuleAPI_kdeui_QtGui->em_virthandlers[76]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKExtendableItemDelegate::paint(QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        KExtendableItemDelegate::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_48)(sipModuleAPI_kdeui_QtGui->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QSize sipKExtendableItemDelegate::sizeHint(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KExtendableItemDelegate::sizeHint(a0,a1);

    typedef QSize (*sipVH_QtGui_80)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_80)(sipModuleAPI_kdeui_QtGui->em_virthandlers[80]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStyleOptionViewItem* a0;
        const QModelIndex* a1;
        const KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KExtendableItemDelegate::sizeHint(*a0,*a1) : sipCpp->sizeHint(*a0,*a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KExtendableItemDelegate, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_paint(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KExtendableItemDelegate::paint(a0,*a1,*a2) : sipCpp->paint(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KExtendableItemDelegate, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_extendItem(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_extendItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QModelIndex* a1;
        KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->extendItem(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_KExtendableItemDelegate, sipName_extendItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_contractItem(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_contractItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->contractItem(*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_KExtendableItemDelegate, sipName_contractItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_contractAll(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_contractAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->contractAll();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KExtendableItemDelegate, sipName_contractAll, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_isExtended(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_isExtended(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isExtended(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KExtendableItemDelegate, sipName_isExtended, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_updateExtenderGeometry(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_updateExtenderGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KExtendableItemDelegate::updateExtenderGeometry(a0,*a1,*a2) : sipCpp->updateExtenderGeometry(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_KExtendableItemDelegate, sipName_updateExtenderGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_extenderRect(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_extenderRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J9J9", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->extenderRect(a0,*a1,*a2));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KExtendableItemDelegate, sipName_extenderRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_setExtendPixmap(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_setExtendPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExtendPixmap(*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_KExtendableItemDelegate, sipName_setExtendPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_setContractPixmap(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_setContractPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContractPixmap(*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_KExtendableItemDelegate, sipName_setContractPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_extendPixmap(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_extendPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->extendPixmap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KExtendableItemDelegate, sipName_extendPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KExtendableItemDelegate_contractPixmap(PyObject *, PyObject *);}
static PyObject *meth_KExtendableItemDelegate_contractPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KExtendableItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KExtendableItemDelegate, &sipCpp))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->contractPixmap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KExtendableItemDelegate, sipName_contractPixmap, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KExtendableItemDelegate(void *, int);}
static void release_KExtendableItemDelegate(void *sipCppV,int)
{
    KExtendableItemDelegate *sipCpp = reinterpret_cast<KExtendableItemDelegate *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KExtendableItemDelegate(sipSimpleWrapper *);}
static void dealloc_KExtendableItemDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKExtendableItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KExtendableItemDelegate(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KExtendableItemDelegate(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KExtendableItemDelegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKExtendableItemDelegate *sipCpp = 0;

    {
        QAbstractItemView* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QAbstractItemView, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKExtendableItemDelegate(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KExtendableItemDelegate[] = {{621, 2, 1}};


static PyMethodDef methods_KExtendableItemDelegate[] = {
    {SIP_MLNAME_CAST(sipName_contractAll), meth_KExtendableItemDelegate_contractAll, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contractItem), meth_KExtendableItemDelegate_contractItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contractPixmap), meth_KExtendableItemDelegate_contractPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extendItem), meth_KExtendableItemDelegate_extendItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extendPixmap), meth_KExtendableItemDelegate_extendPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_extenderRect), meth_KExtendableItemDelegate_extenderRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isExtended), meth_KExtendableItemDelegate_isExtended, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_KExtendableItemDelegate_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContractPixmap), meth_KExtendableItemDelegate_setContractPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExtendPixmap), meth_KExtendableItemDelegate_setExtendPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KExtendableItemDelegate_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateExtenderGeometry), meth_KExtendableItemDelegate_updateExtenderGeometry, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KExtendableItemDelegate[] = {
    {sipName_ShowExtensionIndicatorRole, static_cast<int>(KExtendableItemDelegate::ShowExtensionIndicatorRole), 108},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KExtendableItemDelegate[] = {
    {"extenderDestroyed(QWidget*,QModelIndex)", 0, 0, 0},
    {"extenderCreated(QWidget*,QModelIndex)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KExtendableItemDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KExtendableItemDelegate,
        {0}
    },
    {
        sipNameNr_KExtendableItemDelegate,
        {0, 0, 1},
        12, methods_KExtendableItemDelegate,
        1, enummembers_KExtendableItemDelegate,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KExtendableItemDelegate,
    0,
    init_type_KExtendableItemDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KExtendableItemDelegate,
    0,
    0,
    0,
    release_KExtendableItemDelegate,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KExtendableItemDelegate::staticMetaObject,
    0,
    signals_KExtendableItemDelegate,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kedittoolbar.sip"
#include <kedittoolbar.h>
#line 24807 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 24811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kxmlguifactory.sip"
#include <kxmlguifactory.h>
#line 24817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 24835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 24841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 24844 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 24847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 24850 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 24853 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 24856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 24859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 24862 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 24865 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24868 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 24871 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24874 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24877 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24880 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 24889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 24895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 24898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 24901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 24904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 24910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 24922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 24925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 24928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 24976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 24979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 24982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 24988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 24997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 25000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 25003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 25006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 25009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 25024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 25027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 25030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKEditToolBar : public KEditToolBar
{
public:
    sipKEditToolBar(KActionCollection*,QWidget*);
    sipKEditToolBar(KXMLGUIFactory*,QWidget*);
    virtual ~sipKEditToolBar();

    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 setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKEditToolBar(const sipKEditToolBar &);
    sipKEditToolBar &operator = (const sipKEditToolBar &);

    char sipPyMethods[54];
};

sipKEditToolBar::sipKEditToolBar(KActionCollection*a0,QWidget*a1): KEditToolBar(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditToolBar::sipKEditToolBar(KXMLGUIFactory*a0,QWidget*a1): KEditToolBar(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditToolBar::~sipKEditToolBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKEditToolBar::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KEditToolBar);
}

int sipKEditToolBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KEditToolBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KEditToolBar,_c,_id,_a);

    return _id;
}

void *sipKEditToolBar::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KEditToolBar, _clname)) ? this : KEditToolBar::qt_metacast(_clname);
}

void sipKEditToolBar::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KEditToolBar::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 sipKEditToolBar::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 KEditToolBar::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 sipKEditToolBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::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 KEditToolBar::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 sipKEditToolBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KEditToolBar::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* sipKEditToolBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KEditToolBar::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 sipKEditToolBar::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 KEditToolBar::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 sipKEditToolBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KEditToolBar::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 sipKEditToolBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KEditToolBar::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 sipKEditToolBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KEditToolBar::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 sipKEditToolBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KEditToolBar::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 sipKEditToolBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KEditToolBar::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 sipKEditToolBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KEditToolBar::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);
}


extern "C" {static PyObject *meth_KEditToolBar_setDefaultToolBar(PyObject *, PyObject *);}
static PyObject *meth_KEditToolBar_setDefaultToolBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KEditToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEditToolBar, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultToolBar(*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_KEditToolBar, sipName_setDefaultToolBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditToolBar_setResourceFile(PyObject *, PyObject *);}
static PyObject *meth_KEditToolBar_setResourceFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        bool a1 = 1;
        KEditToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|b", &sipSelf, sipType_KEditToolBar, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setResourceFile(*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_KEditToolBar, sipName_setResourceFile, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditToolBar_setGlobalDefaultToolBar(PyObject *, PyObject *);}
static PyObject *meth_KEditToolBar_setGlobalDefaultToolBar(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            KEditToolBar::setGlobalDefaultToolBar(a0);
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditToolBar, sipName_setGlobalDefaultToolBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditToolBar_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KEditToolBar_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        KEditToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KEditToolBar, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KEditToolBar::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_KEditToolBar, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditToolBar_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KEditToolBar_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        KEditToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KEditToolBar, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KEditToolBar::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_KEditToolBar, sipName_hideEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KEditToolBar(void *, const sipTypeDef *);}
static void *cast_KEditToolBar(void *sipCppV, const sipTypeDef *targetType)
{
    KEditToolBar *sipCpp = reinterpret_cast<KEditToolBar *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEditToolBar(void *, int);}
static void release_KEditToolBar(void *sipCppV,int)
{
    KEditToolBar *sipCpp = reinterpret_cast<KEditToolBar *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEditToolBar(sipSimpleWrapper *);}
static void dealloc_KEditToolBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKEditToolBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KEditToolBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KEditToolBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEditToolBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKEditToolBar *sipCpp = 0;

    {
        KActionCollection* a0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_KActionCollection, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditToolBar(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KXMLGUIFactory* a0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_KXMLGUIFactory, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditToolBar(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KEditToolBar[] = {{86, 255, 1}};


static PyMethodDef methods_KEditToolBar[] = {
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KEditToolBar_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultToolBar), meth_KEditToolBar_setDefaultToolBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGlobalDefaultToolBar), meth_KEditToolBar_setGlobalDefaultToolBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setResourceFile), meth_KEditToolBar_setResourceFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KEditToolBar_showEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KEditToolBar[] = {
    {"newToolbarConfig()", 0, 0, 0},
    {"newToolBarConfig()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KEditToolBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEditToolBar,
        {0}
    },
    {
        sipNameNr_KEditToolBar,
        {0, 0, 1},
        5, methods_KEditToolBar,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KEditToolBar,
    0,
    init_type_KEditToolBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEditToolBar,
    0,
    0,
    0,
    release_KEditToolBar,
    cast_KEditToolBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KEditToolBar::staticMetaObject,
    0,
    signals_KEditToolBar,
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 26395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 26399 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


extern "C" {static int slot_KEditListWidget_Buttons___bool__(PyObject *);}
static int slot_KEditListWidget_Buttons___bool__(PyObject *sipSelf)
{
    KEditListWidget::Buttons *sipCpp = reinterpret_cast<KEditListWidget::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListWidget_Buttons));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KEditListWidget::Buttons::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 26421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KEditListWidget_Buttons___ne__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KEditListWidget::Buttons *sipCpp = reinterpret_cast<KEditListWidget::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListWidget_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget::Buttons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KEditListWidget_Buttons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KEditListWidget::Buttons::Int() != a0->operator KEditListWidget::Buttons::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 26455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KEditListWidget::Buttons *>(a0),sipType_KEditListWidget_Buttons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KEditListWidget_Buttons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KEditListWidget_Buttons___eq__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KEditListWidget::Buttons *sipCpp = reinterpret_cast<KEditListWidget::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListWidget_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget::Buttons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KEditListWidget_Buttons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KEditListWidget::Buttons::Int() == a0->operator KEditListWidget::Buttons::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 26495 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KEditListWidget::Buttons *>(a0),sipType_KEditListWidget_Buttons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KEditListWidget_Buttons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KEditListWidget_Buttons___invert__(PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___invert__(PyObject *sipSelf)
{
    KEditListWidget::Buttons *sipCpp = reinterpret_cast<KEditListWidget::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListWidget_Buttons));

    if (!sipCpp)
        return 0;


    {
        {
            KEditListWidget::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListWidget::Buttons(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KEditListWidget_Buttons,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KEditListWidget_Buttons___and__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListWidget::Buttons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KEditListWidget_Buttons, &a0, &a0State, &a1))
        {
            KEditListWidget::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListWidget::Buttons((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListWidget_Buttons,a0State);

            return sipConvertFromNewType(sipRes,sipType_KEditListWidget_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_KEditListWidget_Buttons___xor__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListWidget::Buttons* a0;
        int a0State = 0;
        KEditListWidget::Buttons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KEditListWidget_Buttons, &a0, &a0State, sipType_KEditListWidget_Buttons, &a1, &a1State))
        {
            KEditListWidget::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListWidget::Buttons((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListWidget_Buttons,a0State);
            sipReleaseType(a1,sipType_KEditListWidget_Buttons,a1State);

            return sipConvertFromNewType(sipRes,sipType_KEditListWidget_Buttons,NULL);
        }
    }

    {
        KEditListWidget::Buttons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KEditListWidget_Buttons, &a0, &a0State, &a1))
        {
            KEditListWidget::Buttons*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KEditListWidget::Buttons(*a0 ^ a1);
#line 26604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KEditListWidget_Buttons,a0State);

            return sipConvertFromNewType(sipRes,sipType_KEditListWidget_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_KEditListWidget_Buttons___or__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListWidget::Buttons* a0;
        int a0State = 0;
        KEditListWidget::Buttons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KEditListWidget_Buttons, &a0, &a0State, sipType_KEditListWidget_Buttons, &a1, &a1State))
        {
            KEditListWidget::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListWidget::Buttons((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListWidget_Buttons,a0State);
            sipReleaseType(a1,sipType_KEditListWidget_Buttons,a1State);

            return sipConvertFromNewType(sipRes,sipType_KEditListWidget_Buttons,NULL);
        }
    }

    {
        KEditListWidget::Buttons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KEditListWidget_Buttons, &a0, &a0State, &a1))
        {
            KEditListWidget::Buttons*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KEditListWidget::Buttons(*a0 | a1);
#line 26656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KEditListWidget_Buttons,a0State);

            return sipConvertFromNewType(sipRes,sipType_KEditListWidget_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_KEditListWidget_Buttons___int__(PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___int__(PyObject *sipSelf)
{
    KEditListWidget::Buttons *sipCpp = reinterpret_cast<KEditListWidget::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListWidget_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_KEditListWidget_Buttons___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KEditListWidget_Buttons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KEditListWidget::Buttons *sipCpp = reinterpret_cast<KEditListWidget::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListWidget_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KEditListWidget::Buttons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KEditListWidget_Buttons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KEditListWidget::Buttons::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListWidget_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_KEditListWidget_Buttons___ior__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KEditListWidget_Buttons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KEditListWidget::Buttons *sipCpp = reinterpret_cast<KEditListWidget::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListWidget_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KEditListWidget::Buttons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KEditListWidget_Buttons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KEditListWidget::Buttons::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListWidget_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_KEditListWidget_Buttons___iand__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KEditListWidget_Buttons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KEditListWidget::Buttons *sipCpp = reinterpret_cast<KEditListWidget::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListWidget_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KEditListWidget::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;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEditListWidget_Buttons(void *, int);}
static void release_KEditListWidget_Buttons(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KEditListWidget::Buttons *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KEditListWidget_Buttons(void *, SIP_SSIZE_T, const void *);}
static void assign_KEditListWidget_Buttons(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KEditListWidget::Buttons *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KEditListWidget::Buttons *>(sipSrc);
}


extern "C" {static void *array_KEditListWidget_Buttons(SIP_SSIZE_T);}
static void *array_KEditListWidget_Buttons(SIP_SSIZE_T sipNrElem)
{
    return new KEditListWidget::Buttons[sipNrElem];
}


extern "C" {static void *copy_KEditListWidget_Buttons(const void *, SIP_SSIZE_T);}
static void *copy_KEditListWidget_Buttons(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KEditListWidget::Buttons(reinterpret_cast<const KEditListWidget::Buttons *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KEditListWidget_Buttons(sipSimpleWrapper *);}
static void dealloc_KEditListWidget_Buttons(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KEditListWidget_Buttons(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KEditListWidget_Buttons(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEditListWidget_Buttons(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KEditListWidget::Buttons *sipCpp = 0;

    {
        const KEditListWidget::Buttons* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KEditListWidget_Buttons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEditListWidget::Buttons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KEditListWidget::Buttons *>(a0),sipType_KEditListWidget_Buttons,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEditListWidget::Buttons(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEditListWidget::Buttons();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KEditListWidget_Buttons(PyObject *, void **, int *, PyObject *);}
static int convertTo_KEditListWidget_Buttons(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KEditListWidget::Buttons **sipCppPtr = reinterpret_cast<KEditListWidget::Buttons **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KEditListWidget::Buttons is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KEditListWidget_Button)) ||
            sipCanConvertToType(sipPy, sipType_KEditListWidget_Buttons, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KEditListWidget_Button)))
{
    *sipCppPtr = new KEditListWidget::Buttons(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KEditListWidget::Buttons *>(sipConvertToType(sipPy, sipType_KEditListWidget_Buttons, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 26940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KEditListWidget_Buttons[] = {
    {(void *)slot_KEditListWidget_Buttons___bool__, bool_slot},
    {(void *)slot_KEditListWidget_Buttons___ne__, ne_slot},
    {(void *)slot_KEditListWidget_Buttons___eq__, eq_slot},
    {(void *)slot_KEditListWidget_Buttons___invert__, invert_slot},
    {(void *)slot_KEditListWidget_Buttons___and__, and_slot},
    {(void *)slot_KEditListWidget_Buttons___xor__, xor_slot},
    {(void *)slot_KEditListWidget_Buttons___or__, or_slot},
    {(void *)slot_KEditListWidget_Buttons___int__, int_slot},
    {(void *)slot_KEditListWidget_Buttons___ixor__, ixor_slot},
    {(void *)slot_KEditListWidget_Buttons___ior__, ior_slot},
    {(void *)slot_KEditListWidget_Buttons___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KEditListWidget_Buttons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEditListWidget__Buttons,
        {0}
    },
    {
        sipNameNr_Buttons,
        {102, 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_KEditListWidget_Buttons,
    init_type_KEditListWidget_Buttons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEditListWidget_Buttons,
    assign_KEditListWidget_Buttons,
    array_KEditListWidget_Buttons,
    copy_KEditListWidget_Buttons,
    release_KEditListWidget_Buttons,
    0,
    convertTo_KEditListWidget_Buttons,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 27018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27022 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 27025 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcombobox.sip"
#include <kcombobox.h>
#line 27028 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKEditListWidget_CustomEditor : public KEditListWidget::CustomEditor
{
public:
    sipKEditListWidget_CustomEditor();
    sipKEditListWidget_CustomEditor(QWidget*,KLineEdit*);
    sipKEditListWidget_CustomEditor(KComboBox*);
    virtual ~sipKEditListWidget_CustomEditor();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    KLineEdit* lineEdit() const;
    QWidget* representationWidget() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKEditListWidget_CustomEditor(const sipKEditListWidget_CustomEditor &);
    sipKEditListWidget_CustomEditor &operator = (const sipKEditListWidget_CustomEditor &);

    char sipPyMethods[2];
};

sipKEditListWidget_CustomEditor::sipKEditListWidget_CustomEditor(): KEditListWidget::CustomEditor(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListWidget_CustomEditor::sipKEditListWidget_CustomEditor(QWidget*a0,KLineEdit*a1): KEditListWidget::CustomEditor(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListWidget_CustomEditor::sipKEditListWidget_CustomEditor(KComboBox*a0): KEditListWidget::CustomEditor(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListWidget_CustomEditor::~sipKEditListWidget_CustomEditor()
{
    sipCommonDtor(sipPySelf);
}

KLineEdit* sipKEditListWidget_CustomEditor::lineEdit() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_lineEdit);

    if (!sipMeth)
        return KEditListWidget::CustomEditor::lineEdit();

    extern KLineEdit* sipVH_kdeui_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_75(sipGILState, 0, sipPySelf, sipMeth);
}

QWidget* sipKEditListWidget_CustomEditor::representationWidget() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_representationWidget);

    if (!sipMeth)
        return KEditListWidget::CustomEditor::representationWidget();

    typedef QWidget* (*sipVH_QtGui_106)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_106)(sipModuleAPI_kdeui_QtGui->em_virthandlers[106]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KEditListWidget_CustomEditor_setRepresentationWidget(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_CustomEditor_setRepresentationWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KEditListWidget::CustomEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KEditListWidget_CustomEditor, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRepresentationWidget(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_CustomEditor, sipName_setRepresentationWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_CustomEditor_setLineEdit(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_CustomEditor_setLineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KLineEdit* a0;
        KEditListWidget::CustomEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KEditListWidget_CustomEditor, &sipCpp, sipType_KLineEdit, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLineEdit(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_CustomEditor, sipName_setLineEdit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_CustomEditor_representationWidget(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_CustomEditor_representationWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KEditListWidget::CustomEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget_CustomEditor, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KEditListWidget::CustomEditor::representationWidget() : sipCpp->representationWidget());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CustomEditor, sipName_representationWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_CustomEditor_lineEdit(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_CustomEditor_lineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KEditListWidget::CustomEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget_CustomEditor, &sipCpp))
        {
            KLineEdit*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KEditListWidget::CustomEditor::lineEdit() : sipCpp->lineEdit());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CustomEditor, sipName_lineEdit, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEditListWidget_CustomEditor(void *, int);}
static void release_KEditListWidget_CustomEditor(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKEditListWidget_CustomEditor *>(sipCppV);
    else
        delete reinterpret_cast<KEditListWidget::CustomEditor *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEditListWidget_CustomEditor(sipSimpleWrapper *);}
static void dealloc_KEditListWidget_CustomEditor(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKEditListWidget_CustomEditor *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KEditListWidget_CustomEditor(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KEditListWidget_CustomEditor(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEditListWidget_CustomEditor(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKEditListWidget_CustomEditor *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListWidget_CustomEditor();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;
        KLineEdit* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8", sipType_QWidget, &a0, sipType_KLineEdit, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListWidget_CustomEditor(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KComboBox* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_KComboBox, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListWidget_CustomEditor(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KEditListWidget_CustomEditor[] = {
    {SIP_MLNAME_CAST(sipName_lineEdit), meth_KEditListWidget_CustomEditor_lineEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_representationWidget), meth_KEditListWidget_CustomEditor_representationWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLineEdit), meth_KEditListWidget_CustomEditor_setLineEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRepresentationWidget), meth_KEditListWidget_CustomEditor_setRepresentationWidget, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KEditListWidget_CustomEditor = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEditListWidget__CustomEditor,
        {0}
    },
    {
        sipNameNr_CustomEditor,
        {102, 255, 0},
        4, methods_KEditListWidget_CustomEditor,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KEditListWidget_CustomEditor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEditListWidget_CustomEditor,
    0,
    0,
    0,
    release_KEditListWidget_CustomEditor,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 27362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 30 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 27371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 27374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 27377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 27380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 27386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 27389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 27392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 27395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 27401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 27410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 27413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 27416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 27419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 27422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 27425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 27431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 27437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 27440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 27443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 27446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 27449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 27455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 27515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 27518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 27521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 27527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 27530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 27533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 27539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 27542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 27545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 27548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 27551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 27566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKEditListWidget : public KEditListWidget
{
public:
    sipKEditListWidget(QWidget*);
    sipKEditListWidget(const KEditListWidget::CustomEditor&,QWidget*,bool,KEditListWidget::Buttons);
    virtual ~sipKEditListWidget();

    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:
    sipKEditListWidget(const sipKEditListWidget &);
    sipKEditListWidget &operator = (const sipKEditListWidget &);

    char sipPyMethods[47];
};

sipKEditListWidget::sipKEditListWidget(QWidget*a0): KEditListWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListWidget::sipKEditListWidget(const KEditListWidget::CustomEditor& a0,QWidget*a1,bool a2,KEditListWidget::Buttons a3): KEditListWidget(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListWidget::~sipKEditListWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKEditListWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KEditListWidget);
}

int sipKEditListWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KEditListWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KEditListWidget,_c,_id,_a);

    return _id;
}

void *sipKEditListWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KEditListWidget, _clname)) ? this : KEditListWidget::qt_metacast(_clname);
}

void sipKEditListWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KEditListWidget::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 sipKEditListWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KEditListWidget::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 sipKEditListWidget::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 KEditListWidget::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 sipKEditListWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::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 KEditListWidget::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 sipKEditListWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KEditListWidget::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* sipKEditListWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KEditListWidget::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 sipKEditListWidget::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 KEditListWidget::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 sipKEditListWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KEditListWidget::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 sipKEditListWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KEditListWidget::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 sipKEditListWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KEditListWidget::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 sipKEditListWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KEditListWidget::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_KEditListWidget_listView(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_listView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &sipCpp))
        {
            QListView*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->listView();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QListView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_listView, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_lineEdit(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_lineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &sipCpp))
        {
            KLineEdit*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lineEdit();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_lineEdit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_addButton(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_addButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &sipCpp))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_addButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_removeButton(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_removeButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &sipCpp))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_removeButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_upButton(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_upButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &sipCpp))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->upButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_upButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_downButton(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_downButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &sipCpp))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->downButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_downButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_count(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &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_KEditListWidget, sipName_count, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_insertStringList(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_insertStringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        int a1 = -1;
        KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|i", &sipSelf, sipType_KEditListWidget, &sipCpp, sipType_QStringList,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertStringList(*a0,a1);
            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_KEditListWidget, sipName_insertStringList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_insertItem(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_insertItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1 = -1;
        KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|i", &sipSelf, sipType_KEditListWidget, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertItem(*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_KEditListWidget, sipName_insertItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_clear(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &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_KEditListWidget, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_text(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KEditListWidget, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_currentItem(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_currentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &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_KEditListWidget, sipName_currentItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_currentText(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_currentText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &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_KEditListWidget, sipName_currentText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_items(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &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_KEditListWidget, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_setItems(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_setItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEditListWidget, &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_KEditListWidget, sipName_setItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_buttons(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_buttons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &sipCpp))
        {
            KEditListWidget::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListWidget::Buttons(sipCpp->buttons());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KEditListWidget_Buttons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_buttons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_setButtons(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_setButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListWidget::Buttons* a0;
        int a0State = 0;
        KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEditListWidget, &sipCpp, sipType_KEditListWidget_Buttons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListWidget_Buttons,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_setButtons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_setCheckAtEntering(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_setCheckAtEntering(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KEditListWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckAtEntering(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_KEditListWidget, sipName_setCheckAtEntering, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_checkAtEntering(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_checkAtEntering(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkAtEntering();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListWidget, sipName_checkAtEntering, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_setCustomEditor(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_setCustomEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListWidget::CustomEditor* a0;
        KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KEditListWidget, &sipCpp, sipType_KEditListWidget_CustomEditor, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomEditor(*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_KEditListWidget, sipName_setCustomEditor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListWidget_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KEditListWidget_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KEditListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KEditListWidget, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KEditListWidget::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_KEditListWidget, sipName_eventFilter, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KEditListWidget(void *, const sipTypeDef *);}
static void *cast_KEditListWidget(void *sipCppV, const sipTypeDef *targetType)
{
    KEditListWidget *sipCpp = reinterpret_cast<KEditListWidget *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEditListWidget(void *, int);}
static void release_KEditListWidget(void *sipCppV,int)
{
    KEditListWidget *sipCpp = reinterpret_cast<KEditListWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEditListWidget(sipSimpleWrapper *);}
static void dealloc_KEditListWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKEditListWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KEditListWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KEditListWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEditListWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKEditListWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KEditListWidget::CustomEditor* a0;
        QWidget* a1 = 0;
        bool a2 = 0;
        KEditListWidget::Buttons a3def = KEditListWidget::All;
        KEditListWidget::Buttons* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JHbJ1", sipType_KEditListWidget_CustomEditor, &a0, sipType_QWidget, &a1, sipOwner, &a2, sipType_KEditListWidget_Buttons, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListWidget(*a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_KEditListWidget_Buttons,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KEditListWidget[] = {{755, 2, 1}};


static PyMethodDef methods_KEditListWidget[] = {
    {SIP_MLNAME_CAST(sipName_addButton), meth_KEditListWidget_addButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttons), meth_KEditListWidget_buttons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkAtEntering), meth_KEditListWidget_checkAtEntering, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KEditListWidget_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_KEditListWidget_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentItem), meth_KEditListWidget_currentItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentText), meth_KEditListWidget_currentText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_downButton), meth_KEditListWidget_downButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KEditListWidget_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertItem), meth_KEditListWidget_insertItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertStringList), meth_KEditListWidget_insertStringList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KEditListWidget_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEdit), meth_KEditListWidget_lineEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listView), meth_KEditListWidget_listView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeButton), meth_KEditListWidget_removeButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtons), meth_KEditListWidget_setButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckAtEntering), meth_KEditListWidget_setCheckAtEntering, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomEditor), meth_KEditListWidget_setCustomEditor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KEditListWidget_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KEditListWidget_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_upButton), meth_KEditListWidget_upButton, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KEditListWidget[] = {
    {sipName_Add, static_cast<int>(KEditListWidget::Add), 103},
    {sipName_All, static_cast<int>(KEditListWidget::All), 103},
    {sipName_Remove, static_cast<int>(KEditListWidget::Remove), 103},
    {sipName_UpDown, static_cast<int>(KEditListWidget::UpDown), 103},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KEditListWidget[] = {
    {"removed(QString)", 0, 0, 0},
    {"added(QString)", 0, 0, 0},
    {"changed()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KEditListWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEditListWidget,
        {0}
    },
    {
        sipNameNr_KEditListWidget,
        {0, 0, 1},
        21, methods_KEditListWidget,
        4, enummembers_KEditListWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KEditListWidget,
    0,
    init_type_KEditListWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEditListWidget,
    0,
    0,
    0,
    release_KEditListWidget,
    cast_KEditListWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KEditListWidget::staticMetaObject,
    0,
    signals_KEditListWidget,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 29269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 29273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


extern "C" {static int slot_KEditListBox_Buttons___bool__(PyObject *);}
static int slot_KEditListBox_Buttons___bool__(PyObject *sipSelf)
{
    KEditListBox::Buttons *sipCpp = reinterpret_cast<KEditListBox::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListBox_Buttons));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KEditListBox::Buttons::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 29295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KEditListBox_Buttons___ne__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KEditListBox::Buttons *sipCpp = reinterpret_cast<KEditListBox::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListBox_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KEditListBox::Buttons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KEditListBox_Buttons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KEditListBox::Buttons::Int() != a0->operator KEditListBox::Buttons::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 29329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KEditListBox::Buttons *>(a0),sipType_KEditListBox_Buttons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KEditListBox_Buttons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KEditListBox_Buttons___eq__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KEditListBox::Buttons *sipCpp = reinterpret_cast<KEditListBox::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListBox_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KEditListBox::Buttons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KEditListBox_Buttons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KEditListBox::Buttons::Int() == a0->operator KEditListBox::Buttons::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 29369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KEditListBox::Buttons *>(a0),sipType_KEditListBox_Buttons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KEditListBox_Buttons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KEditListBox_Buttons___invert__(PyObject *);}
static PyObject *slot_KEditListBox_Buttons___invert__(PyObject *sipSelf)
{
    KEditListBox::Buttons *sipCpp = reinterpret_cast<KEditListBox::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListBox_Buttons));

    if (!sipCpp)
        return 0;


    {
        {
            KEditListBox::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListBox::Buttons(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KEditListBox_Buttons,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KEditListBox_Buttons___and__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox::Buttons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KEditListBox_Buttons, &a0, &a0State, &a1))
        {
            KEditListBox::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListBox::Buttons((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListBox_Buttons,a0State);

            return sipConvertFromNewType(sipRes,sipType_KEditListBox_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_KEditListBox_Buttons___xor__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox::Buttons* a0;
        int a0State = 0;
        KEditListBox::Buttons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KEditListBox_Buttons, &a0, &a0State, sipType_KEditListBox_Buttons, &a1, &a1State))
        {
            KEditListBox::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListBox::Buttons((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListBox_Buttons,a0State);
            sipReleaseType(a1,sipType_KEditListBox_Buttons,a1State);

            return sipConvertFromNewType(sipRes,sipType_KEditListBox_Buttons,NULL);
        }
    }

    {
        KEditListBox::Buttons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KEditListBox_Buttons, &a0, &a0State, &a1))
        {
            KEditListBox::Buttons*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KEditListBox::Buttons(*a0 ^ a1);
#line 29478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KEditListBox_Buttons,a0State);

            return sipConvertFromNewType(sipRes,sipType_KEditListBox_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_KEditListBox_Buttons___or__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox::Buttons* a0;
        int a0State = 0;
        KEditListBox::Buttons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KEditListBox_Buttons, &a0, &a0State, sipType_KEditListBox_Buttons, &a1, &a1State))
        {
            KEditListBox::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListBox::Buttons((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListBox_Buttons,a0State);
            sipReleaseType(a1,sipType_KEditListBox_Buttons,a1State);

            return sipConvertFromNewType(sipRes,sipType_KEditListBox_Buttons,NULL);
        }
    }

    {
        KEditListBox::Buttons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KEditListBox_Buttons, &a0, &a0State, &a1))
        {
            KEditListBox::Buttons*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KEditListBox::Buttons(*a0 | a1);
#line 29530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KEditListBox_Buttons,a0State);

            return sipConvertFromNewType(sipRes,sipType_KEditListBox_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_KEditListBox_Buttons___int__(PyObject *);}
static PyObject *slot_KEditListBox_Buttons___int__(PyObject *sipSelf)
{
    KEditListBox::Buttons *sipCpp = reinterpret_cast<KEditListBox::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListBox_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_KEditListBox_Buttons___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KEditListBox_Buttons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KEditListBox::Buttons *sipCpp = reinterpret_cast<KEditListBox::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListBox_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KEditListBox::Buttons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KEditListBox_Buttons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KEditListBox::Buttons::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListBox_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_KEditListBox_Buttons___ior__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KEditListBox_Buttons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KEditListBox::Buttons *sipCpp = reinterpret_cast<KEditListBox::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListBox_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KEditListBox::Buttons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KEditListBox_Buttons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KEditListBox::Buttons::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListBox_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_KEditListBox_Buttons___iand__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KEditListBox_Buttons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KEditListBox::Buttons *sipCpp = reinterpret_cast<KEditListBox::Buttons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KEditListBox_Buttons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KEditListBox::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;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEditListBox_Buttons(void *, int);}
static void release_KEditListBox_Buttons(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KEditListBox::Buttons *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KEditListBox_Buttons(void *, SIP_SSIZE_T, const void *);}
static void assign_KEditListBox_Buttons(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KEditListBox::Buttons *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KEditListBox::Buttons *>(sipSrc);
}


extern "C" {static void *array_KEditListBox_Buttons(SIP_SSIZE_T);}
static void *array_KEditListBox_Buttons(SIP_SSIZE_T sipNrElem)
{
    return new KEditListBox::Buttons[sipNrElem];
}


extern "C" {static void *copy_KEditListBox_Buttons(const void *, SIP_SSIZE_T);}
static void *copy_KEditListBox_Buttons(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KEditListBox::Buttons(reinterpret_cast<const KEditListBox::Buttons *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KEditListBox_Buttons(sipSimpleWrapper *);}
static void dealloc_KEditListBox_Buttons(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KEditListBox_Buttons(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KEditListBox_Buttons(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEditListBox_Buttons(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KEditListBox::Buttons *sipCpp = 0;

    {
        const KEditListBox::Buttons* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KEditListBox_Buttons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEditListBox::Buttons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KEditListBox::Buttons *>(a0),sipType_KEditListBox_Buttons,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEditListBox::Buttons(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KEditListBox::Buttons();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KEditListBox_Buttons(PyObject *, void **, int *, PyObject *);}
static int convertTo_KEditListBox_Buttons(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KEditListBox::Buttons **sipCppPtr = reinterpret_cast<KEditListBox::Buttons **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KEditListBox::Buttons is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KEditListBox_Button)) ||
            sipCanConvertToType(sipPy, sipType_KEditListBox_Buttons, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KEditListBox_Button)))
{
    *sipCppPtr = new KEditListBox::Buttons(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KEditListBox::Buttons *>(sipConvertToType(sipPy, sipType_KEditListBox_Buttons, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 29814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KEditListBox_Buttons[] = {
    {(void *)slot_KEditListBox_Buttons___bool__, bool_slot},
    {(void *)slot_KEditListBox_Buttons___ne__, ne_slot},
    {(void *)slot_KEditListBox_Buttons___eq__, eq_slot},
    {(void *)slot_KEditListBox_Buttons___invert__, invert_slot},
    {(void *)slot_KEditListBox_Buttons___and__, and_slot},
    {(void *)slot_KEditListBox_Buttons___xor__, xor_slot},
    {(void *)slot_KEditListBox_Buttons___or__, or_slot},
    {(void *)slot_KEditListBox_Buttons___int__, int_slot},
    {(void *)slot_KEditListBox_Buttons___ixor__, ixor_slot},
    {(void *)slot_KEditListBox_Buttons___ior__, ior_slot},
    {(void *)slot_KEditListBox_Buttons___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KEditListBox_Buttons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEditListBox__Buttons,
        {0}
    },
    {
        sipNameNr_Buttons,
        {98, 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_KEditListBox_Buttons,
    init_type_KEditListBox_Buttons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEditListBox_Buttons,
    assign_KEditListBox_Buttons,
    array_KEditListBox_Buttons,
    copy_KEditListBox_Buttons,
    release_KEditListBox_Buttons,
    0,
    convertTo_KEditListBox_Buttons,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 29890 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 29894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 29897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcombobox.sip"
#include <kcombobox.h>
#line 29900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKEditListBox_CustomEditor : public KEditListBox::CustomEditor
{
public:
    sipKEditListBox_CustomEditor();
    sipKEditListBox_CustomEditor(QWidget*,KLineEdit*);
    sipKEditListBox_CustomEditor(KComboBox*);
    virtual ~sipKEditListBox_CustomEditor();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    KLineEdit* lineEdit() const;
    QWidget* representationWidget() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKEditListBox_CustomEditor(const sipKEditListBox_CustomEditor &);
    sipKEditListBox_CustomEditor &operator = (const sipKEditListBox_CustomEditor &);

    char sipPyMethods[2];
};

sipKEditListBox_CustomEditor::sipKEditListBox_CustomEditor(): KEditListBox::CustomEditor(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListBox_CustomEditor::sipKEditListBox_CustomEditor(QWidget*a0,KLineEdit*a1): KEditListBox::CustomEditor(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListBox_CustomEditor::sipKEditListBox_CustomEditor(KComboBox*a0): KEditListBox::CustomEditor(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListBox_CustomEditor::~sipKEditListBox_CustomEditor()
{
    sipCommonDtor(sipPySelf);
}

KLineEdit* sipKEditListBox_CustomEditor::lineEdit() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_lineEdit);

    if (!sipMeth)
        return KEditListBox::CustomEditor::lineEdit();

    extern KLineEdit* sipVH_kdeui_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_75(sipGILState, 0, sipPySelf, sipMeth);
}

QWidget* sipKEditListBox_CustomEditor::representationWidget() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_representationWidget);

    if (!sipMeth)
        return KEditListBox::CustomEditor::representationWidget();

    typedef QWidget* (*sipVH_QtGui_106)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_106)(sipModuleAPI_kdeui_QtGui->em_virthandlers[106]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KEditListBox_CustomEditor_setRepresentationWidget(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_CustomEditor_setRepresentationWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KEditListBox::CustomEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KEditListBox_CustomEditor, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRepresentationWidget(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_CustomEditor, sipName_setRepresentationWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_CustomEditor_setLineEdit(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_CustomEditor_setLineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KLineEdit* a0;
        KEditListBox::CustomEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KEditListBox_CustomEditor, &sipCpp, sipType_KLineEdit, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLineEdit(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_CustomEditor, sipName_setLineEdit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_CustomEditor_representationWidget(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_CustomEditor_representationWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KEditListBox::CustomEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox_CustomEditor, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KEditListBox::CustomEditor::representationWidget() : sipCpp->representationWidget());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CustomEditor, sipName_representationWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_CustomEditor_lineEdit(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_CustomEditor_lineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KEditListBox::CustomEditor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox_CustomEditor, &sipCpp))
        {
            KLineEdit*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KEditListBox::CustomEditor::lineEdit() : sipCpp->lineEdit());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CustomEditor, sipName_lineEdit, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEditListBox_CustomEditor(void *, int);}
static void release_KEditListBox_CustomEditor(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKEditListBox_CustomEditor *>(sipCppV);
    else
        delete reinterpret_cast<KEditListBox::CustomEditor *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEditListBox_CustomEditor(sipSimpleWrapper *);}
static void dealloc_KEditListBox_CustomEditor(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKEditListBox_CustomEditor *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KEditListBox_CustomEditor(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KEditListBox_CustomEditor(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEditListBox_CustomEditor(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKEditListBox_CustomEditor *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListBox_CustomEditor();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;
        KLineEdit* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8", sipType_QWidget, &a0, sipType_KLineEdit, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListBox_CustomEditor(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KComboBox* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_KComboBox, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListBox_CustomEditor(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KEditListBox_CustomEditor[] = {
    {SIP_MLNAME_CAST(sipName_lineEdit), meth_KEditListBox_CustomEditor_lineEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_representationWidget), meth_KEditListBox_CustomEditor_representationWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLineEdit), meth_KEditListBox_CustomEditor_setLineEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRepresentationWidget), meth_KEditListBox_CustomEditor_setRepresentationWidget, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KEditListBox_CustomEditor = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEditListBox__CustomEditor,
        {0}
    },
    {
        sipNameNr_CustomEditor,
        {98, 255, 0},
        4, methods_KEditListBox_CustomEditor,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KEditListBox_CustomEditor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEditListBox_CustomEditor,
    0,
    0,
    0,
    release_KEditListBox_CustomEditor,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 30234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 30241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 30244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 30247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 30250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 30253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 30259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 30262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 30265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 30268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 1848 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 30286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 30289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 30298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 30307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 30310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 30313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 30316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 30319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 30322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 30328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 30334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 30337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 30340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 30343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 30349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 30352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 30397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 30400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 30403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 30409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 30412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 30415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 30421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 30424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 30427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 30430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 30433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 30445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 30448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 30451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKEditListBox : public KEditListBox
{
public:
    sipKEditListBox(QWidget*);
    sipKEditListBox(const QString&,QWidget*);
    sipKEditListBox(QWidget*,const char*,bool,KEditListBox::Buttons);
    sipKEditListBox(const QString&,QWidget*,const char*,bool,KEditListBox::Buttons);
    sipKEditListBox(const QString&,const KEditListBox::CustomEditor&,QWidget*,const char*,bool,KEditListBox::Buttons);
    virtual ~sipKEditListBox();

    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*);
    void childEvent(QChildEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKEditListBox(const sipKEditListBox &);
    sipKEditListBox &operator = (const sipKEditListBox &);

    char sipPyMethods[47];
};

sipKEditListBox::sipKEditListBox(QWidget*a0): KEditListBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListBox::sipKEditListBox(const QString& a0,QWidget*a1): KEditListBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListBox::sipKEditListBox(QWidget*a0,const char*a1,bool a2,KEditListBox::Buttons a3): KEditListBox(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListBox::sipKEditListBox(const QString& a0,QWidget*a1,const char*a2,bool a3,KEditListBox::Buttons a4): KEditListBox(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListBox::sipKEditListBox(const QString& a0,const KEditListBox::CustomEditor& a1,QWidget*a2,const char*a3,bool a4,KEditListBox::Buttons a5): KEditListBox(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKEditListBox::~sipKEditListBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKEditListBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KEditListBox);
}

int sipKEditListBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KEditListBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KEditListBox,_c,_id,_a);

    return _id;
}

void *sipKEditListBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KEditListBox, _clname)) ? this : KEditListBox::qt_metacast(_clname);
}

void sipKEditListBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KEditListBox::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 sipKEditListBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KEditListBox::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 sipKEditListBox::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 KEditListBox::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 sipKEditListBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::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 KEditListBox::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 sipKEditListBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KEditListBox::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* sipKEditListBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KEditListBox::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 sipKEditListBox::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 KEditListBox::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 sipKEditListBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KEditListBox::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 sipKEditListBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KEditListBox::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 sipKEditListBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KEditListBox::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 sipKEditListBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KEditListBox::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 sipKEditListBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KEditListBox::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_KEditListBox_listView(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_listView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            QListView*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->listView();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QListView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_listView, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_lineEdit(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_lineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            KLineEdit*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lineEdit();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_lineEdit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_addButton(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_addButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_addButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_removeButton(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_removeButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_removeButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_upButton(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_upButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->upButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_upButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_downButton(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_downButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->downButton();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_downButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_count(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &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_KEditListBox, sipName_count, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_insertStringList(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_insertStringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        int a1 = -1;
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|i", &sipSelf, sipType_KEditListBox, &sipCpp, sipType_QStringList,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertStringList(*a0,a1);
            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_KEditListBox, sipName_insertStringList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_insertItem(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_insertItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1 = -1;
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|i", &sipSelf, sipType_KEditListBox, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertItem(*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_KEditListBox, sipName_insertItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_clear(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &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_KEditListBox, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_text(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KEditListBox, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_text, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_currentItem(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_currentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &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_KEditListBox, sipName_currentItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_currentText(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_currentText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &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_KEditListBox, sipName_currentText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_items(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &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_KEditListBox, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_setItems(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_setItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEditListBox, &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_KEditListBox, sipName_setItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_buttons(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_buttons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            KEditListBox::Buttons*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KEditListBox::Buttons(sipCpp->buttons());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KEditListBox_Buttons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_buttons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_setButtons(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_setButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox::Buttons* a0;
        int a0State = 0;
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KEditListBox, &sipCpp, sipType_KEditListBox_Buttons, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtons(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KEditListBox_Buttons,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_setButtons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_setCheckAtEntering(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_setCheckAtEntering(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KEditListBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckAtEntering(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_KEditListBox, sipName_setCheckAtEntering, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_checkAtEntering(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_checkAtEntering(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkAtEntering();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_checkAtEntering, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_setCustomEditor(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_setCustomEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KEditListBox::CustomEditor* a0;
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KEditListBox, &sipCpp, sipType_KEditListBox_CustomEditor, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomEditor(*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_KEditListBox, sipName_setCustomEditor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KEditListBox, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KEditListBox::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_KEditListBox, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_moveItemUp(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_moveItemUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveItemUp();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_moveItemUp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_moveItemDown(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_moveItemDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveItemDown();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_moveItemDown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_addItem(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addItem();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_addItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_removeItem(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_removeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KEditListBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeItem();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KEditListBox, sipName_removeItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_enableMoveButtons(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_enableMoveButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J9", &sipSelf, sipType_KEditListBox, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableMoveButtons(*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_KEditListBox, sipName_enableMoveButtons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KEditListBox_typedSomething(PyObject *, PyObject *);}
static PyObject *meth_KEditListBox_typedSomething(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KEditListBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KEditListBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->typedSomething(*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_KEditListBox, sipName_typedSomething, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KEditListBox(void *, const sipTypeDef *);}
static void *cast_KEditListBox(void *sipCppV, const sipTypeDef *targetType)
{
    KEditListBox *sipCpp = reinterpret_cast<KEditListBox *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KEditListBox(void *, int);}
static void release_KEditListBox(void *sipCppV,int)
{
    KEditListBox *sipCpp = reinterpret_cast<KEditListBox *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KEditListBox(sipSimpleWrapper *);}
static void dealloc_KEditListBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKEditListBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KEditListBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KEditListBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KEditListBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKEditListBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListBox(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;
        const char* a1;
        PyObject *a1Keep;
        bool a2 = 0;
        KEditListBox::Buttons a3def = KEditListBox::All;
        KEditListBox::Buttons* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHAA|bJ1", sipType_QWidget, &a0, sipOwner, &a1Keep, &a1, &a2, sipType_KEditListBox_Buttons, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListBox(a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            Py_DECREF(a1Keep);
            sipReleaseType(a3,sipType_KEditListBox_Buttons,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1;
        const char* a2;
        PyObject *a2Keep;
        bool a3 = 0;
        KEditListBox::Buttons a4def = KEditListBox::All;
        KEditListBox::Buttons* a4 = &a4def;
        int a4State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JHAA|bJ1", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner, &a2Keep, &a2, &a3, sipType_KEditListBox_Buttons, &a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListBox(*a0,a1,a2,a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            Py_DECREF(a2Keep);
            sipReleaseType(a4,sipType_KEditListBox_Buttons,a4State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const KEditListBox::CustomEditor* a1;
        QWidget* a2 = 0;
        const char* a3 = 0;
        PyObject *a3Keep = 0;
        bool a4 = 0;
        KEditListBox::Buttons a5def = KEditListBox::All;
        KEditListBox::Buttons* a5 = &a5def;
        int a5State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J9|JHAAbJ1", sipType_QString,&a0, &a0State, sipType_KEditListBox_CustomEditor, &a1, sipType_QWidget, &a2, sipOwner, &a3Keep, &a3, &a4, sipType_KEditListBox_Buttons, &a5, &a5State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListBox(*a0,*a1,a2,a3,a4,*a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            Py_XDECREF(a3Keep);
            sipReleaseType(a5,sipType_KEditListBox_Buttons,a5State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KEditListBox[] = {{220, 2, 1}};


static PyMethodDef methods_KEditListBox[] = {
    {SIP_MLNAME_CAST(sipName_addButton), meth_KEditListBox_addButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), meth_KEditListBox_addItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttons), meth_KEditListBox_buttons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkAtEntering), meth_KEditListBox_checkAtEntering, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KEditListBox_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_KEditListBox_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentItem), meth_KEditListBox_currentItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentText), meth_KEditListBox_currentText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_downButton), meth_KEditListBox_downButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableMoveButtons), meth_KEditListBox_enableMoveButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KEditListBox_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertItem), meth_KEditListBox_insertItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertStringList), meth_KEditListBox_insertStringList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KEditListBox_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEdit), meth_KEditListBox_lineEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listView), meth_KEditListBox_listView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveItemDown), meth_KEditListBox_moveItemDown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveItemUp), meth_KEditListBox_moveItemUp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeButton), meth_KEditListBox_removeButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_KEditListBox_removeItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtons), meth_KEditListBox_setButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckAtEntering), meth_KEditListBox_setCheckAtEntering, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomEditor), meth_KEditListBox_setCustomEditor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KEditListBox_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_KEditListBox_text, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_typedSomething), meth_KEditListBox_typedSomething, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_upButton), meth_KEditListBox_upButton, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KEditListBox[] = {
    {sipName_Add, static_cast<int>(KEditListBox::Add), 99},
    {sipName_All, static_cast<int>(KEditListBox::All), 99},
    {sipName_Remove, static_cast<int>(KEditListBox::Remove), 99},
    {sipName_UpDown, static_cast<int>(KEditListBox::UpDown), 99},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KEditListBox[] = {
    {"removed(QString)", 0, 0, 0},
    {"added(QString)", 0, 0, 0},
    {"changed()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KEditListBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEditListBox,
        {0}
    },
    {
        sipNameNr_KEditListBox,
        {0, 0, 1},
        27, methods_KEditListBox,
        4, enummembers_KEditListBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KEditListBox,
    0,
    init_type_KEditListBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KEditListBox,
    0,
    0,
    0,
    release_KEditListBox,
    cast_KEditListBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KEditListBox::staticMetaObject,
    0,
    signals_KEditListBox,
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdualaction.sip"
#include <kdualaction.h>
#line 32406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 32410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 32413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 32416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 32419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 32422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 32425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 32437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 32440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 32443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 32446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 32449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 32458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 32461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 32467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 32470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 32473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 32479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 32482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 32494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 32500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 32503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 32506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKDualAction : public KDualAction
{
public:
    sipKDualAction(QObject*);
    sipKDualAction(const QString&,const QString&,QObject*);
    virtual ~sipKDualAction();

    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:
    sipKDualAction(const sipKDualAction &);
    sipKDualAction &operator = (const sipKDualAction &);

    char sipPyMethods[11];
};

sipKDualAction::sipKDualAction(QObject*a0): KDualAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDualAction::sipKDualAction(const QString& a0,const QString& a1,QObject*a2): KDualAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDualAction::~sipKDualAction()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDualAction::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDualAction);
}

int sipKDualAction::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDualAction::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDualAction,_c,_id,_a);

    return _id;
}

void *sipKDualAction::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDualAction, _clname)) ? this : KDualAction::qt_metacast(_clname);
}

void sipKDualAction::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDualAction::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 sipKDualAction::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDualAction::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 sipKDualAction::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDualAction::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 sipKDualAction::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDualAction::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 sipKDualAction::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDualAction::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 sipKDualAction::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDualAction::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 sipKDualAction::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_deleteWidget);

    if (!sipMeth)
    {
        KDualAction::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* sipKDualAction::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_createWidget);

    if (!sipMeth)
        return KDualAction::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 sipKDualAction::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDualAction::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_KDualAction_setActiveGuiItem(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setActiveGuiItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KGuiItem* a0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDualAction, &sipCpp, sipType_KGuiItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActiveGuiItem(*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_KDualAction, sipName_setActiveGuiItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_activeGuiItem(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_activeGuiItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(sipCpp->activeGuiItem());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_activeGuiItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setInactiveGuiItem(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setInactiveGuiItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KGuiItem* a0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDualAction, &sipCpp, sipType_KGuiItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInactiveGuiItem(*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_KDualAction, sipName_setInactiveGuiItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_inactiveGuiItem(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_inactiveGuiItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            KGuiItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KGuiItem(sipCpp->inactiveGuiItem());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KGuiItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_inactiveGuiItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setActiveIcon(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setActiveIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDualAction, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActiveIcon(*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_KDualAction, sipName_setActiveIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_activeIcon(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_activeIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->activeIcon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_activeIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setInactiveIcon(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setInactiveIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDualAction, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInactiveIcon(*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_KDualAction, sipName_setInactiveIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_inactiveIcon(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_inactiveIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            QIcon*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QIcon(sipCpp->inactiveIcon());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_inactiveIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setActiveText(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setActiveText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDualAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActiveText(*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_KDualAction, sipName_setActiveText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_activeText(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_activeText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->activeText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_activeText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setInactiveText(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setInactiveText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDualAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInactiveText(*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_KDualAction, sipName_setInactiveText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_inactiveText(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_inactiveText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->inactiveText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_inactiveText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setActiveToolTip(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setActiveToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDualAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActiveToolTip(*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_KDualAction, sipName_setActiveToolTip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_activeToolTip(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_activeToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->activeToolTip());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_activeToolTip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setInactiveToolTip(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setInactiveToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDualAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInactiveToolTip(*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_KDualAction, sipName_setInactiveToolTip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_inactiveToolTip(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_inactiveToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->inactiveToolTip());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_inactiveToolTip, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setIconForStates(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setIconForStates(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDualAction, &sipCpp, sipType_QIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconForStates(*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_KDualAction, sipName_setIconForStates, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_isActive(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_isActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isActive();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_isActive, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setAutoToggle(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setAutoToggle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDualAction, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoToggle(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_KDualAction, sipName_setAutoToggle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_autoToggle(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_autoToggle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDualAction, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoToggle();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDualAction, sipName_autoToggle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDualAction_setActive(PyObject *, PyObject *);}
static PyObject *meth_KDualAction_setActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDualAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDualAction, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActive(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_KDualAction, sipName_setActive, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDualAction(void *, int);}
static void release_KDualAction(void *sipCppV,int)
{
    KDualAction *sipCpp = reinterpret_cast<KDualAction *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDualAction(sipSimpleWrapper *);}
static void dealloc_KDualAction(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDualAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDualAction(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDualAction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDualAction(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDualAction *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDualAction(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QObject* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1JH", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDualAction(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDualAction[] = {{7, 255, 1}};


static PyMethodDef methods_KDualAction[] = {
    {SIP_MLNAME_CAST(sipName_activeGuiItem), meth_KDualAction_activeGuiItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activeIcon), meth_KDualAction_activeIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activeText), meth_KDualAction_activeText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activeToolTip), meth_KDualAction_activeToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoToggle), meth_KDualAction_autoToggle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inactiveGuiItem), meth_KDualAction_inactiveGuiItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inactiveIcon), meth_KDualAction_inactiveIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inactiveText), meth_KDualAction_inactiveText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inactiveToolTip), meth_KDualAction_inactiveToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isActive), meth_KDualAction_isActive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActive), meth_KDualAction_setActive, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveGuiItem), meth_KDualAction_setActiveGuiItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveIcon), meth_KDualAction_setActiveIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveText), meth_KDualAction_setActiveText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveToolTip), meth_KDualAction_setActiveToolTip, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoToggle), meth_KDualAction_setAutoToggle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconForStates), meth_KDualAction_setIconForStates, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInactiveGuiItem), meth_KDualAction_setInactiveGuiItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInactiveIcon), meth_KDualAction_setInactiveIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInactiveText), meth_KDualAction_setInactiveText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInactiveToolTip), meth_KDualAction_setInactiveToolTip, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDualAction[] = {
    {"activeChangedByUser(bool)", 0, 0, 0},
    {"activeChanged(bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KDualAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDualAction,
        {0}
    },
    {
        sipNameNr_KDualAction,
        {0, 0, 1},
        21, methods_KDualAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDualAction,
    0,
    init_type_KDualAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDualAction,
    0,
    0,
    0,
    release_KDualAction,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDualAction::staticMetaObject,
    0,
    signals_KDualAction,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialogjobuidelegate.sip"
#include <kdialogjobuidelegate.h>
#line 33476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 33480 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 33483 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33486 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33489 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33492 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33495 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 33498 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33504 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33507 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33510 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33513 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 33516 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33522 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKDialogJobUiDelegate : public KDialogJobUiDelegate
{
public:
    sipKDialogJobUiDelegate();
    virtual ~sipKDialogJobUiDelegate();

    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 slotWarning(KJob*,const QString&,const QString&);
    void showErrorMessage();
    void setWindow(QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDialogJobUiDelegate(const sipKDialogJobUiDelegate &);
    sipKDialogJobUiDelegate &operator = (const sipKDialogJobUiDelegate &);

    char sipPyMethods[10];
};

sipKDialogJobUiDelegate::sipKDialogJobUiDelegate(): KDialogJobUiDelegate(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDialogJobUiDelegate::~sipKDialogJobUiDelegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDialogJobUiDelegate::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDialogJobUiDelegate);
}

int sipKDialogJobUiDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDialogJobUiDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDialogJobUiDelegate,_c,_id,_a);

    return _id;
}

void *sipKDialogJobUiDelegate::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDialogJobUiDelegate, _clname)) ? this : KDialogJobUiDelegate::qt_metacast(_clname);
}

void sipKDialogJobUiDelegate::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDialogJobUiDelegate::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 sipKDialogJobUiDelegate::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDialogJobUiDelegate::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 sipKDialogJobUiDelegate::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDialogJobUiDelegate::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 sipKDialogJobUiDelegate::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDialogJobUiDelegate::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 sipKDialogJobUiDelegate::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDialogJobUiDelegate::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 sipKDialogJobUiDelegate::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDialogJobUiDelegate::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 sipKDialogJobUiDelegate::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDialogJobUiDelegate::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 sipKDialogJobUiDelegate::slotWarning(KJob*a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_slotWarning);

    if (!sipMeth)
    {
        KDialogJobUiDelegate::slotWarning(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 sipKDialogJobUiDelegate::showErrorMessage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_showErrorMessage);

    if (!sipMeth)
    {
        KDialogJobUiDelegate::showErrorMessage();
        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 sipKDialogJobUiDelegate::setWindow(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setWindow);

    if (!sipMeth)
    {
        KDialogJobUiDelegate::setWindow(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);
}


extern "C" {static PyObject *meth_KDialogJobUiDelegate_setWindow(PyObject *, PyObject *);}
static PyObject *meth_KDialogJobUiDelegate_setWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        KDialogJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KDialogJobUiDelegate, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialogJobUiDelegate::setWindow(a0) : sipCpp->setWindow(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialogJobUiDelegate, sipName_setWindow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialogJobUiDelegate_window(PyObject *, PyObject *);}
static PyObject *meth_KDialogJobUiDelegate_window(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDialogJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialogJobUiDelegate, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->window();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialogJobUiDelegate, sipName_window, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialogJobUiDelegate_updateUserTimestamp(PyObject *, PyObject *);}
static PyObject *meth_KDialogJobUiDelegate_updateUserTimestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;
        KDialogJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_KDialogJobUiDelegate, &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_KDialogJobUiDelegate, sipName_updateUserTimestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialogJobUiDelegate_userTimestamp(PyObject *, PyObject *);}
static PyObject *meth_KDialogJobUiDelegate_userTimestamp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDialogJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialogJobUiDelegate, &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_KDialogJobUiDelegate, sipName_userTimestamp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialogJobUiDelegate_showErrorMessage(PyObject *, PyObject *);}
static PyObject *meth_KDialogJobUiDelegate_showErrorMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDialogJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDialogJobUiDelegate, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialogJobUiDelegate::showErrorMessage() : sipCpp->showErrorMessage());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialogJobUiDelegate, sipName_showErrorMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDialogJobUiDelegate_slotWarning(PyObject *, PyObject *);}
static PyObject *meth_KDialogJobUiDelegate_slotWarning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        KDialogJobUiDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J1J1", &sipSelf, sipType_KDialogJobUiDelegate, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDialogJobUiDelegate::slotWarning(a0,*a1,*a2) : sipCpp->slotWarning(a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialogJobUiDelegate, sipName_slotWarning, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDialogJobUiDelegate(void *, int);}
static void release_KDialogJobUiDelegate(void *sipCppV,int)
{
    KDialogJobUiDelegate *sipCpp = reinterpret_cast<KDialogJobUiDelegate *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDialogJobUiDelegate(sipSimpleWrapper *);}
static void dealloc_KDialogJobUiDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDialogJobUiDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDialogJobUiDelegate(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDialogJobUiDelegate(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDialogJobUiDelegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKDialogJobUiDelegate *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDialogJobUiDelegate();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDialogJobUiDelegate[] = {{95, 3, 1}};


static PyMethodDef methods_KDialogJobUiDelegate[] = {
    {SIP_MLNAME_CAST(sipName_setWindow), meth_KDialogJobUiDelegate_setWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showErrorMessage), meth_KDialogJobUiDelegate_showErrorMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotWarning), meth_KDialogJobUiDelegate_slotWarning, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateUserTimestamp), meth_KDialogJobUiDelegate_updateUserTimestamp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_userTimestamp), meth_KDialogJobUiDelegate_userTimestamp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_window), meth_KDialogJobUiDelegate_window, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KDialogJobUiDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDialogJobUiDelegate,
        {0}
    },
    {
        sipNameNr_KDialogJobUiDelegate,
        {0, 0, 1},
        6, methods_KDialogJobUiDelegate,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDialogJobUiDelegate,
    0,
    init_type_KDialogJobUiDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDialogJobUiDelegate,
    0,
    0,
    0,
    release_KDialogJobUiDelegate,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDialogJobUiDelegate::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialogbuttonbox.sip"
#include <kdialogbuttonbox.h>
#line 34057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34061 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34064 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 34067 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 34070 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 34073 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 34076 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 34079 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34082 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 34085 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 34088 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34091 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34094 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 34097 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 34103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 34106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 34109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 34112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 34115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 34118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 34124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 34130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 34133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 34136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 34139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 34142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34145 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 34148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 34208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 34211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 34214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 34220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 34223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 34226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 34232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 34235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 34238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 34241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 34244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 34253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 34262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


class sipKDialogButtonBox : public KDialogButtonBox
{
public:
    sipKDialogButtonBox(QWidget*,Qt::Orientation);
    virtual ~sipKDialogButtonBox();

    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 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*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool event(QEvent*);
    void changeEvent(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDialogButtonBox(const sipKDialogButtonBox &);
    sipKDialogButtonBox &operator = (const sipKDialogButtonBox &);

    char sipPyMethods[47];
};

sipKDialogButtonBox::sipKDialogButtonBox(QWidget*a0,Qt::Orientation a1): KDialogButtonBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDialogButtonBox::~sipKDialogButtonBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDialogButtonBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDialogButtonBox);
}

int sipKDialogButtonBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDialogButtonBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDialogButtonBox,_c,_id,_a);

    return _id;
}

void *sipKDialogButtonBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDialogButtonBox, _clname)) ? this : KDialogButtonBox::qt_metacast(_clname);
}

void sipKDialogButtonBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDialogButtonBox::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 sipKDialogButtonBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KDialogButtonBox::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 sipKDialogButtonBox::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 KDialogButtonBox::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 sipKDialogButtonBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::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 KDialogButtonBox::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 sipKDialogButtonBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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);
}

QPaintEngine* sipKDialogButtonBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KDialogButtonBox::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 sipKDialogButtonBox::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 KDialogButtonBox::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 sipKDialogButtonBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KDialogButtonBox::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 sipKDialogButtonBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KDialogButtonBox::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 sipKDialogButtonBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KDialogButtonBox::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 sipKDialogButtonBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KDialogButtonBox::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 sipKDialogButtonBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDialogButtonBox::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 sipKDialogButtonBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KDialogButtonBox::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);
}


extern "C" {static PyObject *meth_KDialogButtonBox_addButton(PyObject *, PyObject *);}
static PyObject *meth_KDialogButtonBox_addButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDialogButtonBox::ButtonRole a1;
        QObject* a2;
        const char* a3;
        KDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1EqS", &sipSelf, sipType_KDialogButtonBox, &sipCpp, sipType_QString,&a0, &a0State, sipType_QDialogButtonBox_ButtonRole, &a1, "()", &a2, &a3, &a3))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addButton(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QDialogButtonBox::ButtonRole a1;
        QObject* a2;
        const char* a3;
        KDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1Ey", &sipSelf, sipType_KDialogButtonBox, &sipCpp, sipType_QString,&a0, &a0State, sipType_QDialogButtonBox_ButtonRole, &a1, "()", &a2, &a3))
        {
            QPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addButton(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    {
        const KGuiItem* a0;
        QDialogButtonBox::ButtonRole a1;
        QObject* a2;
        const char* a3;
        KDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9EqS", &sipSelf, sipType_KDialogButtonBox, &sipCpp, sipType_KGuiItem, &a0, sipType_QDialogButtonBox_ButtonRole, &a1, "()", &a2, &a3, &a3))
        {
            KPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addButton(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPushButton,NULL);
        }
    }

    {
        const KGuiItem* a0;
        QDialogButtonBox::ButtonRole a1;
        QObject* a2;
        const char* a3;
        KDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9Ey", &sipSelf, sipType_KDialogButtonBox, &sipCpp, sipType_KGuiItem, &a0, sipType_QDialogButtonBox_ButtonRole, &a1, "()", &a2, &a3))
        {
            KPushButton*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addButton(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDialogButtonBox, sipName_addButton, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KDialogButtonBox(void *, const sipTypeDef *);}
static void *cast_KDialogButtonBox(void *sipCppV, const sipTypeDef *targetType)
{
    KDialogButtonBox *sipCpp = reinterpret_cast<KDialogButtonBox *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDialogButtonBox(void *, int);}
static void release_KDialogButtonBox(void *sipCppV,int)
{
    KDialogButtonBox *sipCpp = reinterpret_cast<KDialogButtonBox *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDialogButtonBox(sipSimpleWrapper *);}
static void dealloc_KDialogButtonBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDialogButtonBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDialogButtonBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDialogButtonBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDialogButtonBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDialogButtonBox *sipCpp = 0;

    {
        QWidget* a0;
        Qt::Orientation a1 = Qt::Horizontal;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH|E", sipType_QWidget, &a0, sipOwner, sipType_Qt_Orientation, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDialogButtonBox(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDialogButtonBox[] = {{86, 2, 1}};


static PyMethodDef methods_KDialogButtonBox[] = {
    {SIP_MLNAME_CAST(sipName_addButton), meth_KDialogButtonBox_addButton, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KDialogButtonBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDialogButtonBox,
        {0}
    },
    {
        sipNameNr_KDialogButtonBox,
        {0, 0, 1},
        1, methods_KDialogButtonBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDialogButtonBox,
    0,
    init_type_KDialogButtonBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDialogButtonBox,
    0,
    0,
    0,
    release_KDialogButtonBox,
    cast_KDialogButtonBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDialogButtonBox::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 35415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 35419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"


extern "C" {static int slot_KDialog_CaptionFlags___bool__(PyObject *);}
static int slot_KDialog_CaptionFlags___bool__(PyObject *sipSelf)
{
    KDialog::CaptionFlags *sipCpp = reinterpret_cast<KDialog::CaptionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_CaptionFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::CaptionFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 35441 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDialog_CaptionFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KDialog::CaptionFlags *sipCpp = reinterpret_cast<KDialog::CaptionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_CaptionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDialog::CaptionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDialog_CaptionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::CaptionFlags::Int() != a0->operator KDialog::CaptionFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 35475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KDialog::CaptionFlags *>(a0),sipType_KDialog_CaptionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KDialog_CaptionFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDialog_CaptionFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KDialog::CaptionFlags *sipCpp = reinterpret_cast<KDialog::CaptionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_CaptionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KDialog::CaptionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDialog_CaptionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::CaptionFlags::Int() == a0->operator KDialog::CaptionFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 35515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(const_cast<KDialog::CaptionFlags *>(a0),sipType_KDialog_CaptionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KDialog_CaptionFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KDialog_CaptionFlags___invert__(PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___invert__(PyObject *sipSelf)
{
    KDialog::CaptionFlags *sipCpp = reinterpret_cast<KDialog::CaptionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_CaptionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KDialog::CaptionFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDialog::CaptionFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDialog_CaptionFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDialog_CaptionFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::CaptionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDialog_CaptionFlags, &a0, &a0State, &a1))
        {
            KDialog::CaptionFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDialog::CaptionFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_CaptionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDialog_CaptionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDialog_CaptionFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::CaptionFlags* a0;
        int a0State = 0;
        KDialog::CaptionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KDialog_CaptionFlags, &a0, &a0State, sipType_KDialog_CaptionFlags, &a1, &a1State))
        {
            KDialog::CaptionFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDialog::CaptionFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_CaptionFlags,a0State);
            sipReleaseType(a1,sipType_KDialog_CaptionFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KDialog_CaptionFlags,NULL);
        }
    }

    {
        KDialog::CaptionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDialog_CaptionFlags, &a0, &a0State, &a1))
        {
            KDialog::CaptionFlags*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KDialog::CaptionFlags(*a0 ^ a1);
#line 35624 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KDialog_CaptionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDialog_CaptionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDialog_CaptionFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KDialog::CaptionFlags* a0;
        int a0State = 0;
        KDialog::CaptionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KDialog_CaptionFlags, &a0, &a0State, sipType_KDialog_CaptionFlags, &a1, &a1State))
        {
            KDialog::CaptionFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KDialog::CaptionFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_CaptionFlags,a0State);
            sipReleaseType(a1,sipType_KDialog_CaptionFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KDialog_CaptionFlags,NULL);
        }
    }

    {
        KDialog::CaptionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDialog_CaptionFlags, &a0, &a0State, &a1))
        {
            KDialog::CaptionFlags*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KDialog::CaptionFlags(*a0 | a1);
#line 35676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
            sipReleaseType(a0,sipType_KDialog_CaptionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDialog_CaptionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KDialog_CaptionFlags___int__(PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___int__(PyObject *sipSelf)
{
    KDialog::CaptionFlags *sipCpp = reinterpret_cast<KDialog::CaptionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_CaptionFlags));

    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_KDialog_CaptionFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDialog_CaptionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDialog::CaptionFlags *sipCpp = reinterpret_cast<KDialog::CaptionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_CaptionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KDialog::CaptionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDialog_CaptionFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDialog::CaptionFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_CaptionFlags,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_KDialog_CaptionFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDialog_CaptionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDialog::CaptionFlags *sipCpp = reinterpret_cast<KDialog::CaptionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_CaptionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KDialog::CaptionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDialog_CaptionFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDialog::CaptionFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_CaptionFlags,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_KDialog_CaptionFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDialog_CaptionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KDialog::CaptionFlags *sipCpp = reinterpret_cast<KDialog::CaptionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_CaptionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KDialog::CaptionFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDialog_CaptionFlags(void *, int);}
static void release_KDialog_CaptionFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KDialog::CaptionFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDialog_CaptionFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KDialog_CaptionFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KDialog::CaptionFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KDialog::CaptionFlags *>(sipSrc);
}


extern "C" {static void *array_KDialog_CaptionFlags(SIP_SSIZE_T);}
static void *array_KDialog_CaptionFlags(SIP_SSIZE_T sipNrElem)
{
    return new KDialog::CaptionFlags[sipNrElem];
}


extern "C" {static void *copy_KDialog_CaptionFlags(const void *, SIP_SSIZE_T);}
static void *copy_KDialog_CaptionFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KDialog::CaptionFlags(reinterpret_cast<const KDialog::CaptionFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KDialog_CaptionFlags(sipSimpleWrapper *);}
static void dealloc_KDialog_CaptionFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KDialog_CaptionFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KDialog_CaptionFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDialog_CaptionFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KDialog::CaptionFlags *sipCpp = 0;

    {
        const KDialog::CaptionFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KDialog_CaptionFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDialog::CaptionFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KDialog::CaptionFlags *>(a0),sipType_KDialog_CaptionFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDialog::CaptionFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KDialog::CaptionFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KDialog_CaptionFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KDialog_CaptionFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KDialog::CaptionFlags **sipCppPtr = reinterpret_cast<KDialog::CaptionFlags **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KDialog::CaptionFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDialog_CaptionFlag)) ||
            sipCanConvertToType(sipPy, sipType_KDialog_CaptionFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDialog_CaptionFlag)))
{
    *sipCppPtr = new KDialog::CaptionFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KDialog::CaptionFlags *>(sipConvertToType(sipPy, sipType_KDialog_CaptionFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 35960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDialog_CaptionFlags[] = {
    {(void *)slot_KDialog_CaptionFlags___bool__, bool_slot},
    {(void *)slot_KDialog_CaptionFlags___ne__, ne_slot},
    {(void *)slot_KDialog_CaptionFlags___eq__, eq_slot},
    {(void *)slot_KDialog_CaptionFlags___invert__, invert_slot},
    {(void *)slot_KDialog_CaptionFlags___and__, and_slot},
    {(void *)slot_KDialog_CaptionFlags___xor__, xor_slot},
    {(void *)slot_KDialog_CaptionFlags___or__, or_slot},
    {(void *)slot_KDialog_CaptionFlags___int__, int_slot},
    {(void *)slot_KDialog_CaptionFlags___ixor__, ixor_slot},
    {(void *)slot_KDialog_CaptionFlags___ior__, ior_slot},
    {(void *)slot_KDialog_CaptionFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KDialog_CaptionFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDialog__CaptionFlags,
        {0}
    },
    {
        sipNameNr_CaptionFlags,
        {86, 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_KDialog_CaptionFlags,
    init_type_KDialog_CaptionFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDialog_CaptionFlags,
    assign_KDialog_CaptionFlags,
    array_KDialog_CaptionFlags,
    copy_KDialog_CaptionFlags,
    release_KDialog_CaptionFlags,
    0,
    convertTo_KDialog_CaptionFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};
