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

#include "sipAPIkdeui.h"

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

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 56 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kaboutdata.sip"
#include <kaboutdata.h>
#line 22 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 43 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 46 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 49 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 61 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 64 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 67 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
}


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

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKHelpMenu *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KHelpMenu(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{19, 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}
};


static pyqt4ClassPluginDef plugin_KHelpMenu = {
    & ::KHelpMenu::staticMetaObject,
    0,
    signals_KHelpMenu
};


sipClassTypeDef sipTypeDef_kdeui_KHelpMenu = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KHelpMenu,
        {0},
        &plugin_KHelpMenu
    },
    {
        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,
    cast_KHelpMenu,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/khbox.sip"
#include <khbox.h>
#line 651 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 655 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 667 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 670 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 745 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 748 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[6]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

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

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

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

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

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

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

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

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

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

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

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

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

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

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

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

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

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

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

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

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

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

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

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

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

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

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

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

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

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

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

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

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

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

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

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

int sipKHBox::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  ::KHBox::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKHBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KHBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{37, 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}
};


static pyqt4ClassPluginDef plugin_KHBox = {
    & ::KHBox::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KHBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KHBox,
        {0},
        &plugin_KHBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 2103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 2110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 (sipIsOwnedByPython(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}
};


static pyqt4ClassPluginDef plugin_KGuiItem = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KGuiItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KGuiItem,
        {0},
        &plugin_KGuiItem
    },
    {
        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
};

#line 24 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalshortcutinfo.sip"
#include <kglobalshortcutinfo.h>
#line 2730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2758 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2764 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2767 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2770 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2773 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
}


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

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKGlobalShortcutInfo *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KGlobalShortcutInfo(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{19, 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}
};


static pyqt4ClassPluginDef plugin_KGlobalShortcutInfo = {
    & ::KGlobalShortcutInfo::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KGlobalShortcutInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KGlobalShortcutInfo,
        {0},
        &plugin_KGlobalShortcutInfo
    },
    {
        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,
    cast_KGlobalShortcutInfo,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 3360 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 3364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KGlobalSettings::ActivateOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 3386 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 3420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 3460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KGlobalSettings::ActivateOptions(*sipCpp ^ a0);
#line 3499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_ActivateOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KGlobalSettings::ActivateOptions(*sipCpp | a0);
#line 3573 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_ActivateOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

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

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 3861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___xor__, xor_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___ior__, ior_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___or__, or_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___iand__, iand_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___and__, and_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___invert__, invert_slot},
    {(void *)slot_KGlobalSettings_ActivateOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KGlobalSettings_ActivateOptions = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KGlobalSettings_ActivateOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KGlobalSettings__ActivateOptions,
        {0},
        &plugin_KGlobalSettings_ActivateOptions
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 3940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 3944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KGlobalSettings::GraphicEffects::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 3966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 4000 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 4040 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KGlobalSettings::GraphicEffects(*sipCpp ^ a0);
#line 4079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_GraphicEffects___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KGlobalSettings::GraphicEffects(*sipCpp | a0);
#line 4153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KGlobalSettings_GraphicEffects___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

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

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 4441 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___xor__, xor_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___ior__, ior_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___or__, or_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___iand__, iand_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___and__, and_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___invert__, invert_slot},
    {(void *)slot_KGlobalSettings_GraphicEffects___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KGlobalSettings_GraphicEffects = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KGlobalSettings_GraphicEffects = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KGlobalSettings__GraphicEffects,
        {0},
        &plugin_KGlobalSettings_GraphicEffects
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 (sipIsOwnedByPython(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},
};


static pyqt4ClassPluginDef plugin_KGlobalSettings_KMouseSettings = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KGlobalSettings_KMouseSettings = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KGlobalSettings__KMouseSettings,
        {0},
        &plugin_KGlobalSettings_KMouseSettings
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 4703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 4709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4712 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4715 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4718 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4721 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4724 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4727 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 4730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 4733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4742 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4745 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4748 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4751 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4760 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4763 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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;
}


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

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsOwnedByPython(sipSelf))
    {
        release_KGlobalSettings(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KGlobalSettings[] = {{19, 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}
};


static pyqt4ClassPluginDef plugin_KGlobalSettings = {
    & ::KGlobalSettings::staticMetaObject,
    0,
    signals_KGlobalSettings
};


sipClassTypeDef sipTypeDef_kdeui_KGlobalSettings = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KGlobalSettings,
        {0},
        &plugin_KGlobalSettings
    },
    {
        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,
    cast_KGlobalSettings,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalaccel.sip"
#include <kglobalaccel.h>
#line 6263 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 6270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 47 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 6276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 6279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 24 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalshortcutinfo.sip"
#include <kglobalshortcutinfo.h>
#line 6288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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;
}


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

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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[] = {{19, 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},
};


static pyqt4ClassPluginDef plugin_KGlobalAccel = {
    & ::KGlobalAccel::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KGlobalAccel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KGlobalAccel,
        {0},
        &plugin_KGlobalAccel
    },
    {
        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,
    cast_KGlobalAccel,
    0,
    0,
    0,
    0,
    0,
    0
};

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

#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 (sipIsOwnedByPython(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}
};


static pyqt4ClassPluginDef plugin_KRockerGesture = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KRockerGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KRockerGesture,
        {0},
        &plugin_KRockerGesture
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 7314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 7318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 (sipIsOwnedByPython(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}
};


static pyqt4ClassPluginDef plugin_KShapeGesture = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KShapeGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KShapeGesture,
        {0},
        &plugin_KShapeGesture
    },
    {
        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
};




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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontUtils::AdaptFontSizeOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 7821 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 7855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 7895 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFontUtils::AdaptFontSizeOptions(*sipCpp ^ a0);
#line 7934 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFontUtils_AdaptFontSizeOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFontUtils::AdaptFontSizeOptions(*sipCpp | a0);
#line 8008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KFontUtils_AdaptFontSizeOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

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

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 8296 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___xor__, xor_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___ior__, ior_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___or__, or_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___iand__, iand_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___and__, and_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___invert__, invert_slot},
    {(void *)slot_KFontUtils_AdaptFontSizeOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KFontUtils_AdaptFontSizeOptions = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KFontUtils_AdaptFontSizeOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFontUtils__AdaptFontSizeOptions,
        {0},
        &plugin_KFontUtils_AdaptFontSizeOptions
    },
    {
        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
};


#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 103 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 8382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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},
};


static pyqt4ClassPluginDef plugin_KFontUtils = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KFontUtils = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KFontUtils,
        {0},
        &plugin_KFontUtils
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontsizeaction.sip"
#include <kfontsizeaction.h>
#line 8516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 8520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 8523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 8526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 8529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 8541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 8550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 8553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kselectaction.sip"
#include <kselectaction.h>
#line 8556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 8559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 8562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 8565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 8568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 8571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 8574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 8586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 8592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 8595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 8598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 8613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 8616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QWidget* createWidget( ::QWidget*);
    void deleteWidget( ::QWidget*);
    void addAction( ::QAction*);
     ::QAction* removeAction( ::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()
{
    sipInstanceDestroyed(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);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern  ::QWidget* sipVH_kdeui_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

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

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

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

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

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

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

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

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

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

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

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

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

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

    extern  ::QAction* sipVH_kdeui_105(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAction*);

    return sipVH_kdeui_105(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_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAction*);

    sipVH_kdeui_104(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 || sipIsDerivedClass((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;
}


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

    if (targetType == sipType_KSelectAction)
        return static_cast< ::KSelectAction *>(sipCpp);

    if (targetType == sipType_KAction)
        return static_cast< ::KAction *>(sipCpp);

    if (targetType == sipType_QWidgetAction)
        return static_cast< ::QWidgetAction *>(sipCpp);

    if (targetType == sipType_QAction)
        return static_cast< ::QAction *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFontSizeAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFontSizeAction(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KFontSizeAction = {
    & ::KFontSizeAction::staticMetaObject,
    0,
    signals_KFontSizeAction
};


sipClassTypeDef sipTypeDef_kdeui_KFontSizeAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontSizeAction,
        {0},
        &plugin_KFontSizeAction
    },
    {
        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,
    cast_KFontSizeAction,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontrequester.sip"
#include <kfontrequester.h>
#line 9184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 9191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9194 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 9197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlabel.sip"
#include <qlabel.h>
#line 9200 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9203 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 9206 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9209 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9212 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 9215 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 9218 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9221 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 9224 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9227 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 9230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 9236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 9242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 9245 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 9248 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 9251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9254 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 9257 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9260 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9263 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9266 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9269 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9272 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9275 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9278 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9281 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9284 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9287 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9293 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9296 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9299 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9302 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9305 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9308 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9311 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 9320 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 9323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 9326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9329 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 9332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 9335 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 9338 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9341 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 9344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 9347 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 9350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 9353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 9356 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9359 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9362 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9365 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9368 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9371 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9374 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9377 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9380 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 setTitle(const  ::QString&);
    void setSampleText(const  ::QString&);
    void setFont(const  ::QFont&,bool);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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::setTitle(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontRequester::setTitle(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

void sipKFontRequester::setSampleText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontRequester::setSampleText(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

void sipKFontRequester::setFont(const  ::QFont& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontRequester::setFont(a0,a1);
        return;
    }

    extern void sipVH_kdeui_155(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&,bool);

    sipVH_kdeui_155(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[10]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

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

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

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

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

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

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

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

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

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

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

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

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

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

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

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

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

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

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

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

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

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

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

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

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

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

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

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

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

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

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

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

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

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

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

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

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

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

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

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

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[43]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

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

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

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

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

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFontRequester *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFontRequester(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{131, 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}
};


static pyqt4ClassPluginDef plugin_KFontRequester = {
    & ::KFontRequester::staticMetaObject,
    0,
    signals_KFontRequester
};


sipClassTypeDef sipTypeDef_kdeui_KFontRequester = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontRequester,
        {0},
        &plugin_KFontRequester
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontdialog.sip"
#include <kfontdialog.h>
#line 10767 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 10774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 10783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 10789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 10801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 10804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 10807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 10810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 10813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 10816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 10819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 10822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 10825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 10828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 10831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 10834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 10855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 10861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 10864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 10867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 10870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 10873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 10876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 10882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 10888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 10891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 10897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10912 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10915 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10918 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10921 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10924 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10927 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10930 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10933 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 10936 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 10939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 10942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 10945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 10951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 10954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 10960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 10963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 10966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 10969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 10972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

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()
{
    sipInstanceDestroyed(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::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontDialog::reject();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFontDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontDialog::accept();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFontDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontDialog::done(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[10]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_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;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

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

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

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

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

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

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

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

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

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

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

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

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

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

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

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

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

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

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

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

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

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

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

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

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

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

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

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

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

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

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

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

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

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

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

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

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

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

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

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

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[43]),sipPySelf,NULL,sipName_inputMethodQuery);

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

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

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

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

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

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

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFontDialog::setCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KFontDialog::setCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

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

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

    if (!sipMeth)
    {
         ::KFontDialog::setCaption(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFontDialog::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontDialog::setPlainCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

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

void sipKFontDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KFontDialog::slotButtonClicked(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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


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/python-pykde4/python-pykde4-4.14.3-4.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 12185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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/python-pykde4/python-pykde4-4.14.3-4.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 12229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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/python-pykde4/python-pykde4-4.14.3-4.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 12274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 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_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFontDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFontDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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/python-pykde4/python-pykde4-4.14.3-4.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 12365 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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}
};


static pyqt4ClassPluginDef plugin_KFontDialog = {
    & ::KFontDialog::staticMetaObject,
    0,
    signals_KFontDialog
};


sipClassTypeDef sipTypeDef_kdeui_KFontDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontDialog,
        {0},
        &plugin_KFontDialog
    },
    {
        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
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontcombobox.sip"
#include <kfontcombobox.h>
#line 12459 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 12469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 12472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 12484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 12487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 12490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 12493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 12496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 12505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 12508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 1576 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 12544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 12547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 12550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 12559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 12562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 12565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 12574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 12580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 12583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 12586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 12589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 12592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 12595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 12601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 12607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 12610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 12613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 12619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 12643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 12646 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 12649 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 12652 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12655 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 12658 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 12661 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 12664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12667 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 12670 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 12673 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 12676 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 12679 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12682 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12685 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12688 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12691 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12694 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12697 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12700 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 12703 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 12706 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 12709 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 hidePopup();
    void showPopup();
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCompletedItems(const  ::QStringList&,bool);
    void setCompletedText(const  ::QString&);
    void setCompletionMode( ::KGlobalSettings::Completion);
    void setHandleSignals(bool);
    void setCompletionObject( ::KCompletion*,bool);
    void setAutoCompletion(bool);
    void setContextMenuEnabled(bool);
    void setLineEdit( ::QLineEdit*);
    void makeCompletion(const  ::QString&);
    void setCompletedText(const  ::QString&,bool);
    void create( ::WId,bool,bool);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[60];
};

sipKFontComboBox::sipKFontComboBox( ::QWidget*a0):  ::KFontComboBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFontComboBox::~sipKFontComboBox()
{
    sipInstanceDestroyed(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::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

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

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

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

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

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

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

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

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

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

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[9]),sipPySelf,NULL,sipName_metric);

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

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

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

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

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

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

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

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

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

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

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

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

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

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

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

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

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

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

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

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

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

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

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

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

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

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

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

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

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

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

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

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

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

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

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

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

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

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

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

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

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

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

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

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

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

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

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

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

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

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

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

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

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

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

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

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

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

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

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

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

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

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

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

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

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

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

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

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

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

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

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

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

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

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

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

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

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

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

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

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

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

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

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

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

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

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

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

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

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

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

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

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

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

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

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

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KFontComboBox::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KFontComboBox::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KFontComboBox::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KFontComboBox::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFontComboBox::setCompletedItems(const  ::QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCompletedItems);

    if (!sipMeth)
    {
         ::KFontComboBox::setCompletedItems(a0,a1);
        return;
    }

    extern void sipVH_kdeui_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStringList&,bool);

    sipVH_kdeui_114(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFontComboBox::setCompletedText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KFontComboBox::setCompletedText(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::setCompletionMode( ::KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
         ::KFontComboBox::setCompletionMode(a0);
        return;
    }

    extern void sipVH_kdeui_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KGlobalSettings::Completion);

    sipVH_kdeui_113(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setHandleSignals);

    if (!sipMeth)
    {
         ::KFontComboBox::setHandleSignals(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::setCompletionObject( ::KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setCompletionObject);

    if (!sipMeth)
    {
         ::KFontComboBox::setCompletionObject(a0,a1);
        return;
    }

    extern void sipVH_kdeui_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KCompletion*,bool);

    sipVH_kdeui_112(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFontComboBox::setAutoCompletion(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setAutoCompletion);

    if (!sipMeth)
    {
         ::KFontComboBox::setAutoCompletion(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!sipMeth)
    {
         ::KFontComboBox::setContextMenuEnabled(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::setLineEdit( ::QLineEdit*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_setLineEdit);

    if (!sipMeth)
    {
         ::KFontComboBox::setLineEdit(a0);
        return;
    }

    extern void sipVH_kdeui_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLineEdit*);

    sipVH_kdeui_115(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::makeCompletion(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
    {
         ::KFontComboBox::makeCompletion(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontComboBox::setCompletedText(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KFontComboBox::setCompletedText(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFontComboBox::create( ::WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
    {
         ::KFontComboBox::create(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::WId,bool,bool);

    sipVH_kdeui_116(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_KComboBox)
        return static_cast< ::KComboBox *>(sipCpp);

    if (targetType == sipType_QComboBox)
        return static_cast< ::QComboBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFontComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFontComboBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KFontComboBox = {
    & ::KFontComboBox::staticMetaObject,
    0,
    signals_KFontComboBox
};


sipClassTypeDef sipTypeDef_kdeui_KFontComboBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontComboBox,
        {0},
        &plugin_KFontComboBox
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 14177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 14181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontChooser::DisplayFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 14203 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 14237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 14277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFontChooser::DisplayFlags(*sipCpp ^ a0);
#line 14316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFontChooser::DisplayFlags(*sipCpp | a0);
#line 14390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_DisplayFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KFontChooser::DisplayFlags();
            Py_END_ALLOW_THREADS

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 14678 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KFontChooser_DisplayFlags___xor__, xor_slot},
    {(void *)slot_KFontChooser_DisplayFlags___ior__, ior_slot},
    {(void *)slot_KFontChooser_DisplayFlags___or__, or_slot},
    {(void *)slot_KFontChooser_DisplayFlags___iand__, iand_slot},
    {(void *)slot_KFontChooser_DisplayFlags___and__, and_slot},
    {(void *)slot_KFontChooser_DisplayFlags___invert__, invert_slot},
    {(void *)slot_KFontChooser_DisplayFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KFontChooser_DisplayFlags = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KFontChooser_DisplayFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFontChooser__DisplayFlags,
        {0},
        &plugin_KFontChooser_DisplayFlags
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 14757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 14761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFontChooser::FontDiffFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 14783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 14817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 14857 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFontChooser::FontDiffFlags(*sipCpp ^ a0);
#line 14896 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFontChooser::FontDiffFlags(*sipCpp | a0);
#line 14970 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KFontChooser_FontDiffFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KFontChooser::FontDiffFlags();
            Py_END_ALLOW_THREADS

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 15258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___xor__, xor_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___ior__, ior_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___or__, or_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___iand__, iand_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___and__, and_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___invert__, invert_slot},
    {(void *)slot_KFontChooser_FontDiffFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KFontChooser_FontDiffFlags = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KFontChooser_FontDiffFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFontChooser__FontDiffFlags,
        {0},
        &plugin_KFontChooser_FontDiffFlags
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 15337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15341 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 15344 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15347 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15350 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 15353 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 15356 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15359 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 15362 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontchooser.sip"
#include <kfontchooser.h>
#line 15365 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15368 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 15371 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15374 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 15377 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 15380 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15383 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 15386 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15389 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 15392 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15395 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 15398 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15401 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 15404 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 15407 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15410 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15413 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15416 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15419 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15422 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15425 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15428 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15431 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15434 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15437 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15440 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15443 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15446 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15449 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15452 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15455 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15458 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15461 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15464 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15467 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15470 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15473 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15476 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 15479 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 15482 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 15485 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15488 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 15491 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 15494 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15497 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15500 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15503 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 15509 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 15512 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15515 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15518 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15521 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15527 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15530 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 15533 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(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;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFontChooser::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFontChooser::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KFontChooser::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKFontChooser::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KFontChooser::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFontChooser::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KFontChooser::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFontChooser::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KFontChooser::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKFontChooser::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KFontChooser::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKFontChooser::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KFontChooser::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFontChooser::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KFontChooser::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KFontChooser::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KFontChooser::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KFontChooser::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KFontChooser::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KFontChooser::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KFontChooser::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KFontChooser::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KFontChooser::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KFontChooser::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KFontChooser::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KFontChooser::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KFontChooser::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KFontChooser::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KFontChooser::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KFontChooser::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KFontChooser::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KFontChooser::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KFontChooser::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KFontChooser::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KFontChooser::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KFontChooser::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KFontChooser::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KFontChooser::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KFontChooser::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KFontChooser::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KFontChooser::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KFontChooser::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFontChooser::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KFontChooser::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KFontChooser::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KFontChooser::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KFontChooser::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KFontChooser::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontChooser::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KFontChooser::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(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 || sipIsDerivedClass((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 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_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFontChooser *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFontChooser(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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/python-pykde4/python-pykde4-4.14.3-4.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 16949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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[] = {{131, 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}
};


static pyqt4ClassPluginDef plugin_KFontChooser = {
    & ::KFontChooser::staticMetaObject,
    0,
    signals_KFontChooser
};


sipClassTypeDef sipTypeDef_kdeui_KFontChooser = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontChooser,
        {0},
        &plugin_KFontChooser
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfontaction.sip"
#include <kfontaction.h>
#line 17069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17076 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 17079 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17082 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 17088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17091 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 17094 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17097 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17100 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 17103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 17106 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kselectaction.sip"
#include <kselectaction.h>
#line 17109 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 17112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 17115 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 17118 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 17121 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 17124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 17127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 17139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 17145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 17148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QWidget* createWidget( ::QWidget*);
    void deleteWidget( ::QWidget*);
    void addAction( ::QAction*);
     ::QAction* removeAction( ::QAction*);
    void actionTriggered( ::QAction*);

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()
{
    sipInstanceDestroyed(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);
}

bool sipKFontAction::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFontAction::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFontAction::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFontAction::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFontAction::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KFontAction::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontAction::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KFontAction::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontAction::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KFontAction::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontAction::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KFontAction::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QWidget* sipKFontAction::createWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_createWidget);

    if (!sipMeth)
        return  ::KFontAction::createWidget(a0);

    extern  ::QWidget* sipVH_kdeui_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_kdeui_45(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontAction::deleteWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_deleteWidget);

    if (!sipMeth)
    {
         ::KFontAction::deleteWidget(a0);
        return;
    }

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontAction::addAction( ::QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_addAction);

    if (!sipMeth)
    {
         ::KFontAction::addAction(a0);
        return;
    }

    extern void sipVH_kdeui_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAction*);

    sipVH_kdeui_104(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QAction* sipKFontAction::removeAction( ::QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_removeAction);

    if (!sipMeth)
        return  ::KFontAction::removeAction(a0);

    extern  ::QAction* sipVH_kdeui_105(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAction*);

    return sipVH_kdeui_105(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFontAction::actionTriggered( ::QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionTriggered);

    if (!sipMeth)
    {
         ::KFontAction::actionTriggered(a0);
        return;
    }

    extern void sipVH_kdeui_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAction*);

    sipVH_kdeui_104(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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KFontAction(void *, const sipTypeDef *);}
static void *cast_KFontAction(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFontAction *sipCpp = reinterpret_cast< ::KFontAction *>(sipCppV);

    if (targetType == sipType_KSelectAction)
        return static_cast< ::KSelectAction *>(sipCpp);

    if (targetType == sipType_KAction)
        return static_cast< ::KAction *>(sipCpp);

    if (targetType == sipType_QWidgetAction)
        return static_cast< ::QWidgetAction *>(sipCpp);

    if (targetType == sipType_QAction)
        return static_cast< ::QAction *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFontAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFontAction(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KFontAction = {
    & ::KFontAction::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KFontAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFontAction,
        {0},
        &plugin_KFontAction
    },
    {
        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,
    cast_KFontAction,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfinddialog.sip"
#include <kfinddialog.h>
#line 17752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 17759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 17777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 17780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 17783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 17786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 17789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 17792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 17795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 17798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 17801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 17804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 17807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 17813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 17831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 17837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 17840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 17843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 17846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 17852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 17858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 17864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 17867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 17870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 17876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17912 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17915 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 17918 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 17921 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 17924 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17927 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 17930 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 17933 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17936 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 17939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 17942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 17945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 17948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 17951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

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()
{
    sipInstanceDestroyed(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::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::KFindDialog::reject();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFindDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::KFindDialog::accept();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFindDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::KFindDialog::done(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KFindDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KFindDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KFindDialog::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KFindDialog::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KFindDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFindDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFindDialog::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFindDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFindDialog::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KFindDialog::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKFindDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KFindDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFindDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KFindDialog::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFindDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KFindDialog::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKFindDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KFindDialog::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKFindDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KFindDialog::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFindDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KFindDialog::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KFindDialog::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KFindDialog::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KFindDialog::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KFindDialog::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KFindDialog::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KFindDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KFindDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KFindDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_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;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KFindDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KFindDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KFindDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KFindDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KFindDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KFindDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KFindDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KFindDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KFindDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KFindDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KFindDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KFindDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KFindDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KFindDialog::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KFindDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KFindDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KFindDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[43]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KFindDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFindDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KFindDialog::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KFindDialog::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KFindDialog::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KFindDialog::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KFindDialog::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KFindDialog::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

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;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::setCaption(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KFindDialog::setCaption(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFindDialog::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
         ::KFindDialog::setPlainCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFindDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
         ::KFindDialog::slotButtonClicked(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_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 || sipIsDerivedClass((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 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_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFindDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFindDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KFindDialog = {
    & ::KFindDialog::staticMetaObject,
    0,
    signals_KFindDialog
};


sipClassTypeDef sipTypeDef_kdeui_KFindDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFindDialog,
        {0},
        &plugin_KFindDialog
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfind.sip"
#include <kfind.h>
#line 19584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfind.sip"
#include <kfind.h>
#line 19588 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KFind::SearchOptions::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 19610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 19644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 19684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFind::SearchOptions(*sipCpp ^ a0);
#line 19723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KFind::SearchOptions(*sipCpp | a0);
#line 19797 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KFind_SearchOptions___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KFind::SearchOptions();
            Py_END_ALLOW_THREADS

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 20085 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KFind_SearchOptions___xor__, xor_slot},
    {(void *)slot_KFind_SearchOptions___ior__, ior_slot},
    {(void *)slot_KFind_SearchOptions___or__, or_slot},
    {(void *)slot_KFind_SearchOptions___iand__, iand_slot},
    {(void *)slot_KFind_SearchOptions___and__, and_slot},
    {(void *)slot_KFind_SearchOptions___invert__, invert_slot},
    {(void *)slot_KFind_SearchOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KFind_SearchOptions = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KFind_SearchOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KFind__SearchOptions,
        {0},
        &plugin_KFind_SearchOptions
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfind.sip"
#include <kfind.h>
#line 20164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 20174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 20189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 20207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 displayFinalDialog() const;
    bool shouldRestart(bool,bool) const;
    bool validateMatch(const  ::QString&,int,int);
    void resetCounts();
    void setOptions(long);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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::displayFinalDialog() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_displayFinalDialog);

    if (!sipMeth)
    {
         ::KFind::displayFinalDialog();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(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[1]),sipPySelf,NULL,sipName_shouldRestart);

    if (!sipMeth)
        return  ::KFind::shouldRestart(a0,a1);

    extern bool sipVH_kdeui_154(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool,bool);

    return sipVH_kdeui_154(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[2],sipPySelf,NULL,sipName_validateMatch);

    if (!sipMeth)
        return  ::KFind::validateMatch(a0,a1,a2);

    extern bool sipVH_kdeui_153(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,int,int);

    return sipVH_kdeui_153(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKFind::resetCounts()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_resetCounts);

    if (!sipMeth)
    {
         ::KFind::resetCounts();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFind::setOptions(long a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setOptions);

    if (!sipMeth)
    {
         ::KFind::setOptions(a0);
        return;
    }

    extern void sipVH_kdeui_152(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);

    sipVH_kdeui_152(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFind::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFind::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFind::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KFind::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFind::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KFind::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFind::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KFind::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFind::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KFind::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFind::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KFind::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFind::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KFind::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KFind(void *, const sipTypeDef *);}
static void *cast_KFind(void *sipCppV, const sipTypeDef *targetType)
{
     ::KFind *sipCpp = reinterpret_cast< ::KFind *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFind *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFind(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{19, 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}
};


static pyqt4ClassPluginDef plugin_KFind = {
    & ::KFind::staticMetaObject,
    0,
    signals_KFind
};


sipClassTypeDef sipTypeDef_kdeui_KFind = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFind,
        {0},
        &plugin_KFind
    },
    {
        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,
    cast_KFind,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 24 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfilterproxysearchline.sip"
#include <kfilterproxysearchline.h>
#line 21227 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 21234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsortfilterproxymodel.sip"
#include <qsortfilterproxymodel.h>
#line 21240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 21246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 21255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 21258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 21261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 21264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 21267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 21270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 21276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 21282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 21285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 21288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 21291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 21294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 21300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21336 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21339 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21342 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21345 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21348 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21351 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21354 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 21360 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 21363 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 21366 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 21369 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21372 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 21375 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 21378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 21381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 21390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 21393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 21396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 21399 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21402 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21405 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21408 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21414 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21417 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21423 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(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;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFilterProxySearchLine::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFilterProxySearchLine::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KFilterProxySearchLine::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKFilterProxySearchLine::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KFilterProxySearchLine::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilterProxySearchLine::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KFilterProxySearchLine::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFilterProxySearchLine::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKFilterProxySearchLine::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KFilterProxySearchLine::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKFilterProxySearchLine::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KFilterProxySearchLine::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFilterProxySearchLine::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KFilterProxySearchLine::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KFilterProxySearchLine::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFilterProxySearchLine::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KFilterProxySearchLine::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFilterProxySearchLine::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KFilterProxySearchLine::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(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 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_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFilterProxySearchLine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFilterProxySearchLine(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{131, 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}
};


static pyqt4ClassPluginDef plugin_KFilterProxySearchLine = {
    & ::KFilterProxySearchLine::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KFilterProxySearchLine = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFilterProxySearchLine,
        {0},
        &plugin_KFilterProxySearchLine
    },
    {
        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
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kfadewidgeteffect.sip"
#include <kfadewidgeteffect.h>
#line 22571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 22584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 22593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 22596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 22602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 22605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 22611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 22626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 22629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 22632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 22635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 22701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 22704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 22707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 22713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 22716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 22731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 22734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 22755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22758 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(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;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFadeWidgetEffect::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KFadeWidgetEffect::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KFadeWidgetEffect::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKFadeWidgetEffect::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KFadeWidgetEffect::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFadeWidgetEffect::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KFadeWidgetEffect::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFadeWidgetEffect::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKFadeWidgetEffect::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KFadeWidgetEffect::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKFadeWidgetEffect::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KFadeWidgetEffect::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKFadeWidgetEffect::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KFadeWidgetEffect::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KFadeWidgetEffect::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFadeWidgetEffect::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KFadeWidgetEffect::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFadeWidgetEffect::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KFadeWidgetEffect::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(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 || sipIsDerivedClass((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 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_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKFadeWidgetEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KFadeWidgetEffect(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{131, 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}
};


static pyqt4ClassPluginDef plugin_KFadeWidgetEffect = {
    & ::KFadeWidgetEffect::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KFadeWidgetEffect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFadeWidgetEffect,
        {0},
        &plugin_KFadeWidgetEffect
    },
    {
        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
};

#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kextendableitemdelegate.sip"
#include <kextendableitemdelegate.h>
#line 23880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 23884 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 23887 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 23890 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23893 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 1126 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 23896 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23899 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 23902 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 23905 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23908 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23911 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 23914 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23917 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23920 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 23923 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 38 "/usr/share/sip/PyQt4/QtGui/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 23926 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 23929 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 803 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23932 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 23935 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23938 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23941 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23947 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23950 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23953 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 23956 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 updateExtenderGeometry( ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    bool editorEvent( ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);
    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;
     ::QSize sizeHint(const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    void paint( ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
     ::QString displayText(const  ::QVariant&,const  ::QLocale&) const;
    void initStyleOption( ::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()
{
    sipInstanceDestroyed(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::updateExtenderGeometry( ::QWidget*a0,const  ::QStyleOptionViewItem& a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_updateExtenderGeometry);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::updateExtenderGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_kdeui_150(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKExtendableItemDelegate::editorEvent( ::QEvent*a0, ::QAbstractItemModel*a1,const  ::QStyleOptionViewItem& a2,const  ::QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return  ::KExtendableItemDelegate::editorEvent(a0,a1,a2,a3);

    extern bool sipVH_kdeui_151(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*, ::QAbstractItemModel*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_kdeui_151(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

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[2]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_150(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_kdeui_150(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[3]),sipPySelf,NULL,sipName_setModelData);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_149(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemModel*,const  ::QModelIndex&);

    sipVH_kdeui_149(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[4]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::setEditorData(a0,a1);
        return;
    }

    extern void sipVH_kdeui_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QModelIndex&);

    sipVH_kdeui_148(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[5]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return  ::KExtendableItemDelegate::createEditor(a0,a1,a2);

    extern  ::QWidget* sipVH_kdeui_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_kdeui_147(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[6]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KExtendableItemDelegate::sizeHint(a0,a1);

    extern  ::QSize sipVH_kdeui_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    return sipVH_kdeui_146(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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[7]),sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QStyleOptionViewItem&,const  ::QModelIndex&);

    sipVH_kdeui_145(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKExtendableItemDelegate::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KExtendableItemDelegate::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKExtendableItemDelegate::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KExtendableItemDelegate::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKExtendableItemDelegate::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKExtendableItemDelegate::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKExtendableItemDelegate::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKExtendableItemDelegate::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKExtendableItemDelegate::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QString sipKExtendableItemDelegate::displayText(const  ::QVariant& a0,const  ::QLocale& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_displayText);

    if (!sipMeth)
        return  ::KExtendableItemDelegate::displayText(a0,a1);

    extern  ::QString sipVH_kdeui_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&,const  ::QLocale&);

    return sipVH_kdeui_144(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[16]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
         ::KExtendableItemDelegate::initStyleOption(a0,a1);
        return;
    }

    extern void sipVH_kdeui_143(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStyleOptionViewItem*,const  ::QModelIndex&);

    sipVH_kdeui_143(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KExtendableItemDelegate(void *, const sipTypeDef *);}
static void *cast_KExtendableItemDelegate(void *sipCppV, const sipTypeDef *targetType)
{
     ::KExtendableItemDelegate *sipCpp = reinterpret_cast< ::KExtendableItemDelegate *>(sipCppV);

    if (targetType == sipType_QStyledItemDelegate)
        return static_cast< ::QStyledItemDelegate *>(sipCpp);

    if (targetType == sipType_QAbstractItemDelegate)
        return static_cast< ::QAbstractItemDelegate *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKExtendableItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KExtendableItemDelegate(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{109, 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}
};


static pyqt4ClassPluginDef plugin_KExtendableItemDelegate = {
    & ::KExtendableItemDelegate::staticMetaObject,
    0,
    signals_KExtendableItemDelegate
};


sipClassTypeDef sipTypeDef_kdeui_KExtendableItemDelegate = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KExtendableItemDelegate,
        {0},
        &plugin_KExtendableItemDelegate
    },
    {
        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,
    cast_KExtendableItemDelegate,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kedittoolbar.sip"
#include <kedittoolbar.h>
#line 24827 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 24831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kxmlguifactory.sip"
#include <kxmlguifactory.h>
#line 24837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 24855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 24861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 24864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 24867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 24870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 24873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 24876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 24879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 24882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 24885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 24891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 24909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24912 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 24915 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 24918 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 24921 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 24924 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24927 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 24930 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24933 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24936 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 24942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 24945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 24948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 24996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 24999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 25002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 25008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 25011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 25014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 25017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 25020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 25023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 25026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 25029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 25044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 25047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 25050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

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()
{
    sipInstanceDestroyed(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::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::KEditToolBar::reject();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKEditToolBar::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::KEditToolBar::accept();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKEditToolBar::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::KEditToolBar::done(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KEditToolBar::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KEditToolBar::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKEditToolBar::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KEditToolBar::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKEditToolBar::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KEditToolBar::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KEditToolBar::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKEditToolBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KEditToolBar::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKEditToolBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KEditToolBar::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKEditToolBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KEditToolBar::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKEditToolBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KEditToolBar::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKEditToolBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KEditToolBar::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKEditToolBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KEditToolBar::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_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;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KEditToolBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[43]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KEditToolBar::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKEditToolBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KEditToolBar::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KEditToolBar::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KEditToolBar::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KEditToolBar::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KEditToolBar::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KEditToolBar::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKEditToolBar::setCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KEditToolBar::setCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::setCaption(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KEditToolBar::setCaption(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKEditToolBar::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
         ::KEditToolBar::setPlainCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditToolBar::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
         ::KEditToolBar::slotButtonClicked(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_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;

        if (sipParseArgs(&sipParseErr, sipArgs, "s", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KEditToolBar::setGlobalDefaultToolBar(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_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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 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_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKEditToolBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KEditToolBar(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KEditToolBar = {
    & ::KEditToolBar::staticMetaObject,
    0,
    signals_KEditToolBar
};


sipClassTypeDef sipTypeDef_kdeui_KEditToolBar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEditToolBar,
        {0},
        &plugin_KEditToolBar
    },
    {
        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
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 26428 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 26432 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KEditListWidget::Buttons::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 26454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 26488 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 26528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KEditListWidget::Buttons(*sipCpp ^ a0);
#line 26567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KEditListWidget::Buttons(*sipCpp | a0);
#line 26641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KEditListWidget_Buttons___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KEditListWidget::Buttons();
            Py_END_ALLOW_THREADS

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 26929 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KEditListWidget_Buttons___xor__, xor_slot},
    {(void *)slot_KEditListWidget_Buttons___ior__, ior_slot},
    {(void *)slot_KEditListWidget_Buttons___or__, or_slot},
    {(void *)slot_KEditListWidget_Buttons___iand__, iand_slot},
    {(void *)slot_KEditListWidget_Buttons___and__, and_slot},
    {(void *)slot_KEditListWidget_Buttons___invert__, invert_slot},
    {(void *)slot_KEditListWidget_Buttons___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KEditListWidget_Buttons = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KEditListWidget_Buttons = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEditListWidget__Buttons,
        {0},
        &plugin_KEditListWidget_Buttons
    },
    {
        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
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 30 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 27010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 27017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcombobox.sip"
#include <kcombobox.h>
#line 27020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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()
{
    sipInstanceDestroyed(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_142(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_142(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();

    extern  ::QWidget* sipVH_kdeui_141(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_141(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKEditListWidget_CustomEditor *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KEditListWidget_CustomEditor(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KEditListWidget_CustomEditor = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KEditListWidget_CustomEditor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEditListWidget__CustomEditor,
        {0},
        &plugin_KEditListWidget_CustomEditor
    },
    {
        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
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 27357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 30 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 27366 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistwidget.sip"
#include <keditlistwidget.h>
#line 27369 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 27372 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 27375 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 27381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 27384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 27387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 27390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 27396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27399 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27402 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 27405 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 27408 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 27411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 27414 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 27417 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 27420 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 27423 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 27426 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 27429 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 27432 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 27435 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 27438 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 27441 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 27444 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27447 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 27450 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27453 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27456 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27459 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27462 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27465 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27471 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 27507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 27510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 27513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 27516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 27522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 27525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 27528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 27531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 27534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 27537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 27540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 27543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 27546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 27552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 27558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 27561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 27564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 27567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

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()
{
    sipInstanceDestroyed(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(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;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(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;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(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);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKEditListWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KEditListWidget::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(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[7]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KEditListWidget::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKEditListWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KEditListWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKEditListWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KEditListWidget::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKEditListWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KEditListWidget::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKEditListWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KEditListWidget::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKEditListWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KEditListWidget::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKEditListWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KEditListWidget::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KEditListWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(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[40]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KEditListWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKEditListWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KEditListWidget::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KEditListWidget::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KEditListWidget::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KEditListWidget::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KEditListWidget::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KEditListWidget::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(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 || sipIsDerivedClass((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 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_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKEditListWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KEditListWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{131, 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}
};


static pyqt4ClassPluginDef plugin_KEditListWidget = {
    & ::KEditListWidget::staticMetaObject,
    0,
    signals_KEditListWidget
};


sipClassTypeDef sipTypeDef_kdeui_KEditListWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEditListWidget,
        {0},
        &plugin_KEditListWidget
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 29273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 29277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KEditListBox::Buttons::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 29299 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 29333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 29373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KEditListBox::Buttons(*sipCpp ^ a0);
#line 29412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KEditListBox::Buttons(*sipCpp | a0);
#line 29486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KEditListBox_Buttons___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KEditListBox::Buttons();
            Py_END_ALLOW_THREADS

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 29774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KEditListBox_Buttons___xor__, xor_slot},
    {(void *)slot_KEditListBox_Buttons___ior__, ior_slot},
    {(void *)slot_KEditListBox_Buttons___or__, or_slot},
    {(void *)slot_KEditListBox_Buttons___iand__, iand_slot},
    {(void *)slot_KEditListBox_Buttons___and__, and_slot},
    {(void *)slot_KEditListBox_Buttons___invert__, invert_slot},
    {(void *)slot_KEditListBox_Buttons___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KEditListBox_Buttons = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KEditListBox_Buttons = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEditListBox__Buttons,
        {0},
        &plugin_KEditListBox_Buttons
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 29853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 29857 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 29860 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcombobox.sip"
#include <kcombobox.h>
#line 29863 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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()
{
    sipInstanceDestroyed(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_142(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_142(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();

    extern  ::QWidget* sipVH_kdeui_141(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_141(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 || sipIsDerivedClass((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 || sipIsDerivedClass((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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKEditListBox_CustomEditor *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KEditListBox_CustomEditor(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KEditListBox_CustomEditor = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KEditListBox_CustomEditor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KEditListBox__CustomEditor,
        {0},
        &plugin_KEditListBox_CustomEditor
    },
    {
        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
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 30200 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 30207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 30210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/keditlistbox.sip"
#include <keditlistbox.h>
#line 30213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 30216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 30219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 30225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 30228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/klineedit.sip"
#include <klineedit.h>
#line 30231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 30234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 1844 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 30252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 30255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 30264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 30273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 30276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 30279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 30282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 30285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 30288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 30294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 30300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 30303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 30306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 30309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 30315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 30318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30336 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30339 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30342 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30345 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30348 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30351 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30354 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30357 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30360 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 30363 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 30366 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 30369 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30372 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 30375 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 30378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 30381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 30387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 30390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 30393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 30396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 30399 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30402 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30405 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30408 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 30411 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 30414 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 30417 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KEditListBox::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKEditListBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KEditListBox::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KEditListBox::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KEditListBox::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KEditListBox::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKEditListBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KEditListBox::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KEditListBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KEditListBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KEditListBox::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KEditListBox::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KEditListBox::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KEditListBox::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KEditListBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KEditListBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KEditListBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KEditListBox::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KEditListBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KEditListBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KEditListBox::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KEditListBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KEditListBox::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KEditListBox::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KEditListBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KEditListBox::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KEditListBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KEditListBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KEditListBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KEditListBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KEditListBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KEditListBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KEditListBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KEditListBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KEditListBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKEditListBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KEditListBox::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKEditListBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KEditListBox::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKEditListBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KEditListBox::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKEditListBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KEditListBox::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKEditListBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KEditListBox::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKEditListBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KEditListBox::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKEditListBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KEditListBox::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKEditListBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KEditListBox::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKEditListBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KEditListBox::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KEditListBox::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KEditListBox::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KEditListBox::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKEditListBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KEditListBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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 || sipIsDerivedClass((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 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_QGroupBox)
        return static_cast< ::QGroupBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKEditListBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KEditListBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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;
        bool a2 = 0;
         ::KEditListBox::Buttons a3def = KEditListBox::All;
         ::KEditListBox::Buttons* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHs|bJ1", sipType_QWidget, &a0, sipOwner, &a1, &a2, sipType_KEditListBox_Buttons, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKEditListBox(a0,a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a3,sipType_KEditListBox_Buttons,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QWidget* a1;
        const char* a2;
        bool a3 = 0;
         ::KEditListBox::Buttons a4def = KEditListBox::All;
         ::KEditListBox::Buttons* a4 = &a4def;
        int a4State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JHs|bJ1", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner, &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);
            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;
        bool a4 = 0;
         ::KEditListBox::Buttons a5def = KEditListBox::All;
         ::KEditListBox::Buttons* a5 = &a5def;
        int a5State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J9|JHsbJ1", sipType_QString,&a0, &a0State, sipType_KEditListBox_CustomEditor, &a1, sipType_QWidget, &a2, sipOwner, &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);
            sipReleaseType(a5,sipType_KEditListBox_Buttons,a5State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KEditListBox[] = {{38, 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}
};


static pyqt4ClassPluginDef plugin_KEditListBox = {
    & ::KEditListBox::staticMetaObject,
    0,
    signals_KEditListBox
};


sipClassTypeDef sipTypeDef_kdeui_KEditListBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KEditListBox,
        {0},
        &plugin_KEditListBox
    },
    {
        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
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdualaction.sip"
#include <kdualaction.h>
#line 32378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 32382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 32385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 32388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 32391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 25 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 32394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 32397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 55 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 32409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 32412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 32415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 32418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 32421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 32430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 32433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 182 "/usr/share/sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 32439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 32442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 32445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 32448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 32451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 32454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 32466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 32472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 32475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 32478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 deleteWidget( ::QWidget*);
     ::QWidget* createWidget( ::QWidget*);
    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:
    sipKDualAction(const sipKDualAction &);
    sipKDualAction &operator = (const sipKDualAction &);

    char sipPyMethods[9];
};

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()
{
    sipInstanceDestroyed(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::deleteWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_deleteWidget);

    if (!sipMeth)
    {
         ::KDualAction::deleteWidget(a0);
        return;
    }

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QWidget* sipKDualAction::createWidget( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_createWidget);

    if (!sipMeth)
        return  ::KDualAction::createWidget(a0);

    extern  ::QWidget* sipVH_kdeui_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    return sipVH_kdeui_45(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDualAction::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KDualAction::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDualAction::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KDualAction::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDualAction::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KDualAction::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDualAction::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KDualAction::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDualAction::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KDualAction::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDualAction::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KDualAction::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDualAction::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KDualAction::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}


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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KDualAction(void *, const sipTypeDef *);}
static void *cast_KDualAction(void *sipCppV, const sipTypeDef *targetType)
{
     ::KDualAction *sipCpp = reinterpret_cast< ::KDualAction *>(sipCppV);

    if (targetType == sipType_KAction)
        return static_cast< ::KAction *>(sipCpp);

    if (targetType == sipType_QWidgetAction)
        return static_cast< ::QWidgetAction *>(sipCpp);

    if (targetType == sipType_QAction)
        return static_cast< ::QAction *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDualAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDualAction(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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}
};


static pyqt4ClassPluginDef plugin_KDualAction = {
    & ::KDualAction::staticMetaObject,
    0,
    signals_KDualAction
};


sipClassTypeDef sipTypeDef_kdeui_KDualAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDualAction,
        {0},
        &plugin_KDualAction
    },
    {
        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,
    cast_KDualAction,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialogjobuidelegate.sip"
#include <kdialogjobuidelegate.h>
#line 33473 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 33477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 33480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 33495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 33513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 setWindow( ::QWidget*);
    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 showErrorMessage();
    void slotWarning( ::KJob*,const  ::QString&,const  ::QString&);

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()
{
    sipInstanceDestroyed(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::setWindow( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setWindow);

    if (!sipMeth)
    {
         ::KDialogJobUiDelegate::setWindow(a0);
        return;
    }

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogJobUiDelegate::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KDialogJobUiDelegate::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogJobUiDelegate::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KDialogJobUiDelegate::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogJobUiDelegate::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KDialogJobUiDelegate::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogJobUiDelegate::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KDialogJobUiDelegate::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogJobUiDelegate::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KDialogJobUiDelegate::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDialogJobUiDelegate::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KDialogJobUiDelegate::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDialogJobUiDelegate::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KDialogJobUiDelegate::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogJobUiDelegate::showErrorMessage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_showErrorMessage);

    if (!sipMeth)
    {
         ::KDialogJobUiDelegate::showErrorMessage();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDialogJobUiDelegate::slotWarning( ::KJob*a0,const  ::QString& a1,const  ::QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_slotWarning);

    if (!sipMeth)
    {
         ::KDialogJobUiDelegate::slotWarning(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KJob*,const  ::QString&,const  ::QString&);

    sipVH_kdeui_40(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_KDialogJobUiDelegate_setWindow(PyObject *, PyObject *);}
static PyObject *meth_KDialogJobUiDelegate_setWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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 || sipIsDerivedClass((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 || sipIsDerivedClass((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;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KDialogJobUiDelegate(void *, const sipTypeDef *);}
static void *cast_KDialogJobUiDelegate(void *sipCppV, const sipTypeDef *targetType)
{
     ::KDialogJobUiDelegate *sipCpp = reinterpret_cast< ::KDialogJobUiDelegate *>(sipCppV);

    if (targetType == sipType_KJobUiDelegate)
        return static_cast< ::KJobUiDelegate *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* 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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDialogJobUiDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDialogJobUiDelegate(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{16, 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}
};


static pyqt4ClassPluginDef plugin_KDialogJobUiDelegate = {
    & ::KDialogJobUiDelegate::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KDialogJobUiDelegate = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDialogJobUiDelegate,
        {0},
        &plugin_KDialogJobUiDelegate
    },
    {
        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,
    cast_KDialogJobUiDelegate,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialogbuttonbox.sip"
#include <kdialogbuttonbox.h>
#line 34073 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34077 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34080 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpushbutton.sip"
#include <qpushbutton.h>
#line 34083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 34086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 34089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 34092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 34095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 34101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 34104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 34113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 34119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 34122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 34125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 34128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 34131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 34134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 34140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 34146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 34149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 34152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 34155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 34158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 34164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34173 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34176 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34179 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34182 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34194 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34200 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34203 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34206 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34209 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34212 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34215 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34218 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 34221 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 34224 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 34227 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 34230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 34236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 34239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 34242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34245 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 34248 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 34251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 34254 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 34257 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 34260 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34263 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34266 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 34269 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34272 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34275 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 34278 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34281 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34284 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 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*);
    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*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    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()
{
    sipInstanceDestroyed(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::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KDialogButtonBox::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDialogButtonBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KDialogButtonBox::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KDialogButtonBox::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KDialogButtonBox::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KDialogButtonBox::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDialogButtonBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KDialogButtonBox::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(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[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KDialogButtonBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDialogButtonBox::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  ::KDialogButtonBox::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKDialogButtonBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KDialogButtonBox::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKDialogButtonBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KDialogButtonBox::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDialogButtonBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KDialogButtonBox::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDialogButtonBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KDialogButtonBox::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKDialogButtonBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KDialogButtonBox::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDialogButtonBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KDialogButtonBox::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDialogButtonBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KDialogButtonBox::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDialogButtonBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KDialogButtonBox::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDialogButtonBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KDialogButtonBox::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KDialogButtonBox::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDialogButtonBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KDialogButtonBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(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 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_QDialogButtonBox)
        return static_cast< ::QDialogButtonBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    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 (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDialogButtonBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDialogButtonBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


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[] = {{26, 2, 1}};


static PyMethodDef methods_KDialogButtonBox[] = {
    {SIP_MLNAME_CAST(sipName_addButton), meth_KDialogButtonBox_addButton, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KDialogButtonBox = {
    & ::KDialogButtonBox::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KDialogButtonBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDialogButtonBox,
        {0},
        &plugin_KDialogButtonBox
    },
    {
        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
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 35443 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 35447 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::CaptionFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 35469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 372 "/usr/share/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 35503 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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 363 "/usr/share/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 35543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KDialog::CaptionFlags(*sipCpp ^ a0);
#line 35582 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___xor__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___xor__(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, xor_slot, NULL, sipArg0, sipArg1);
}


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;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KDialog::CaptionFlags(*sipCpp | a0);
#line 35656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/sip/kdeui/sipkdeuipart5.cpp"

            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___or__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_CaptionFlags___or__(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, or_slot, NULL, sipArg0, sipArg1);
}


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;
}


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___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___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;
}


/* 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 (sipIsOwnedByPython(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;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KDialog::CaptionFlags();
            Py_END_ALLOW_THREADS

            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;
        }
    }

    {
        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;
        }
    }

    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 390 "/usr/share/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 35944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py2/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___ixor__, ixor_slot},
    {(void *)slot_KDialog_CaptionFlags___xor__, xor_slot},
    {(void *)slot_KDialog_CaptionFlags___ior__, ior_slot},
    {(void *)slot_KDialog_CaptionFlags___or__, or_slot},
    {(void *)slot_KDialog_CaptionFlags___iand__, iand_slot},
    {(void *)slot_KDialog_CaptionFlags___and__, and_slot},
    {(void *)slot_KDialog_CaptionFlags___invert__, invert_slot},
    {(void *)slot_KDialog_CaptionFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KDialog_CaptionFlags = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KDialog_CaptionFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDialog__CaptionFlags,
        {0},
        &plugin_KDialog_CaptionFlags
    },
    {
        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
};
