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

#include "sipAPIkdeui.h"

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

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/krichtextwidget.sip"
#include <krichtextwidget.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


extern "C" {static int slot_KRichTextWidget_RichTextSupport___bool__(PyObject *);}
static int slot_KRichTextWidget_RichTextSupport___bool__(PyObject *sipSelf)
{
    KRichTextWidget::RichTextSupport *sipCpp = reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRichTextWidget_RichTextSupport));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

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

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KRichTextWidget_RichTextSupport___ne__(PyObject *,PyObject *);}
static PyObject *slot_KRichTextWidget_RichTextSupport___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KRichTextWidget::RichTextSupport *sipCpp = reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRichTextWidget_RichTextSupport));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KRichTextWidget_RichTextSupport___eq__(PyObject *,PyObject *);}
static PyObject *slot_KRichTextWidget_RichTextSupport___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KRichTextWidget::RichTextSupport *sipCpp = reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRichTextWidget_RichTextSupport));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KRichTextWidget_RichTextSupport___invert__(PyObject *);}
static PyObject *slot_KRichTextWidget_RichTextSupport___invert__(PyObject *sipSelf)
{
    KRichTextWidget::RichTextSupport *sipCpp = reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRichTextWidget_RichTextSupport));

    if (!sipCpp)
        return 0;


    {
        {
            KRichTextWidget::RichTextSupport*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KRichTextWidget::RichTextSupport(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


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

    {
        KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KRichTextWidget_RichTextSupport, &a0, &a0State, &a1))
        {
            KRichTextWidget::RichTextSupport*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KRichTextWidget::RichTextSupport((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KRichTextWidget_RichTextSupport,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;
        KRichTextWidget::RichTextSupport* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KRichTextWidget_RichTextSupport, &a0, &a0State, sipType_KRichTextWidget_RichTextSupport, &a1, &a1State))
        {
            KRichTextWidget::RichTextSupport*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KRichTextWidget::RichTextSupport((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KRichTextWidget_RichTextSupport,a0State);
            sipReleaseType(a1,sipType_KRichTextWidget_RichTextSupport,a1State);

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

    {
        KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KRichTextWidget_RichTextSupport, &a0, &a0State, &a1))
        {
            KRichTextWidget::RichTextSupport*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KRichTextWidget::RichTextSupport(*a0 ^ a1);
#line 221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(a0,sipType_KRichTextWidget_RichTextSupport,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;
        KRichTextWidget::RichTextSupport* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KRichTextWidget_RichTextSupport, &a0, &a0State, sipType_KRichTextWidget_RichTextSupport, &a1, &a1State))
        {
            KRichTextWidget::RichTextSupport*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KRichTextWidget::RichTextSupport((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KRichTextWidget_RichTextSupport,a0State);
            sipReleaseType(a1,sipType_KRichTextWidget_RichTextSupport,a1State);

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

    {
        KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KRichTextWidget_RichTextSupport, &a0, &a0State, &a1))
        {
            KRichTextWidget::RichTextSupport*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KRichTextWidget::RichTextSupport(*a0 | a1);
#line 273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(a0,sipType_KRichTextWidget_RichTextSupport,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KRichTextWidget_RichTextSupport___int__(PyObject *);}
static PyObject *slot_KRichTextWidget_RichTextSupport___int__(PyObject *sipSelf)
{
    KRichTextWidget::RichTextSupport *sipCpp = reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRichTextWidget_RichTextSupport));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KRichTextWidget_RichTextSupport___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KRichTextWidget_RichTextSupport___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KRichTextWidget_RichTextSupport)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KRichTextWidget::RichTextSupport *sipCpp = reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRichTextWidget_RichTextSupport));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KRichTextWidget_RichTextSupport, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KRichTextWidget::RichTextSupport::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KRichTextWidget_RichTextSupport,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KRichTextWidget_RichTextSupport___ior__(PyObject *,PyObject *);}
static PyObject *slot_KRichTextWidget_RichTextSupport___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KRichTextWidget_RichTextSupport)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KRichTextWidget::RichTextSupport *sipCpp = reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRichTextWidget_RichTextSupport));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KRichTextWidget_RichTextSupport, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KRichTextWidget::RichTextSupport::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KRichTextWidget_RichTextSupport,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KRichTextWidget_RichTextSupport___iand__(PyObject *,PyObject *);}
static PyObject *slot_KRichTextWidget_RichTextSupport___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KRichTextWidget_RichTextSupport)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KRichTextWidget::RichTextSupport *sipCpp = reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KRichTextWidget_RichTextSupport));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    delete reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KRichTextWidget_RichTextSupport(SIP_SSIZE_T);}
static void *array_KRichTextWidget_RichTextSupport(SIP_SSIZE_T sipNrElem)
{
    return new KRichTextWidget::RichTextSupport[sipNrElem];
}


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


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


extern "C" {static void *init_type_KRichTextWidget_RichTextSupport(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KRichTextWidget_RichTextSupport(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KRichTextWidget::RichTextSupport *sipCpp = 0;

    {
        const KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

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

            return sipCpp;
        }
    }

    return NULL;
}


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

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

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KRichTextWidget_RichTextSupportValues)) ||
            sipCanConvertToType(sipPy, sipType_KRichTextWidget_RichTextSupport, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KRichTextWidget_RichTextSupportValues)))
{
    *sipCppPtr = new KRichTextWidget::RichTextSupport(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KRichTextWidget::RichTextSupport *>(sipConvertToType(sipPy, sipType_KRichTextWidget_RichTextSupport, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

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


/* Define this type's Python slots. */
static sipPySlotDef slots_KRichTextWidget_RichTextSupport[] = {
    {(void *)slot_KRichTextWidget_RichTextSupport___bool__, bool_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___ne__, ne_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___eq__, eq_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___invert__, invert_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___and__, and_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___xor__, xor_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___or__, or_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___int__, int_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___ixor__, ixor_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___ior__, ior_slot},
    {(void *)slot_KRichTextWidget_RichTextSupport___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KRichTextWidget_RichTextSupport = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KRichTextWidget__RichTextSupport,
        {0}
    },
    {
        sipNameNr_RichTextSupport,
        {259, 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_KRichTextWidget_RichTextSupport,
    init_type_KRichTextWidget_RichTextSupport,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRichTextWidget_RichTextSupport,
    assign_KRichTextWidget_RichTextSupport,
    array_KRichTextWidget_RichTextSupport,
    copy_KRichTextWidget_RichTextSupport,
    release_KRichTextWidget_RichTextSupport,
    0,
    convertTo_KRichTextWidget_RichTextSupport,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/krichtextwidget.sip"
#include <krichtextwidget.h>
#line 633 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 637 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 640 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 643 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/krichtextwidget.sip"
#include <krichtextwidget.h>
#line 646 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 649 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 652 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/krichtextedit.sip"
#include <krichtextedit.h>
#line 655 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 658 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 661 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 664 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 667 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 670 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 673 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 676 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 679 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktextedit.sip"
#include <ktextedit.h>
#line 685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/highlighter.sip"
#include <sonnet/highlighter.h>
#line 688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 340 "/usr/share/python3-sip/PyQt4/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 210 "/usr/share/python3-sip/PyQt4/QtGui/qprinter.sip"
#include <qprinter.h>
#line 730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 102 "/usr/share/python3-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 63 "/usr/share/python3-sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 753 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 756 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 759 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 63 "/usr/share/python3-sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 765 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 768 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 771 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 774 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 777 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 780 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 783 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 786 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 789 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 792 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 795 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 798 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 801 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 804 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 807 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 810 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 813 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 816 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 819 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 822 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 825 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 828 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 831 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 834 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 837 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 840 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 843 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 846 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 849 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 852 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 855 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 858 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 861 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 864 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 867 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 870 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 873 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 876 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 879 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 888 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 891 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKRichTextWidget : public KRichTextWidget
{
public:
    sipKRichTextWidget(QWidget*);
    sipKRichTextWidget(const QString&,QWidget*);
    virtual ~sipKRichTextWidget();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[58];
};

sipKRichTextWidget::sipKRichTextWidget(QWidget*a0): KRichTextWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRichTextWidget::sipKRichTextWidget(const QString& a0,QWidget*a1): KRichTextWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKRichTextWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KRichTextWidget);
}

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

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

    return _id;
}

void *sipKRichTextWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KRichTextWidget, _clname)) ? this : KRichTextWidget::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sipKRichTextWidget::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 KRichTextWidget::metric(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool sipKRichTextWidget::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KRichTextWidget::viewportEvent(a0);

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

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

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

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

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

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

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

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

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

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

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

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

void sipKRichTextWidget::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KRichTextWidget::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

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

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

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

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

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

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

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

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

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

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

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

void sipKRichTextWidget::insertFromMimeData(const QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KRichTextWidget::insertFromMimeData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

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

bool sipKRichTextWidget::canInsertFromMimeData(const QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KRichTextWidget::canInsertFromMimeData(a0);

    typedef bool (*sipVH_QtGui_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

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

QMimeData* sipKRichTextWidget::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KRichTextWidget::createMimeDataFromSelection();

    typedef QMimeData* (*sipVH_QtGui_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QVariant sipKRichTextWidget::loadResource(int a0,const QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KRichTextWidget::loadResource(a0,a1);

    typedef QVariant (*sipVH_QtGui_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QUrl&);

    return ((sipVH_QtGui_62)(sipModuleAPI_kdeui_QtGui->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKRichTextWidget::deleteWordForward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KRichTextWidget::deleteWordForward();
        return;
    }

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

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

void sipKRichTextWidget::deleteWordBack()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KRichTextWidget::deleteWordBack();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKRichTextWidget::createHighlighter()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_createHighlighter);

    if (!sipMeth)
    {
        KRichTextWidget::createHighlighter();
        return;
    }

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

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

void sipKRichTextWidget::setReadOnly(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setReadOnly);

    if (!sipMeth)
    {
        KRichTextWidget::setReadOnly(a0);
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

void sipKRichTextWidget::createActions(KActionCollection*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_createActions);

    if (!sipMeth)
    {
        KRichTextWidget::createActions(a0);
        return;
    }

    extern void sipVH_kdeui_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KActionCollection*);

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


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

    {
        KActionCollection* a0;
        KRichTextWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRichTextWidget, &sipCpp, sipType_KActionCollection, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KRichTextWidget::createActions(a0) : sipCpp->createActions(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_KRichTextWidget, sipName_createActions, NULL);

    return NULL;
}


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

    {
        const KRichTextWidget::RichTextSupport* a0;
        int a0State = 0;
        KRichTextWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KRichTextWidget, &sipCpp, sipType_KRichTextWidget_RichTextSupport, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRichTextSupport(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KRichTextWidget::RichTextSupport *>(a0),sipType_KRichTextWidget_RichTextSupport,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KRichTextWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRichTextWidget, &sipCpp))
        {
            KRichTextWidget::RichTextSupport*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KRichTextWidget::RichTextSupport(sipCpp->richTextSupport());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KRichTextWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KRichTextWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRichTextWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActionsEnabled(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_KRichTextWidget, sipName_setActionsEnabled, NULL);

    return NULL;
}


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

    {
        QMouseEvent* a0;
        KRichTextWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KRichTextWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KRichTextWidget::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKRichTextWidget(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 sipKRichTextWidget(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KRichTextWidget[] = {
    {SIP_MLNAME_CAST(sipName_createActions), meth_KRichTextWidget_createActions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KRichTextWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_richTextSupport), meth_KRichTextWidget_richTextSupport, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActionsEnabled), meth_KRichTextWidget_setActionsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRichTextSupport), meth_KRichTextWidget_setRichTextSupport, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateActionStates), meth_KRichTextWidget_updateActionStates, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KRichTextWidget[] = {
    {sipName_DisableRichText, static_cast<int>(KRichTextWidget::DisableRichText), 261},
    {sipName_FullListSupport, static_cast<int>(KRichTextWidget::FullListSupport), 261},
    {sipName_FullSupport, static_cast<int>(KRichTextWidget::FullSupport), 261},
    {sipName_FullTextFormattingSupport, static_cast<int>(KRichTextWidget::FullTextFormattingSupport), 261},
    {sipName_SupportAlignment, static_cast<int>(KRichTextWidget::SupportAlignment), 261},
    {sipName_SupportBold, static_cast<int>(KRichTextWidget::SupportBold), 261},
    {sipName_SupportChangeListStyle, static_cast<int>(KRichTextWidget::SupportChangeListStyle), 261},
    {sipName_SupportDedentLists, static_cast<int>(KRichTextWidget::SupportDedentLists), 261},
    {sipName_SupportDirection, static_cast<int>(KRichTextWidget::SupportDirection), 261},
    {sipName_SupportFontFamily, static_cast<int>(KRichTextWidget::SupportFontFamily), 261},
    {sipName_SupportFontSize, static_cast<int>(KRichTextWidget::SupportFontSize), 261},
    {sipName_SupportFormatPainting, static_cast<int>(KRichTextWidget::SupportFormatPainting), 261},
    {sipName_SupportHyperlinks, static_cast<int>(KRichTextWidget::SupportHyperlinks), 261},
    {sipName_SupportIndentLists, static_cast<int>(KRichTextWidget::SupportIndentLists), 261},
    {sipName_SupportItalic, static_cast<int>(KRichTextWidget::SupportItalic), 261},
    {sipName_SupportRuleLine, static_cast<int>(KRichTextWidget::SupportRuleLine), 261},
    {sipName_SupportStrikeOut, static_cast<int>(KRichTextWidget::SupportStrikeOut), 261},
    {sipName_SupportSuperScriptAndSubScript, static_cast<int>(KRichTextWidget::SupportSuperScriptAndSubScript), 261},
    {sipName_SupportTextBackgroundColor, static_cast<int>(KRichTextWidget::SupportTextBackgroundColor), 261},
    {sipName_SupportTextForegroundColor, static_cast<int>(KRichTextWidget::SupportTextForegroundColor), 261},
    {sipName_SupportToPlainText, static_cast<int>(KRichTextWidget::SupportToPlainText), 261},
    {sipName_SupportUnderline, static_cast<int>(KRichTextWidget::SupportUnderline), 261},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KRichTextWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRichTextWidget,
        {0}
    },
    {
        sipNameNr_KRichTextWidget,
        {0, 0, 1},
        6, methods_KRichTextWidget,
        22, enummembers_KRichTextWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KRichTextWidget,
    0,
    init_type_KRichTextWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRichTextWidget,
    0,
    0,
    0,
    release_KRichTextWidget,
    cast_KRichTextWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KRichTextWidget::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/krichtextedit.sip"
#include <krichtextedit.h>
#line 2367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 2380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 2386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 2389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktextedit.sip"
#include <ktextedit.h>
#line 2407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/highlighter.sip"
#include <sonnet/highlighter.h>
#line 2410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 2422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 340 "/usr/share/python3-sip/PyQt4/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 2449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 210 "/usr/share/python3-sip/PyQt4/QtGui/qprinter.sip"
#include <qprinter.h>
#line 2455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 2463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2466 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 102 "/usr/share/python3-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 2475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 63 "/usr/share/python3-sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 2478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 2481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 2484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 2487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 63 "/usr/share/python3-sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 2490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 2496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 2499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 2508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2517 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 2529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2532 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2535 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2538 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2541 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2544 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2562 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2565 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 2577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 2580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 2595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 2607 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2610 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2613 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 2616 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2622 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKRichTextEdit : public KRichTextEdit
{
public:
    sipKRichTextEdit(const QString&,QWidget*);
    sipKRichTextEdit(QWidget*);
    virtual ~sipKRichTextEdit();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[57];
};

sipKRichTextEdit::sipKRichTextEdit(const QString& a0,QWidget*a1): KRichTextEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRichTextEdit::sipKRichTextEdit(QWidget*a0): KRichTextEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKRichTextEdit::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KRichTextEdit);
}

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

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

    return _id;
}

void *sipKRichTextEdit::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KRichTextEdit, _clname)) ? this : KRichTextEdit::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sipKRichTextEdit::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 KRichTextEdit::metric(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool sipKRichTextEdit::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KRichTextEdit::viewportEvent(a0);

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

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

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

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

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

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

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

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

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

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

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

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

void sipKRichTextEdit::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KRichTextEdit::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

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

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

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

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

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

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

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

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

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

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

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

void sipKRichTextEdit::insertFromMimeData(const QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KRichTextEdit::insertFromMimeData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

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

bool sipKRichTextEdit::canInsertFromMimeData(const QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KRichTextEdit::canInsertFromMimeData(a0);

    typedef bool (*sipVH_QtGui_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

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

QMimeData* sipKRichTextEdit::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KRichTextEdit::createMimeDataFromSelection();

    typedef QMimeData* (*sipVH_QtGui_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QVariant sipKRichTextEdit::loadResource(int a0,const QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KRichTextEdit::loadResource(a0,a1);

    typedef QVariant (*sipVH_QtGui_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QUrl&);

    return ((sipVH_QtGui_62)(sipModuleAPI_kdeui_QtGui->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKRichTextEdit::deleteWordForward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KRichTextEdit::deleteWordForward();
        return;
    }

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

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

void sipKRichTextEdit::deleteWordBack()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_deleteWordBack);

    if (!sipMeth)
    {
        KRichTextEdit::deleteWordBack();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKRichTextEdit::createHighlighter()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_createHighlighter);

    if (!sipMeth)
    {
        KRichTextEdit::createHighlighter();
        return;
    }

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

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

void sipKRichTextEdit::setReadOnly(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setReadOnly);

    if (!sipMeth)
    {
        KRichTextEdit::setReadOnly(a0);
        return;
    }

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

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

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

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

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

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

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


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRichTextEdit, &sipCpp))
        {
            KRichTextEdit::Mode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->textMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KRichTextEdit_Mode);
        }
    }

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

    return NULL;
}


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

    {
        const KRichTextEdit *sipCpp;

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

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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KRichTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextOrHtml(*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_KRichTextEdit, sipName_setTextOrHtml, NULL);

    return NULL;
}


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

    {
        const KRichTextEdit *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KRichTextEdit *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        QTextCursor* a0;
        const KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRichTextEdit, &sipCpp, sipType_QTextCursor, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->selectLinkText(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KRichTextEdit, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateLink(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KRichTextEdit *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canIndentList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KRichTextEdit *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->canDedentList();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRichTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setListStyle(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_KRichTextEdit, sipName_setListStyle, NULL);

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KRichTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFontFamily(*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_KRichTextEdit, sipName_setFontFamily, NULL);

    return NULL;
}


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

    {
        int a0;
        KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRichTextEdit, &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_KRichTextEdit, sipName_setFontSize, NULL);

    return NULL;
}


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

    {
        const QFont* a0;
        KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KRichTextEdit, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFont(*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_KRichTextEdit, sipName_setFont, NULL);

    return NULL;
}


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

    {
        bool a0;
        KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRichTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextBold(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_KRichTextEdit, sipName_setTextBold, NULL);

    return NULL;
}


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

    {
        bool a0;
        KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRichTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextItalic(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_KRichTextEdit, sipName_setTextItalic, NULL);

    return NULL;
}


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

    {
        bool a0;
        KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRichTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextUnderline(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_KRichTextEdit, sipName_setTextUnderline, NULL);

    return NULL;
}


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

    {
        bool a0;
        KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRichTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextStrikeOut(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_KRichTextEdit, sipName_setTextStrikeOut, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KRichTextEdit, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextForegroundColor(*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_KRichTextEdit, sipName_setTextForegroundColor, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KRichTextEdit, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextBackgroundColor(*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_KRichTextEdit, sipName_setTextBackgroundColor, NULL);

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KRichTextEdit *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        bool a0;
        KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRichTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextSuperScript(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_KRichTextEdit, sipName_setTextSuperScript, NULL);

    return NULL;
}


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

    {
        bool a0;
        KRichTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRichTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTextSubScript(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_KRichTextEdit, sipName_setTextSubScript, NULL);

    return NULL;
}


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

    {
        QKeyEvent* a0;
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KRichTextEdit *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        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 sipKRichTextEdit(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KRichTextEdit[] = {
    {SIP_MLNAME_CAST(sipName_alignCenter), meth_KRichTextEdit_alignCenter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_alignJustify), meth_KRichTextEdit_alignJustify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_alignLeft), meth_KRichTextEdit_alignLeft, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_alignRight), meth_KRichTextEdit_alignRight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canDedentList), meth_KRichTextEdit_canDedentList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canIndentList), meth_KRichTextEdit_canIndentList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentLinkText), meth_KRichTextEdit_currentLinkText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentLinkUrl), meth_KRichTextEdit_currentLinkUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableRichTextMode), meth_KRichTextEdit_enableRichTextMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indentListLess), meth_KRichTextEdit_indentListLess, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indentListMore), meth_KRichTextEdit_indentListMore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertHorizontalRule), meth_KRichTextEdit_insertHorizontalRule, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KRichTextEdit_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeLeftToRight), meth_KRichTextEdit_makeLeftToRight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeRightToLeft), meth_KRichTextEdit_makeRightToLeft, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectLinkText), meth_KRichTextEdit_selectLinkText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFont), meth_KRichTextEdit_setFont, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFontFamily), meth_KRichTextEdit_setFontFamily, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFontSize), meth_KRichTextEdit_setFontSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setListStyle), meth_KRichTextEdit_setListStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextBackgroundColor), meth_KRichTextEdit_setTextBackgroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextBold), meth_KRichTextEdit_setTextBold, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextForegroundColor), meth_KRichTextEdit_setTextForegroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextItalic), meth_KRichTextEdit_setTextItalic, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextOrHtml), meth_KRichTextEdit_setTextOrHtml, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextStrikeOut), meth_KRichTextEdit_setTextStrikeOut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextSubScript), meth_KRichTextEdit_setTextSubScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextSuperScript), meth_KRichTextEdit_setTextSuperScript, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTextUnderline), meth_KRichTextEdit_setTextUnderline, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_switchToPlainText), meth_KRichTextEdit_switchToPlainText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_textMode), meth_KRichTextEdit_textMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_textOrHtml), meth_KRichTextEdit_textOrHtml, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_toCleanHtml), meth_KRichTextEdit_toCleanHtml, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateLink), meth_KRichTextEdit_updateLink, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KRichTextEdit[] = {
    {sipName_Plain, static_cast<int>(KRichTextEdit::Plain), 258},
    {sipName_Rich, static_cast<int>(KRichTextEdit::Rich), 258},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KRichTextEdit[] = {
    {"selectionFinished()", 0, 0, 0},
    {"textModeChanged(KRichTextEdit::Mode)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KRichTextEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRichTextEdit,
        {0}
    },
    {
        sipNameNr_KRichTextEdit,
        {0, 0, 1},
        34, methods_KRichTextEdit,
        2, enummembers_KRichTextEdit,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KRichTextEdit,
    0,
    init_type_KRichTextEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRichTextEdit,
    0,
    0,
    0,
    release_KRichTextEdit,
    cast_KRichTextEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KRichTextEdit::staticMetaObject,
    0,
    signals_KRichTextEdit,
};

#line 41 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktextedit.sip"
#include <ktextedit.h>
#line 4859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4863 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4866 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 4869 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4872 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4875 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4878 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4881 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4884 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4887 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/ktextedit.sip"
#include <ktextedit.h>
#line 4890 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/highlighter.sip"
#include <sonnet/highlighter.h>
#line 4893 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 4896 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4899 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4902 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4905 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 4908 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4911 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4914 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4917 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4920 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4923 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4926 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4929 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4932 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 340 "/usr/share/python3-sip/PyQt4/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 4935 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4938 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4941 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 210 "/usr/share/python3-sip/PyQt4/QtGui/qprinter.sip"
#include <qprinter.h>
#line 4944 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 4947 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4950 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 4955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4964 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 102 "/usr/share/python3-sip/PyQt4/QtCore/qurl.sip"
#include <qurl.h>
#line 4967 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 63 "/usr/share/python3-sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 4970 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 4973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 4976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 4979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 63 "/usr/share/python3-sip/PyQt4/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 4982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 4988 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 4991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4994 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4997 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 5000 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5003 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5006 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 5009 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 5012 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5015 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 5018 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 5021 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5024 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5027 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 5030 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 5033 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5036 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5039 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5042 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5045 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5048 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5051 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5054 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 5057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 5060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 5063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5066 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 5069 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 5072 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 5075 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5078 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5081 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 5084 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 5087 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 5090 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 5093 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5096 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5099 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5102 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5105 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5108 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5111 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5114 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKTextEdit : public KTextEdit
{
public:
    sipKTextEdit(const QString&,QWidget*);
    sipKTextEdit(QWidget*);
    virtual ~sipKTextEdit();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[57];
};

sipKTextEdit::sipKTextEdit(const QString& a0,QWidget*a1): KTextEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKTextEdit::sipKTextEdit(QWidget*a0): KTextEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKTextEdit::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KTextEdit);
}

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

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

    return _id;
}

void *sipKTextEdit::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KTextEdit, _clname)) ? this : KTextEdit::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sipKTextEdit::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 KTextEdit::metric(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool sipKTextEdit::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return KTextEdit::viewportEvent(a0);

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

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

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

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

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

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

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

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

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

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

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

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

void sipKTextEdit::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        KTextEdit::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

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

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

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

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

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

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KTextEdit::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::insertFromMimeData(const QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_insertFromMimeData);

    if (!sipMeth)
    {
        KTextEdit::insertFromMimeData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    ((sipVH_QtGui_59)(sipModuleAPI_kdeui_QtGui->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTextEdit::canInsertFromMimeData(const QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_canInsertFromMimeData);

    if (!sipMeth)
        return KTextEdit::canInsertFromMimeData(a0);

    typedef bool (*sipVH_QtGui_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    return ((sipVH_QtGui_60)(sipModuleAPI_kdeui_QtGui->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QMimeData* sipKTextEdit::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_createMimeDataFromSelection);

    if (!sipMeth)
        return KTextEdit::createMimeDataFromSelection();

    typedef QMimeData* (*sipVH_QtGui_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_61)(sipModuleAPI_kdeui_QtGui->em_virthandlers[61]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextEdit::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KTextEdit::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KTextEdit::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KTextEdit::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KTextEdit::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KTextEdit::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KTextEdit::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTextEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KTextEdit::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KTextEdit::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KTextEdit::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KTextEdit::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KTextEdit::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KTextEdit::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KTextEdit::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KTextEdit::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKTextEdit::loadResource(int a0,const QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_loadResource);

    if (!sipMeth)
        return KTextEdit::loadResource(a0,a1);

    typedef QVariant (*sipVH_QtGui_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QUrl&);

    return ((sipVH_QtGui_62)(sipModuleAPI_kdeui_QtGui->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKTextEdit::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KTextEdit::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KTextEdit::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KTextEdit::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::deleteWordForward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_deleteWordForward);

    if (!sipMeth)
    {
        KTextEdit::deleteWordForward();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextEdit::deleteWordBack()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_deleteWordBack);

    if (!sipMeth)
    {
        KTextEdit::deleteWordBack();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextEdit::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KTextEdit::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KTextEdit::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KTextEdit::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKTextEdit::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KTextEdit::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKTextEdit::createHighlighter()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_createHighlighter);

    if (!sipMeth)
    {
        KTextEdit::createHighlighter();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKTextEdit::setReadOnly(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_setReadOnly);

    if (!sipMeth)
    {
        KTextEdit::setReadOnly(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KTextEdit_setReadOnly(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_setReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::setReadOnly(a0) : sipCpp->setReadOnly(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_KTextEdit, sipName_setReadOnly, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_setCheckSpellingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_setCheckSpellingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckSpellingEnabled(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_KTextEdit, sipName_setCheckSpellingEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_checkSpellingEnabled(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_checkSpellingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkSpellingEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_checkSpellingEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_highlightWord(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_highlightWord(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KTextEdit, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->highlightWord(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_KTextEdit, sipName_highlightWord, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_setSpellCheckingConfigFileName(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_setSpellCheckingConfigFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpellCheckingConfigFileName(*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_KTextEdit, sipName_setSpellCheckingConfigFileName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_createHighlighter(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_createHighlighter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::createHighlighter() : sipCpp->createHighlighter());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_createHighlighter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_highlighter(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_highlighter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Sonnet::Highlighter*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->highlighter();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Sonnet_Highlighter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_highlighter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_setHighlighter(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_setHighlighter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Sonnet::Highlighter* a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_Sonnet_Highlighter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHighlighter(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_KTextEdit, sipName_setHighlighter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_mousePopupMenu(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_mousePopupMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            QMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mousePopupMenu();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_mousePopupMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_enableFindReplace(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_enableFindReplace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->enableFindReplace(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_KTextEdit, sipName_enableFindReplace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_setSpellInterface(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_setSpellInterface(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEditSpellInterface* a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_KTextEditSpellInterface, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpellInterface(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_KTextEdit, sipName_setSpellInterface, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_spellCheckingLanguage(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_spellCheckingLanguage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->spellCheckingLanguage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_spellCheckingLanguage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_setSpellCheckingLanguage(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_setSpellCheckingLanguage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpellCheckingLanguage(*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_KTextEdit, sipName_setSpellCheckingLanguage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_checkSpelling(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_checkSpelling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->checkSpelling();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_checkSpelling, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_showSpellConfigDialog(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_showSpellConfigDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showSpellConfigDialog(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_showSpellConfigDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_replace(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_replace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->replace();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_replace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_slotDoReplace(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_slotDoReplace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotDoReplace();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_slotDoReplace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_slotReplaceNext(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_slotReplaceNext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotReplaceNext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_slotReplaceNext, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_slotDoFind(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_slotDoFind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotDoFind();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_slotDoFind, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_slotFind(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_slotFind(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotFind();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_slotFind, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_slotFindNext(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_slotFindNext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotFindNext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_slotFindNext, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_slotReplace(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_slotReplace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotReplace();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_slotReplace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_slotSpeakText(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_slotSpeakText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotSpeakText();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_slotSpeakText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_event(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KTextEdit::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_KTextEdit, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::keyPressEvent(a0) : sipCpp->keyPressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::focusInEvent(a0) : sipCpp->focusInEvent(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_KTextEdit, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::wheelEvent(a0) : sipCpp->wheelEvent(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_KTextEdit, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_deleteWordBack(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_deleteWordBack(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::deleteWordBack() : sipCpp->deleteWordBack());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_deleteWordBack, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_deleteWordForward(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_deleteWordForward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::deleteWordForward() : sipCpp->deleteWordForward());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_deleteWordForward, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::contextMenuEvent(a0) : sipCpp->contextMenuEvent(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_KTextEdit, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_setCheckSpellingEnabledInternal(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_setCheckSpellingEnabledInternal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KTextEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckSpellingEnabledInternal(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_KTextEdit, sipName_setCheckSpellingEnabledInternal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_checkSpellingEnabledInternal(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_checkSpellingEnabledInternal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checkSpellingEnabledInternal();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_checkSpellingEnabledInternal, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_setClickMessage(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_setClickMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setClickMessage(*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_KTextEdit, sipName_setClickMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_clickMessage(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_clickMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTextEdit, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->clickMessage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KTextEdit, sipName_clickMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::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_KTextEdit, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KTextEdit_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KTextEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        KTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KTextEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KTextEdit::focusOutEvent(a0) : sipCpp->focusOutEvent(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_KTextEdit, sipName_focusOutEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KTextEdit(void *, const sipTypeDef *);}
static void *cast_KTextEdit(void *sipCppV, const sipTypeDef *targetType)
{
    KTextEdit *sipCpp = reinterpret_cast<KTextEdit *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KTextEdit(void *, int);}
static void release_KTextEdit(void *sipCppV,int)
{
    KTextEdit *sipCpp = reinterpret_cast<KTextEdit *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTextEdit(sipSimpleWrapper *);}
static void dealloc_KTextEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTextEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTextEdit(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KTextEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KTextEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKTextEdit *sipCpp = 0;

    {
        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 sipKTextEdit(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKTextEdit(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KTextEdit[] = {{667, 2, 1}};


static PyMethodDef methods_KTextEdit[] = {
    {SIP_MLNAME_CAST(sipName_checkSpelling), meth_KTextEdit_checkSpelling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkSpellingEnabled), meth_KTextEdit_checkSpellingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkSpellingEnabledInternal), meth_KTextEdit_checkSpellingEnabledInternal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clickMessage), meth_KTextEdit_clickMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KTextEdit_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createHighlighter), meth_KTextEdit_createHighlighter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWordBack), meth_KTextEdit_deleteWordBack, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deleteWordForward), meth_KTextEdit_deleteWordForward, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enableFindReplace), meth_KTextEdit_enableFindReplace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KTextEdit_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KTextEdit_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KTextEdit_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_highlightWord), meth_KTextEdit_highlightWord, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_highlighter), meth_KTextEdit_highlighter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KTextEdit_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePopupMenu), meth_KTextEdit_mousePopupMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KTextEdit_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replace), meth_KTextEdit_replace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckSpellingEnabled), meth_KTextEdit_setCheckSpellingEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckSpellingEnabledInternal), meth_KTextEdit_setCheckSpellingEnabledInternal, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setClickMessage), meth_KTextEdit_setClickMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHighlighter), meth_KTextEdit_setHighlighter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_KTextEdit_setReadOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpellCheckingConfigFileName), meth_KTextEdit_setSpellCheckingConfigFileName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpellCheckingLanguage), meth_KTextEdit_setSpellCheckingLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpellInterface), meth_KTextEdit_setSpellInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showSpellConfigDialog), meth_KTextEdit_showSpellConfigDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotDoFind), meth_KTextEdit_slotDoFind, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotDoReplace), meth_KTextEdit_slotDoReplace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotFind), meth_KTextEdit_slotFind, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotFindNext), meth_KTextEdit_slotFindNext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotReplace), meth_KTextEdit_slotReplace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotReplaceNext), meth_KTextEdit_slotReplaceNext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotSpeakText), meth_KTextEdit_slotSpeakText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_spellCheckingLanguage), meth_KTextEdit_spellCheckingLanguage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KTextEdit_wheelEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KTextEdit[] = {
    {"aboutToShowContextMenu(QMenu*)", 0, 0, 0},
    {"languageChanged(QString)", 0, 0, 0},
    {"spellCheckStatus(QString)", 0, 0, 0},
    {"checkSpellingChanged(bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KTextEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTextEdit,
        {0}
    },
    {
        sipNameNr_KTextEdit,
        {0, 0, 1},
        36, methods_KTextEdit,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTextEdit,
    0,
    init_type_KTextEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTextEdit,
    0,
    0,
    0,
    release_KTextEdit,
    cast_KTextEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KTextEdit::staticMetaObject,
    0,
    signals_KTextEdit,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/krestrictedline.sip"
#include <krestrictedline.h>
#line 7400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 7413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 7425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 7440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 7443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 7446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 7449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 7452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 7455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 7458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 7464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 7467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 7473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 409 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 7485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 7494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 7497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 7506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 7509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 7515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 7518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 7530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 7533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 7536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 7563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 7566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 7572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 7578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 7581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 7590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 7596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 7599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 7602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 7611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 7617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 7620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 7629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 7632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKRestrictedLine : public KRestrictedLine
{
public:
    sipKRestrictedLine(QWidget*);
    virtual ~sipKRestrictedLine();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setCompletedItems(const QStringList&,bool);
    void setHandleSignals(bool);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void changeEvent(QEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void mouseMoveEvent(QMouseEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void paintEvent(QPaintEvent*);
    void create(WId,bool,bool);
    void setCompletedText(const QString&,bool);
    void dropEvent(QDropEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void resizeEvent(QResizeEvent*);
    bool event(QEvent*);
    void makeCompletion(const QString&);
    void setText(const QString&);
    void clear();
    void setCompletedText(const QString&);
    void setReadOnly(bool);
    void copy() const;
    void setCompletionObject(KCompletion*,bool);
    void setContextMenuEnabled(bool);
    void setCompletionMode(KGlobalSettings::Completion);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKRestrictedLine(const sipKRestrictedLine &);
    sipKRestrictedLine &operator = (const sipKRestrictedLine &);

    char sipPyMethods[63];
};

sipKRestrictedLine::sipKRestrictedLine(QWidget*a0): KRestrictedLine(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRestrictedLine::~sipKRestrictedLine()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKRestrictedLine::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KRestrictedLine);
}

int sipKRestrictedLine::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KRestrictedLine::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KRestrictedLine,_c,_id,_a);

    return _id;
}

void *sipKRestrictedLine::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KRestrictedLine, _clname)) ? this : KRestrictedLine::qt_metacast(_clname);
}

void sipKRestrictedLine::setCompletedItems(const QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setCompletedItems);

    if (!sipMeth)
    {
        KRestrictedLine::setCompletedItems(a0,a1);
        return;
    }

    extern void sipVH_kdeui_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStringList&,bool);

    sipVH_kdeui_82(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKRestrictedLine::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setHandleSignals);

    if (!sipMeth)
    {
        KRestrictedLine::setHandleSignals(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KRestrictedLine::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KRestrictedLine::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KRestrictedLine::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KRestrictedLine::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KRestrictedLine::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRestrictedLine::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KRestrictedLine::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKRestrictedLine::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KRestrictedLine::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRestrictedLine::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KRestrictedLine::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KRestrictedLine::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KRestrictedLine::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KRestrictedLine::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRestrictedLine::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KRestrictedLine::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KRestrictedLine::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKRestrictedLine::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KRestrictedLine::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KRestrictedLine::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KRestrictedLine::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KRestrictedLine::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KRestrictedLine::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KRestrictedLine::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KRestrictedLine::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KRestrictedLine::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KRestrictedLine::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KRestrictedLine::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KRestrictedLine::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KRestrictedLine::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKRestrictedLine::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KRestrictedLine::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKRestrictedLine::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KRestrictedLine::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KRestrictedLine::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKRestrictedLine::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KRestrictedLine::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKRestrictedLine::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KRestrictedLine::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KRestrictedLine::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KRestrictedLine::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KRestrictedLine::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KRestrictedLine::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KRestrictedLine::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKRestrictedLine::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KRestrictedLine::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKRestrictedLine::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KRestrictedLine::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRestrictedLine::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KRestrictedLine::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KRestrictedLine::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KRestrictedLine::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::create(WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
    {
        KRestrictedLine::create(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, unsigned long,bool,bool);

    sipVH_kdeui_68(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKRestrictedLine::setCompletedText(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
        KRestrictedLine::setCompletedText(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKRestrictedLine::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KRestrictedLine::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KRestrictedLine::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KRestrictedLine::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KRestrictedLine::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KRestrictedLine::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KRestrictedLine::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRestrictedLine::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KRestrictedLine::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::makeCompletion(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
    {
        KRestrictedLine::makeCompletion(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::setText(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setText);

    if (!sipMeth)
    {
        KRestrictedLine::setText(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        KRestrictedLine::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRestrictedLine::setCompletedText(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
        KRestrictedLine::setCompletedText(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::setReadOnly(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setReadOnly);

    if (!sipMeth)
    {
        KRestrictedLine::setReadOnly(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::copy() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_copy);

    if (!sipMeth)
    {
        KRestrictedLine::copy();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRestrictedLine::setCompletionObject(KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setCompletionObject);

    if (!sipMeth)
    {
        KRestrictedLine::setCompletionObject(a0,a1);
        return;
    }

    extern void sipVH_kdeui_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KCompletion*,bool);

    sipVH_kdeui_69(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKRestrictedLine::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!sipMeth)
    {
        KRestrictedLine::setContextMenuEnabled(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRestrictedLine::setCompletionMode(KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
        KRestrictedLine::setCompletionMode(a0);
        return;
    }

    extern void sipVH_kdeui_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KGlobalSettings::Completion);

    sipVH_kdeui_70(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KRestrictedLine_setValidChars(PyObject *, PyObject *);}
static PyObject *meth_KRestrictedLine_setValidChars(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KRestrictedLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KRestrictedLine, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValidChars(*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_KRestrictedLine, sipName_setValidChars, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRestrictedLine_validChars(PyObject *, PyObject *);}
static PyObject *meth_KRestrictedLine_validChars(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRestrictedLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRestrictedLine, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->validChars());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRestrictedLine, sipName_validChars, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRestrictedLine_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KRestrictedLine_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        KRestrictedLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KRestrictedLine, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KRestrictedLine::keyPressEvent(a0) : sipCpp->keyPressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRestrictedLine, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRestrictedLine_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_KRestrictedLine_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        KRestrictedLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KRestrictedLine, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KRestrictedLine::inputMethodEvent(a0) : sipCpp->inputMethodEvent(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_KRestrictedLine, sipName_inputMethodEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KRestrictedLine(void *, const sipTypeDef *);}
static void *cast_KRestrictedLine(void *sipCppV, const sipTypeDef *targetType)
{
    KRestrictedLine *sipCpp = reinterpret_cast<KRestrictedLine *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    if (targetType == sipType_KCompletionBase)
        return static_cast<KCompletionBase *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KRestrictedLine(void *, int);}
static void release_KRestrictedLine(void *sipCppV,int)
{
    KRestrictedLine *sipCpp = reinterpret_cast<KRestrictedLine *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KRestrictedLine(sipSimpleWrapper *);}
static void dealloc_KRestrictedLine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKRestrictedLine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KRestrictedLine(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KRestrictedLine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KRestrictedLine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKRestrictedLine *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKRestrictedLine(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KRestrictedLine[] = {{180, 255, 1}};


static PyMethodDef methods_KRestrictedLine[] = {
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KRestrictedLine_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KRestrictedLine_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValidChars), meth_KRestrictedLine_setValidChars, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validChars), meth_KRestrictedLine_validChars, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KRestrictedLine[] = {
    {"invalidChar(int)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KRestrictedLine = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRestrictedLine,
        {0}
    },
    {
        sipNameNr_KRestrictedLine,
        {0, 0, 1},
        4, methods_KRestrictedLine,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KRestrictedLine,
    0,
    init_type_KRestrictedLine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRestrictedLine,
    0,
    0,
    0,
    release_KRestrictedLine,
    cast_KRestrictedLine,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KRestrictedLine::staticMetaObject,
    0,
    signals_KRestrictedLine,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kreplacedialog.sip"
#include <kreplacedialog.h>
#line 9058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9062 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 9065 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9068 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9071 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9074 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9077 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9080 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 9083 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 9086 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 9089 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 9092 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 9095 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 9098 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 9101 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 9104 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 9107 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 9110 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 9113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9116 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 9119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9131 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 9137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 9143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 9146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 9152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 9158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 9164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 9170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 9173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 9176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 9182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9212 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9215 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 9224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 9227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 9230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 9236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 9239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 9245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 9248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 9251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 9254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 9257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKReplaceDialog : public KReplaceDialog
{
public:
    sipKReplaceDialog(QWidget*,long,const QStringList&,const QStringList&,bool);
    virtual ~sipKReplaceDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void showEvent(QShowEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKReplaceDialog(const sipKReplaceDialog &);
    sipKReplaceDialog &operator = (const sipKReplaceDialog &);

    char sipPyMethods[54];
};

sipKReplaceDialog::sipKReplaceDialog(QWidget*a0,long a1,const QStringList& a2,const QStringList& a3,bool a4): KReplaceDialog(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKReplaceDialog::~sipKReplaceDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKReplaceDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KReplaceDialog);
}

int sipKReplaceDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KReplaceDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KReplaceDialog,_c,_id,_a);

    return _id;
}

void *sipKReplaceDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KReplaceDialog, _clname)) ? this : KReplaceDialog::qt_metacast(_clname);
}

void sipKReplaceDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KReplaceDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KReplaceDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KReplaceDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KReplaceDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KReplaceDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KReplaceDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKReplaceDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KReplaceDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KReplaceDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KReplaceDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KReplaceDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKReplaceDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KReplaceDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKReplaceDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KReplaceDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KReplaceDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKReplaceDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KReplaceDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KReplaceDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KReplaceDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KReplaceDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KReplaceDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KReplaceDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KReplaceDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KReplaceDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KReplaceDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KReplaceDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KReplaceDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KReplaceDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KReplaceDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KReplaceDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KReplaceDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KReplaceDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KReplaceDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KReplaceDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KReplaceDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KReplaceDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKReplaceDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KReplaceDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKReplaceDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KReplaceDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKReplaceDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KReplaceDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKReplaceDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KReplaceDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKReplaceDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KReplaceDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKReplaceDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KReplaceDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KReplaceDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KReplaceDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKReplaceDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KReplaceDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKReplaceDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KReplaceDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KReplaceDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KReplaceDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KReplaceDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KReplaceDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KReplaceDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KReplaceDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplaceDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KReplaceDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKReplaceDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KReplaceDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKReplaceDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KReplaceDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKReplaceDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KReplaceDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKReplaceDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KReplaceDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KReplaceDialog_setReplacementHistory(PyObject *, PyObject *);}
static PyObject *meth_KReplaceDialog_setReplacementHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        KReplaceDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KReplaceDialog, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReplacementHistory(*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_KReplaceDialog, sipName_setReplacementHistory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplaceDialog_replacementHistory(PyObject *, PyObject *);}
static PyObject *meth_KReplaceDialog_replacementHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KReplaceDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KReplaceDialog, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->replacementHistory());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KReplaceDialog, sipName_replacementHistory, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplaceDialog_setOptions(PyObject *, PyObject *);}
static PyObject *meth_KReplaceDialog_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        long a0;
        KReplaceDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bl", &sipSelf, sipType_KReplaceDialog, &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_KReplaceDialog, sipName_setOptions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplaceDialog_options(PyObject *, PyObject *);}
static PyObject *meth_KReplaceDialog_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KReplaceDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KReplaceDialog, &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_KReplaceDialog, sipName_options, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplaceDialog_replacement(PyObject *, PyObject *);}
static PyObject *meth_KReplaceDialog_replacement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KReplaceDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KReplaceDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->replacement());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KReplaceDialog, sipName_replacement, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplaceDialog_replaceExtension(PyObject *, PyObject *);}
static PyObject *meth_KReplaceDialog_replaceExtension(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KReplaceDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KReplaceDialog, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->replaceExtension();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KReplaceDialog, sipName_replaceExtension, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplaceDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KReplaceDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        KReplaceDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KReplaceDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KReplaceDialog::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_KReplaceDialog, sipName_showEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KReplaceDialog(void *, const sipTypeDef *);}
static void *cast_KReplaceDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KReplaceDialog *sipCpp = reinterpret_cast<KReplaceDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KReplaceDialog(void *, int);}
static void release_KReplaceDialog(void *sipCppV,int)
{
    KReplaceDialog *sipCpp = reinterpret_cast<KReplaceDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KReplaceDialog(sipSimpleWrapper *);}
static void dealloc_KReplaceDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKReplaceDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KReplaceDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KReplaceDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KReplaceDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKReplaceDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        long a1 = 0;
        const QStringList& a2def = QStringList();
        const QStringList* a2 = &a2def;
        int a2State = 0;
        const QStringList& a3def = QStringList();
        const QStringList* a3 = &a3def;
        int a3State = 0;
        bool a4 = 1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHlJ1J1b", sipType_QWidget, &a0, sipOwner, &a1, sipType_QStringList,&a2, &a2State, sipType_QStringList,&a3, &a3State, &a4))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKReplaceDialog(a0,a1,*a2,*a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast<QStringList *>(a3),sipType_QStringList,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KReplaceDialog[] = {{115, 255, 1}};


static PyMethodDef methods_KReplaceDialog[] = {
    {SIP_MLNAME_CAST(sipName_options), meth_KReplaceDialog_options, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replaceExtension), meth_KReplaceDialog_replaceExtension, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replacement), meth_KReplaceDialog_replacement, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replacementHistory), meth_KReplaceDialog_replacementHistory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_KReplaceDialog_setOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReplacementHistory), meth_KReplaceDialog_setReplacementHistory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KReplaceDialog_showEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KReplaceDialog[] = {
    {sipName_BackReference, static_cast<int>(KReplaceDialog::BackReference), 255},
    {sipName_PromptOnReplace, static_cast<int>(KReplaceDialog::PromptOnReplace), 255},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KReplaceDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KReplaceDialog,
        {0}
    },
    {
        sipNameNr_KReplaceDialog,
        {0, 0, 1},
        7, methods_KReplaceDialog,
        2, enummembers_KReplaceDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KReplaceDialog,
    0,
    init_type_KReplaceDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KReplaceDialog,
    0,
    0,
    0,
    release_KReplaceDialog,
    cast_KReplaceDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KReplaceDialog::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kreplace.sip"
#include <kreplace.h>
#line 10678 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 10682 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 10685 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 10688 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kfind.sip"
#include <kfind.h>
#line 10691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 10694 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10697 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10700 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 10703 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 10706 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 10709 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10712 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 10715 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 10718 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 10721 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 10724 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 10727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKReplace : public KReplace
{
public:
    sipKReplace(const QString&,const QString&,long,QWidget*);
    sipKReplace(const QString&,const QString&,long,QWidget*,QWidget*);
    virtual ~sipKReplace();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool validateMatch(const QString&,int,int);
    void setOptions(long);
    void displayFinalDialog() const;
    bool shouldRestart(bool,bool) const;
    void resetCounts();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKReplace(const sipKReplace &);
    sipKReplace &operator = (const sipKReplace &);

    char sipPyMethods[12];
};

sipKReplace::sipKReplace(const QString& a0,const QString& a1,long a2,QWidget*a3): KReplace(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKReplace::sipKReplace(const QString& a0,const QString& a1,long a2,QWidget*a3,QWidget*a4): KReplace(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKReplace::~sipKReplace()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKReplace::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KReplace);
}

int sipKReplace::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KReplace::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KReplace,_c,_id,_a);

    return _id;
}

void *sipKReplace::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KReplace, _clname)) ? this : KReplace::qt_metacast(_clname);
}

void sipKReplace::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KReplace::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplace::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KReplace::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplace::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KReplace::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplace::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KReplace::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplace::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KReplace::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKReplace::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KReplace::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKReplace::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KReplace::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKReplace::validateMatch(const QString& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_validateMatch);

    if (!sipMeth)
        return KReplace::validateMatch(a0,a1,a2);

    extern bool sipVH_kdeui_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,int,int);

    return sipVH_kdeui_73(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKReplace::setOptions(long a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setOptions);

    if (!sipMeth)
    {
        KReplace::setOptions(a0);
        return;
    }

    extern void sipVH_kdeui_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, long);

    sipVH_kdeui_74(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKReplace::displayFinalDialog() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_displayFinalDialog);

    if (!sipMeth)
    {
        KReplace::displayFinalDialog();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKReplace::shouldRestart(bool a0,bool a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_shouldRestart);

    if (!sipMeth)
        return KReplace::shouldRestart(a0,a1);

    extern bool sipVH_kdeui_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool,bool);

    return sipVH_kdeui_51(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKReplace::resetCounts()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_resetCounts);

    if (!sipMeth)
    {
        KReplace::resetCounts();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KReplace_numReplacements(PyObject *, PyObject *);}
static PyObject *meth_KReplace_numReplacements(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KReplace *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KReplace, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->numReplacements();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KReplace, sipName_numReplacements, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplace_resetCounts(PyObject *, PyObject *);}
static PyObject *meth_KReplace_resetCounts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KReplace *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KReplace, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KReplace::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_KReplace, sipName_resetCounts, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplace_replace(PyObject *, PyObject *);}
static PyObject *meth_KReplace_replace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KReplace *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KReplace, &sipCpp))
        {
            KFind::Result sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->replace();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KFind_Result);
        }
    }

    {
        QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        int a3;
        long a4;
        int a5;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J1il", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3, &a4))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KReplace::replace(*a0,*a1,*a2,a3,a4,&a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipBuildResult(0,"(ii)",sipRes,a5);
        }
    }

    {
        QString* a0;
        int a0State = 0;
        const QRegExp* a1;
        const QString* a2;
        int a2State = 0;
        int a3;
        long a4;
        int a5;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J9J1il", sipType_QString,&a0, &a0State, sipType_QRegExp, &a1, sipType_QString,&a2, &a2State, &a3, &a4))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KReplace::replace(*a0,*a1,*a2,a3,a4,&a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipBuildResult(0,"(ii)",sipRes,a5);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KReplace, sipName_replace, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplace_replaceNextDialog(PyObject *, PyObject *);}
static PyObject *meth_KReplace_replaceNextDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 0;
        KReplace *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KReplace, &sipCpp, &a0))
        {
            KDialog*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->replaceNextDialog(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KDialog,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KReplace, sipName_replaceNextDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplace_closeReplaceNextDialog(PyObject *, PyObject *);}
static PyObject *meth_KReplace_closeReplaceNextDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KReplace *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KReplace, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->closeReplaceNextDialog();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KReplace, sipName_closeReplaceNextDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplace_shouldRestart(PyObject *, PyObject *);}
static PyObject *meth_KReplace_shouldRestart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0 = 0;
        bool a1 = 1;
        const KReplace *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|bb", &sipSelf, sipType_KReplace, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KReplace::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_KReplace, sipName_shouldRestart, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KReplace_displayFinalDialog(PyObject *, PyObject *);}
static PyObject *meth_KReplace_displayFinalDialog(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KReplace *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KReplace, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KReplace::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_KReplace, sipName_displayFinalDialog, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KReplace(void *, int);}
static void release_KReplace(void *sipCppV,int)
{
    KReplace *sipCpp = reinterpret_cast<KReplace *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KReplace(sipSimpleWrapper *);}
static void dealloc_KReplace(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKReplace *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KReplace(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KReplace(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KReplace(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKReplace *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        long a2;
        QWidget* a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1l|JH", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, sipType_QWidget, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKReplace(*a0,*a1,a2,a3);
            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;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        long a2;
        QWidget* a3;
        QWidget* a4;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1lJHJ8", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, sipType_QWidget, &a3, sipOwner, sipType_QWidget, &a4))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKReplace(*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);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KReplace[] = {{111, 255, 1}};


static PyMethodDef methods_KReplace[] = {
    {SIP_MLNAME_CAST(sipName_closeReplaceNextDialog), meth_KReplace_closeReplaceNextDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_displayFinalDialog), meth_KReplace_displayFinalDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_numReplacements), meth_KReplace_numReplacements, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replace), meth_KReplace_replace, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replaceNextDialog), meth_KReplace_replaceNextDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetCounts), meth_KReplace_resetCounts, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shouldRestart), meth_KReplace_shouldRestart, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KReplace[] = {
    {"replace(QString,int,int,int)", 0, &methods_KReplace[3], 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KReplace = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KReplace,
        {0}
    },
    {
        sipNameNr_KReplace,
        {0, 0, 1},
        7, methods_KReplace,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KReplace,
    0,
    init_type_KReplace,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KReplace,
    0,
    0,
    0,
    release_KReplace,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KReplace::staticMetaObject,
    0,
    signals_KReplace,
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/krecursivefilterproxymodel.sip"
#include <krecursivefilterproxymodel.h>
#line 11412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 11419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 11431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 11437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 11443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 11449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 169 "/usr/share/python3-sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 11458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 11461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 11467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 11473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKRecursiveFilterProxyModel : public KRecursiveFilterProxyModel
{
public:
    sipKRecursiveFilterProxyModel(QObject*);
    virtual ~sipKRecursiveFilterProxyModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    void revert();
    bool submit();
    void setSourceModel(QAbstractItemModel*);
    Qt::DropActions supportedDropActions() const;
    QStringList mimeTypes() const;
    void sort(int,Qt::SortOrder);
    QSize span(const QModelIndex&) const;
    QModelIndex buddy(const QModelIndex&) const;
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    bool hasChildren(const QModelIndex&) const;
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    bool lessThan(const QModelIndex&,const QModelIndex&) const;
    bool filterAcceptsColumn(int,const QModelIndex&) const;
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QModelIndex mapToSource(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    bool acceptRow(int,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKRecursiveFilterProxyModel(const sipKRecursiveFilterProxyModel &);
    sipKRecursiveFilterProxyModel &operator = (const sipKRecursiveFilterProxyModel &);

    char sipPyMethods[44];
};

sipKRecursiveFilterProxyModel::sipKRecursiveFilterProxyModel(QObject*a0): KRecursiveFilterProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRecursiveFilterProxyModel::~sipKRecursiveFilterProxyModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKRecursiveFilterProxyModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KRecursiveFilterProxyModel);
}

int sipKRecursiveFilterProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KRecursiveFilterProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KRecursiveFilterProxyModel,_c,_id,_a);

    return _id;
}

void *sipKRecursiveFilterProxyModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KRecursiveFilterProxyModel, _clname)) ? this : KRecursiveFilterProxyModel::qt_metacast(_clname);
}

void sipKRecursiveFilterProxyModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KRecursiveFilterProxyModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecursiveFilterProxyModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KRecursiveFilterProxyModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecursiveFilterProxyModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KRecursiveFilterProxyModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecursiveFilterProxyModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KRecursiveFilterProxyModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecursiveFilterProxyModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KRecursiveFilterProxyModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRecursiveFilterProxyModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKRecursiveFilterProxyModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRecursiveFilterProxyModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kdeui_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKRecursiveFilterProxyModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kdeui_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecursiveFilterProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KRecursiveFilterProxyModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKRecursiveFilterProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRecursiveFilterProxyModel::setSourceModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
        KRecursiveFilterProxyModel::setSourceModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtGui_36)(sipModuleAPI_kdeui_QtGui->em_virthandlers[36]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::DropActions sipKRecursiveFilterProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kdeui_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

QStringList sipKRecursiveFilterProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdeui_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKRecursiveFilterProxyModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KRecursiveFilterProxyModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kdeui_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QSize sipKRecursiveFilterProxyModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kdeui_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKRecursiveFilterProxyModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

Qt::ItemFlags sipKRecursiveFilterProxyModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kdeui_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRecursiveFilterProxyModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecursiveFilterProxyModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KRecursiveFilterProxyModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kdeui_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRecursiveFilterProxyModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKRecursiveFilterProxyModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKRecursiveFilterProxyModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKRecursiveFilterProxyModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKRecursiveFilterProxyModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kdeui_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QMimeData* sipKRecursiveFilterProxyModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtCore_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtCore_54)(sipModuleAPI_kdeui_QtCore->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRecursiveFilterProxyModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kdeui_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipKRecursiveFilterProxyModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kdeui_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKRecursiveFilterProxyModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kdeui_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKRecursiveFilterProxyModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kdeui_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKRecursiveFilterProxyModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKRecursiveFilterProxyModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKRecursiveFilterProxyModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKRecursiveFilterProxyModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKRecursiveFilterProxyModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kdeui_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKRecursiveFilterProxyModel::lessThan(const QModelIndex& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_lessThan);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::lessThan(a0,a1);

    typedef bool (*sipVH_QtGui_113)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    return ((sipVH_QtGui_113)(sipModuleAPI_kdeui_QtGui->em_virthandlers[113]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKRecursiveFilterProxyModel::filterAcceptsColumn(int a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_filterAcceptsColumn);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::filterAcceptsColumn(a0,a1);

    typedef bool (*sipVH_QtGui_114)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QModelIndex&);

    return ((sipVH_QtGui_114)(sipModuleAPI_kdeui_QtGui->em_virthandlers[114]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QItemSelection sipKRecursiveFilterProxyModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::mapSelectionFromSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QItemSelection sipKRecursiveFilterProxyModel::mapSelectionToSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::mapSelectionToSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_kdeui_QtGui->em_virthandlers[115]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKRecursiveFilterProxyModel::mapFromSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_mapFromSource);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::mapFromSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKRecursiveFilterProxyModel::mapToSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::mapToSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKRecursiveFilterProxyModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kdeui_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipKRecursiveFilterProxyModel::acceptRow(int a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_acceptRow);

    if (!sipMeth)
        return KRecursiveFilterProxyModel::acceptRow(a0,a1);

    typedef bool (*sipVH_QtGui_114)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QModelIndex&);

    return ((sipVH_QtGui_114)(sipModuleAPI_kdeui_QtGui->em_virthandlers[114]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KRecursiveFilterProxyModel_setSourceModel(PyObject *, PyObject *);}
static PyObject *meth_KRecursiveFilterProxyModel_setSourceModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        KRecursiveFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRecursiveFilterProxyModel, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KRecursiveFilterProxyModel::setSourceModel(a0) : sipCpp->setSourceModel(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRecursiveFilterProxyModel, sipName_setSourceModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecursiveFilterProxyModel_acceptRow(PyObject *, PyObject *);}
static PyObject *meth_KRecursiveFilterProxyModel_acceptRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QModelIndex* a1;
        const KRecursiveFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "piJ9", &sipSelf, sipType_KRecursiveFilterProxyModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KRecursiveFilterProxyModel::acceptRow(a0,*a1) : sipCpp->acceptRow(a0,*a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRecursiveFilterProxyModel, sipName_acceptRow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecursiveFilterProxyModel_match(PyObject *, PyObject *);}
static PyObject *meth_KRecursiveFilterProxyModel_match(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        const QVariant* a2;
        int a2State = 0;
        int a3 = 1;
        Qt::MatchFlags a4def = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap);
        Qt::MatchFlags* a4 = &a4def;
        int a4State = 0;
        const KRecursiveFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ1|iJ1", &sipSelf, sipType_KRecursiveFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QVariant,&a2, &a2State, &a3, sipType_Qt_MatchFlags, &a4, &a4State))
        {
            QModelIndexList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList((sipSelfWasArg ? sipCpp->KRecursiveFilterProxyModel::match(*a0,a1,*a2,a3,*a4) : sipCpp->match(*a0,a1,*a2,a3,*a4)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(a4,sipType_Qt_MatchFlags,a4State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRecursiveFilterProxyModel, sipName_match, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecursiveFilterProxyModel_filterAcceptsRow(PyObject *, PyObject *);}
static PyObject *meth_KRecursiveFilterProxyModel_filterAcceptsRow(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_KRecursiveFilterProxyModel, sipName_filterAcceptsRow, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KRecursiveFilterProxyModel(void *, int);}
static void release_KRecursiveFilterProxyModel(void *sipCppV,int)
{
    KRecursiveFilterProxyModel *sipCpp = reinterpret_cast<KRecursiveFilterProxyModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KRecursiveFilterProxyModel(sipSimpleWrapper *);}
static void dealloc_KRecursiveFilterProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKRecursiveFilterProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KRecursiveFilterProxyModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KRecursiveFilterProxyModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KRecursiveFilterProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKRecursiveFilterProxyModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKRecursiveFilterProxyModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KRecursiveFilterProxyModel[] = {{455, 2, 1}};


static PyMethodDef methods_KRecursiveFilterProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_acceptRow), meth_KRecursiveFilterProxyModel_acceptRow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterAcceptsRow), meth_KRecursiveFilterProxyModel_filterAcceptsRow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_match), meth_KRecursiveFilterProxyModel_match, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSourceModel), meth_KRecursiveFilterProxyModel_setSourceModel, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KRecursiveFilterProxyModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRecursiveFilterProxyModel,
        {0}
    },
    {
        sipNameNr_KRecursiveFilterProxyModel,
        {0, 0, 1},
        4, methods_KRecursiveFilterProxyModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KRecursiveFilterProxyModel,
    0,
    init_type_KRecursiveFilterProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRecursiveFilterProxyModel,
    0,
    0,
    0,
    release_KRecursiveFilterProxyModel,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KRecursiveFilterProxyModel::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/krecentfilesaction.sip"
#include <krecentfilesaction.h>
#line 12497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 12501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 12504 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 12507 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12510 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 12513 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 12516 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 12519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12522 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 12525 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 12528 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 12531 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12534 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 12537 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 12540 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kselectaction.sip"
#include <kselectaction.h>
#line 12543 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 12546 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 12549 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 12552 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 12555 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 12558 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 12561 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 12564 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12567 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12570 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12573 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 12576 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12579 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 12582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 12585 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 12588 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12591 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 12594 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12597 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12600 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 12603 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 12606 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 12609 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 12612 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKRecentFilesAction : public KRecentFilesAction
{
public:
    sipKRecentFilesAction(QObject*);
    sipKRecentFilesAction(const QString&,QObject*);
    sipKRecentFilesAction(const KIcon&,const QString&,QObject*);
    virtual ~sipKRecentFilesAction();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    bool eventFilter(QObject*,QEvent*);
    void deleteWidget(QWidget*);
    QWidget* createWidget(QWidget*);
    void actionTriggered(QAction*);
    void clear();
    QAction* removeAction(QAction*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKRecentFilesAction(const sipKRecentFilesAction &);
    sipKRecentFilesAction &operator = (const sipKRecentFilesAction &);

    char sipPyMethods[12];
};

sipKRecentFilesAction::sipKRecentFilesAction(QObject*a0): KRecentFilesAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRecentFilesAction::sipKRecentFilesAction(const QString& a0,QObject*a1): KRecentFilesAction(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRecentFilesAction::sipKRecentFilesAction(const KIcon& a0,const QString& a1,QObject*a2): KRecentFilesAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKRecentFilesAction::~sipKRecentFilesAction()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKRecentFilesAction::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KRecentFilesAction);
}

int sipKRecentFilesAction::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KRecentFilesAction::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KRecentFilesAction,_c,_id,_a);

    return _id;
}

void *sipKRecentFilesAction::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KRecentFilesAction, _clname)) ? this : KRecentFilesAction::qt_metacast(_clname);
}

void sipKRecentFilesAction::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KRecentFilesAction::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecentFilesAction::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KRecentFilesAction::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecentFilesAction::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KRecentFilesAction::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecentFilesAction::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KRecentFilesAction::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecentFilesAction::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KRecentFilesAction::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRecentFilesAction::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KRecentFilesAction::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKRecentFilesAction::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KRecentFilesAction::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKRecentFilesAction::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_deleteWidget);

    if (!sipMeth)
    {
        KRecentFilesAction::deleteWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QWidget* sipKRecentFilesAction::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_createWidget);

    if (!sipMeth)
        return KRecentFilesAction::createWidget(a0);

    extern QWidget* sipVH_kdeui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_kdeui_42(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecentFilesAction::actionTriggered(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_actionTriggered);

    if (!sipMeth)
    {
        KRecentFilesAction::actionTriggered(a0);
        return;
    }

    extern void sipVH_kdeui_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

    sipVH_kdeui_48(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKRecentFilesAction::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        KRecentFilesAction::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QAction* sipKRecentFilesAction::removeAction(QAction*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_removeAction);

    if (!sipMeth)
        return KRecentFilesAction::removeAction(a0);

    extern QAction* sipVH_kdeui_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAction*);

    return sipVH_kdeui_49(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KRecentFilesAction_addAction(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        const KUrl* a1;
        const QString* a2;
        int a2State = 0;
        KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J1", &sipSelf, sipType_KRecentFilesAction, &sipCpp, sipType_QAction, &a0, sipType_KUrl, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAction(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            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_KRecentFilesAction, sipName_addAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecentFilesAction_removeAction(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_removeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAction* a0;
        KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRecentFilesAction, &sipCpp, sipType_QAction, &a0))
        {
            QAction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KRecentFilesAction::removeAction(a0) : sipCpp->removeAction(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRecentFilesAction, sipName_removeAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecentFilesAction_clear(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRecentFilesAction, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KRecentFilesAction::clear() : 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_KRecentFilesAction, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecentFilesAction_maxItems(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_maxItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRecentFilesAction, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maxItems();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRecentFilesAction, sipName_maxItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecentFilesAction_setMaxItems(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_setMaxItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KRecentFilesAction, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaxItems(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_KRecentFilesAction, sipName_setMaxItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecentFilesAction_loadEntries(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_loadEntries(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup* a0;
        KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KRecentFilesAction, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->loadEntries(*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_KRecentFilesAction, sipName_loadEntries, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecentFilesAction_saveEntries(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_saveEntries(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KConfigGroup* a0;
        KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KRecentFilesAction, &sipCpp, sipType_KConfigGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->saveEntries(*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_KRecentFilesAction, sipName_saveEntries, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecentFilesAction_addUrl(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_addUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1", &sipSelf, sipType_KRecentFilesAction, &sipCpp, sipType_KUrl, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addUrl(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRecentFilesAction, sipName_addUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecentFilesAction_removeUrl(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_removeUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KUrl* a0;
        KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KRecentFilesAction, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeUrl(*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_KRecentFilesAction, sipName_removeUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KRecentFilesAction_urls(PyObject *, PyObject *);}
static PyObject *meth_KRecentFilesAction_urls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KRecentFilesAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRecentFilesAction, &sipCpp))
        {
            KUrl::List*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl::List(sipCpp->urls());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KUrl_List,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KRecentFilesAction, sipName_urls, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KRecentFilesAction(void *, int);}
static void release_KRecentFilesAction(void *sipCppV,int)
{
    KRecentFilesAction *sipCpp = reinterpret_cast<KRecentFilesAction *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KRecentFilesAction(sipSimpleWrapper *);}
static void dealloc_KRecentFilesAction(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKRecentFilesAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KRecentFilesAction(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KRecentFilesAction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KRecentFilesAction(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKRecentFilesAction *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKRecentFilesAction(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 sipKRecentFilesAction(*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 sipKRecentFilesAction(*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_KRecentFilesAction[] = {{265, 255, 1}};


static PyMethodDef methods_KRecentFilesAction[] = {
    {SIP_MLNAME_CAST(sipName_addAction), meth_KRecentFilesAction_addAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addUrl), meth_KRecentFilesAction_addUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KRecentFilesAction_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadEntries), meth_KRecentFilesAction_loadEntries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxItems), meth_KRecentFilesAction_maxItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_KRecentFilesAction_removeAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeUrl), meth_KRecentFilesAction_removeUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saveEntries), meth_KRecentFilesAction_saveEntries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxItems), meth_KRecentFilesAction_setMaxItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_urls), meth_KRecentFilesAction_urls, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KRecentFilesAction[] = {
    {"recentListCleared()", 0, 0, 0},
    {"urlSelected(KUrl)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KRecentFilesAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRecentFilesAction,
        {0}
    },
    {
        sipNameNr_KRecentFilesAction,
        {0, 0, 1},
        10, methods_KRecentFilesAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KRecentFilesAction,
    0,
    init_type_KRecentFilesAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRecentFilesAction,
    0,
    0,
    0,
    release_KRecentFilesAction,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KRecentFilesAction::staticMetaObject,
    0,
    signals_KRecentFilesAction,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 13352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 13362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 13365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 13368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 13374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qdrag.sip"
#include <qdrag.h>
#line 13380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 13383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 13386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 700 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 13398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 13404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 13407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 13410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 13416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 13425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 13428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 13431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 13434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 13437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 13443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 13449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 13452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 13455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 13458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 13464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 13512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 13515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 13518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 13524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 13527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 13530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 13536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 13539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 13542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPushButton : public KPushButton
{
public:
    sipKPushButton(QWidget*);
    sipKPushButton(const QString&,QWidget*);
    sipKPushButton(const KIcon&,const QString&,QWidget*);
    sipKPushButton(const KGuiItem&,QWidget*);
    virtual ~sipKPushButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void timerEvent(QTimerEvent*);
    void changeEvent(QEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void nextCheckState();
    void checkStateSet();
    bool hitButton(const QPoint&) const;
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    void paintEvent(QPaintEvent*);
    QSize sizeHint() const;
    void startDrag();
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QDrag* dragObject();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPushButton(const sipKPushButton &);
    sipKPushButton &operator = (const sipKPushButton &);

    char sipPyMethods[52];
};

sipKPushButton::sipKPushButton(QWidget*a0): KPushButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPushButton::sipKPushButton(const QString& a0,QWidget*a1): KPushButton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPushButton::sipKPushButton(const KIcon& a0,const QString& a1,QWidget*a2): KPushButton(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPushButton::sipKPushButton(const KGuiItem& a0,QWidget*a1): KPushButton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPushButton::~sipKPushButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPushButton::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPushButton);
}

int sipKPushButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPushButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPushButton,_c,_id,_a);

    return _id;
}

void *sipKPushButton::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPushButton, _clname)) ? this : KPushButton::qt_metacast(_clname);
}

void sipKPushButton::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPushButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPushButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPushButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPushButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPushButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPushButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPushButton::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPushButton::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPushButton::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPushButton::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPushButton::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPushButton::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPushButton::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPushButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPushButton::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPushButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPushButton::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPushButton::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPushButton::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPushButton::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPushButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPushButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPushButton::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPushButton::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPushButton::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPushButton::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPushButton::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPushButton::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPushButton::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPushButton::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPushButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPushButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPushButton::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPushButton::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPushButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPushButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPushButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPushButton::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPushButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPushButton::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPushButton::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPushButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPushButton::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPushButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPushButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPushButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPushButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPushButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        KPushButton::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPushButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        KPushButton::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPushButton::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return KPushButton::hitButton(a0);

    typedef bool (*sipVH_QtGui_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return ((sipVH_QtGui_57)(sipModuleAPI_kdeui_QtGui->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPushButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPushButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPushButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPushButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPushButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPushButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPushButton::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPushButton::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPushButton::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPushButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPushButton::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPushButton::startDrag()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        KPushButton::startDrag();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPushButton::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPushButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPushButton::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPushButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QDrag* sipKPushButton::dragObject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_dragObject);

    if (!sipMeth)
        return KPushButton::dragObject();

    extern QDrag* sipVH_kdeui_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_52(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPushButton_setDragEnabled(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_setDragEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPushButton, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDragEnabled(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_KPushButton, sipName_setDragEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_isDragEnabled(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_isDragEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPushButton, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDragEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPushButton, sipName_isDragEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_setGuiItem(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_setGuiItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KGuiItem* a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPushButton, &sipCpp, sipType_KGuiItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGuiItem(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KStandardGuiItem::StandardItem a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KPushButton, &sipCpp, sipType_KStandardGuiItem_StandardItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGuiItem(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_KPushButton, sipName_setGuiItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_guiItem(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_guiItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPushButton, &sipCpp))
        {
            KStandardGuiItem::StandardItem sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->guiItem();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KStandardGuiItem_StandardItem);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPushButton, sipName_guiItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_setIcon(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIcon* a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPushButton, &sipCpp, sipType_KIcon, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIcon(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QIcon* a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPushButton, &sipCpp, sipType_QIcon, &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_KPushButton, sipName_setIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_setText(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPushButton, &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_KPushButton, sipName_setText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_setDelayedMenu(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_setDelayedMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPushButton, &sipCpp, sipType_QMenu, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDelayedMenu(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_KPushButton, sipName_setDelayedMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_delayedMenu(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_delayedMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPushButton, &sipCpp))
        {
            QMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->delayedMenu();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPushButton, sipName_delayedMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_dragObject(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_dragObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPushButton, &sipCpp))
        {
            QDrag*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KPushButton::dragObject() : sipCpp->dragObject());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDrag,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPushButton, sipName_dragObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPushButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPushButton::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPushButton, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPushButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPushButton::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPushButton, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_startDrag(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_startDrag(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPushButton, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPushButton::startDrag() : sipCpp->startDrag());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPushButton, sipName_startDrag, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPushButton, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KPushButton::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_KPushButton, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_authAction(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_authAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPushButton, &sipCpp))
        {
            KAuth::Action*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->authAction();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KAuth_Action,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPushButton, sipName_authAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_setAuthAction(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_setAuthAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KAuth::Action* a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPushButton, &sipCpp, sipType_KAuth_Action, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthAction(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPushButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAuthAction(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPushButton, sipName_setAuthAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPushButton_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KPushButton_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPushButton, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPushButton::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_KPushButton, sipName_paintEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPushButton(void *, const sipTypeDef *);}
static void *cast_KPushButton(void *sipCppV, const sipTypeDef *targetType)
{
    KPushButton *sipCpp = reinterpret_cast<KPushButton *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPushButton(void *, int);}
static void release_KPushButton(void *sipCppV,int)
{
    KPushButton *sipCpp = reinterpret_cast<KPushButton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPushButton(sipSimpleWrapper *);}
static void dealloc_KPushButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPushButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPushButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPushButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPushButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPushButton *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPushButton(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 sipKPushButton(*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;
        QWidget* a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1|JH", sipType_KIcon, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPushButton(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KGuiItem* a0;
        QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JH", sipType_KGuiItem, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPushButton(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPushButton[] = {{427, 2, 1}};


static PyMethodDef methods_KPushButton[] = {
    {SIP_MLNAME_CAST(sipName_authAction), meth_KPushButton_authAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_delayedMenu), meth_KPushButton_delayedMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragObject), meth_KPushButton_dragObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_guiItem), meth_KPushButton_guiItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDragEnabled), meth_KPushButton_isDragEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KPushButton_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KPushButton_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KPushButton_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthAction), meth_KPushButton_setAuthAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDelayedMenu), meth_KPushButton_setDelayedMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDragEnabled), meth_KPushButton_setDragEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGuiItem), meth_KPushButton_setGuiItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KPushButton_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setText), meth_KPushButton_setText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KPushButton_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startDrag), meth_KPushButton_startDrag, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPushButton[] = {
    {"authorized(KAuth::Action*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPushButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPushButton,
        {0}
    },
    {
        sipNameNr_KPushButton,
        {0, 0, 1},
        16, methods_KPushButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPushButton,
    0,
    init_type_KPushButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPushButton,
    0,
    0,
    0,
    release_KPushButton,
    cast_KPushButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPushButton::staticMetaObject,
    0,
    signals_KPushButton,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kprogressdialog.sip"
#include <kprogressdialog.h>
#line 15285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qprogressbar.sip"
#include <qprogressbar.h>
#line 15301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 15313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 15316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 15319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 15322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 15325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 15328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 15331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 15334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 15337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 15340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 15343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 15349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 15367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 15373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 15376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 15382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 15388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 15394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 15400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 15406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 15451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 15454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 15457 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15460 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 15463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15466 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 15478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 15481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 15484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 15499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKProgressDialog : public KProgressDialog
{
public:
    sipKProgressDialog(QWidget*,const QString&,const QString&,Qt::WFlags);
    virtual ~sipKProgressDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void showEvent(QShowEvent*);
    void reject();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKProgressDialog(const sipKProgressDialog &);
    sipKProgressDialog &operator = (const sipKProgressDialog &);

    char sipPyMethods[54];
};

sipKProgressDialog::sipKProgressDialog(QWidget*a0,const QString& a1,const QString& a2,Qt::WFlags a3): KProgressDialog(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKProgressDialog::~sipKProgressDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKProgressDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KProgressDialog);
}

int sipKProgressDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KProgressDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KProgressDialog,_c,_id,_a);

    return _id;
}

void *sipKProgressDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KProgressDialog, _clname)) ? this : KProgressDialog::qt_metacast(_clname);
}

void sipKProgressDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KProgressDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KProgressDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KProgressDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KProgressDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KProgressDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KProgressDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKProgressDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KProgressDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KProgressDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KProgressDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KProgressDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKProgressDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KProgressDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKProgressDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KProgressDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KProgressDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKProgressDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KProgressDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KProgressDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KProgressDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KProgressDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KProgressDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KProgressDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KProgressDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KProgressDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KProgressDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KProgressDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KProgressDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KProgressDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KProgressDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KProgressDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KProgressDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KProgressDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KProgressDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KProgressDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KProgressDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KProgressDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKProgressDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KProgressDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKProgressDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KProgressDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKProgressDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KProgressDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKProgressDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KProgressDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKProgressDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KProgressDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKProgressDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KProgressDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KProgressDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KProgressDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKProgressDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KProgressDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KProgressDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KProgressDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KProgressDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KProgressDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KProgressDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KProgressDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KProgressDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKProgressDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KProgressDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKProgressDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KProgressDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKProgressDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KProgressDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKProgressDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KProgressDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKProgressDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KProgressDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KProgressDialog_progressBar(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_progressBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            QProgressBar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->progressBar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QProgressBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_progressBar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_setLabelText(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_setLabelText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KProgressDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabelText(*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_KProgressDialog, sipName_setLabelText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_labelText(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_labelText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->labelText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_labelText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_setAllowCancel(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_setAllowCancel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KProgressDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAllowCancel(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_KProgressDialog, sipName_setAllowCancel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_allowCancel(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_allowCancel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->allowCancel();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_allowCancel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_showCancelButton(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_showCancelButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KProgressDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showCancelButton(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_KProgressDialog, sipName_showCancelButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_setAutoClose(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_setAutoClose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KProgressDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoClose(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_KProgressDialog, sipName_setAutoClose, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_autoClose(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_autoClose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoClose();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_autoClose, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_setAutoReset(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_setAutoReset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KProgressDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoReset(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_KProgressDialog, sipName_setAutoReset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_autoReset(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_autoReset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoReset();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_autoReset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_wasCancelled(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_wasCancelled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wasCancelled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_wasCancelled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_ignoreCancel(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_ignoreCancel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->ignoreCancel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_ignoreCancel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_setButtonText(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_setButtonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KProgressDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setButtonText(*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_KProgressDialog, sipName_setButtonText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_buttonText(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_buttonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->buttonText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_buttonText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_setMinimumDuration(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_setMinimumDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KProgressDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimumDuration(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_KProgressDialog, sipName_setMinimumDuration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_minimumDuration(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_minimumDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minimumDuration();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_minimumDuration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_reject(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_reject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KProgressDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KProgressDialog::reject() : sipCpp->reject());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KProgressDialog, sipName_reject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KProgressDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KProgressDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        KProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KProgressDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KProgressDialog::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_KProgressDialog, sipName_showEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KProgressDialog(void *, const sipTypeDef *);}
static void *cast_KProgressDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KProgressDialog *sipCpp = reinterpret_cast<KProgressDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KProgressDialog(void *, int);}
static void release_KProgressDialog(void *sipCppV,int)
{
    KProgressDialog *sipCpp = reinterpret_cast<KProgressDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KProgressDialog(sipSimpleWrapper *);}
static void dealloc_KProgressDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKProgressDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KProgressDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KProgressDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KProgressDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKProgressDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        Qt::WFlags a3def = 0;
        Qt::WFlags* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1J1J1", sipType_QWidget, &a0, sipOwner, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_Qt_WindowFlags, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKProgressDialog(a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_Qt_WindowFlags,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KProgressDialog[] = {{86, 255, 1}};


static PyMethodDef methods_KProgressDialog[] = {
    {SIP_MLNAME_CAST(sipName_allowCancel), meth_KProgressDialog_allowCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoClose), meth_KProgressDialog_autoClose, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoReset), meth_KProgressDialog_autoReset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_buttonText), meth_KProgressDialog_buttonText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ignoreCancel), meth_KProgressDialog_ignoreCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_labelText), meth_KProgressDialog_labelText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumDuration), meth_KProgressDialog_minimumDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_progressBar), meth_KProgressDialog_progressBar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reject), meth_KProgressDialog_reject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllowCancel), meth_KProgressDialog_setAllowCancel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoClose), meth_KProgressDialog_setAutoClose, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoReset), meth_KProgressDialog_setAutoReset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonText), meth_KProgressDialog_setButtonText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabelText), meth_KProgressDialog_setLabelText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimumDuration), meth_KProgressDialog_setMinimumDuration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showCancelButton), meth_KProgressDialog_showCancelButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KProgressDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wasCancelled), meth_KProgressDialog_wasCancelled, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KProgressDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KProgressDialog,
        {0}
    },
    {
        sipNameNr_KProgressDialog,
        {0, 0, 1},
        18, methods_KProgressDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KProgressDialog,
    0,
    init_type_KProgressDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KProgressDialog,
    0,
    0,
    0,
    release_KProgressDialog,
    cast_KProgressDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KProgressDialog::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotwidget.sip"
#include <kplotwidget.h>
#line 17211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17215 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotpoint.sip"
#include <kplotpoint.h>
#line 17221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 17227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotaxis.sip"
#include <kplotaxis.h>
#line 17239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 163 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 17245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 17248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotobject.sip"
#include <kplotobject.h>
#line 17251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 17257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 17260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 17263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 17269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 17278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 17281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 17284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 17287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 17290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 17293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 17296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 17302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 17305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 17308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 17314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17335 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17338 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17341 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 17365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 17368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 17371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 17374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 17380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 17383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 17386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 17392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 17395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 17398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 17401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 17404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 17413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 17419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 17422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPlotWidget : public KPlotWidget
{
public:
    sipKPlotWidget(QWidget*);
    virtual ~sipKPlotWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void drawAxes(QPainter*);
    void resizeEvent(QResizeEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPlotWidget(const sipKPlotWidget &);
    sipKPlotWidget &operator = (const sipKPlotWidget &);

    char sipPyMethods[48];
};

sipKPlotWidget::sipKPlotWidget(QWidget*a0): KPlotWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPlotWidget::~sipKPlotWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPlotWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPlotWidget);
}

int sipKPlotWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPlotWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPlotWidget,_c,_id,_a);

    return _id;
}

void *sipKPlotWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPlotWidget, _clname)) ? this : KPlotWidget::qt_metacast(_clname);
}

void sipKPlotWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPlotWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPlotWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPlotWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPlotWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPlotWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPlotWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPlotWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPlotWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPlotWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPlotWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPlotWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPlotWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPlotWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPlotWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPlotWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPlotWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPlotWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPlotWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPlotWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPlotWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPlotWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPlotWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPlotWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPlotWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPlotWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPlotWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPlotWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPlotWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPlotWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPlotWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPlotWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPlotWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPlotWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPlotWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPlotWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPlotWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPlotWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPlotWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPlotWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPlotWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPlotWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPlotWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPlotWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPlotWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPlotWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPlotWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPlotWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPlotWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPlotWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPlotWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPlotWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPlotWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::drawAxes(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_drawAxes);

    if (!sipMeth)
    {
        KPlotWidget::drawAxes(a0);
        return;
    }

    typedef void (*sipVH_QtGui_108)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    ((sipVH_QtGui_108)(sipModuleAPI_kdeui_QtGui->em_virthandlers[108]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPlotWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPlotWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPlotWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPlotWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPlotWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPlotWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPlotWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPlotWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPlotWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPlotWidget_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KPlotWidget::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_KPlotWidget, sipName_minimumSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KPlotWidget::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_KPlotWidget, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setLimits(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setLimits(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        double a1;
        double a2;
        double a3;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLimits(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_setLimits, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setSecondaryLimits(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setSecondaryLimits(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        double a1;
        double a2;
        double a3;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSecondaryLimits(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_setSecondaryLimits, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_clearSecondaryLimits(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_clearSecondaryLimits(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearSecondaryLimits();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_clearSecondaryLimits, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_dataRect(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_dataRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            QRectF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->dataRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_dataRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_secondaryDataRect(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_secondaryDataRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            QRectF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRectF(sipCpp->secondaryDataRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_secondaryDataRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_pixRect(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_pixRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->pixRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_pixRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_addPlotObject(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_addPlotObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotObject* a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_KPlotObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlotObject(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_KPlotWidget, sipName_addPlotObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_addPlotObjects(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_addPlotObjects(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<KPlotObject*>* a0;
        int a0State = 0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QList_0101KPlotObject,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPlotObjects(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<KPlotObject*> *>(a0),sipType_QList_0101KPlotObject,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_addPlotObjects, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_plotObjects(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_plotObjects(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            QList<KPlotObject*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KPlotObject*>(sipCpp->plotObjects());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KPlotObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_plotObjects, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_removeAllPlotObjects(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_removeAllPlotObjects(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAllPlotObjects();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_removeAllPlotObjects, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_resetPlotMask(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_resetPlotMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetPlotMask();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_resetPlotMask, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_resetPlot(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_resetPlot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetPlot();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_resetPlot, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_replacePlotObject(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_replacePlotObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPlotObject* a1;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ8", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0, sipType_KPlotObject, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->replacePlotObject(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_KPlotWidget, sipName_replacePlotObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_backgroundColor(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_backgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &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_KPlotWidget, sipName_backgroundColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_foregroundColor(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_foregroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->foregroundColor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_foregroundColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_gridColor(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_gridColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->gridColor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_gridColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setBackgroundColor(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setBackgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotWidget, &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_KPlotWidget, sipName_setBackgroundColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setForegroundColor(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setForegroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setForegroundColor(*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_KPlotWidget, sipName_setForegroundColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setGridColor(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setGridColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setGridColor(*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_KPlotWidget, sipName_setGridColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_isGridShown(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_isGridShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isGridShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_isGridShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_isObjectToolTipShown(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_isObjectToolTipShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isObjectToolTipShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_isObjectToolTipShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_antialiasing(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_antialiasing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->antialiasing();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_antialiasing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setAntialiasing(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setAntialiasing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAntialiasing(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_KPlotWidget, sipName_setAntialiasing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_leftPadding(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_leftPadding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->leftPadding();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_leftPadding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_rightPadding(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_rightPadding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rightPadding();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_rightPadding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_topPadding(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_topPadding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->topPadding();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_topPadding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_bottomPadding(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_bottomPadding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->bottomPadding();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_bottomPadding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setLeftPadding(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setLeftPadding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLeftPadding(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_KPlotWidget, sipName_setLeftPadding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setRightPadding(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setRightPadding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRightPadding(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_KPlotWidget, sipName_setRightPadding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setTopPadding(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setTopPadding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTopPadding(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_KPlotWidget, sipName_setTopPadding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setBottomPadding(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setBottomPadding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBottomPadding(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_KPlotWidget, sipName_setBottomPadding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setDefaultPaddings(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setDefaultPaddings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultPaddings();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_setDefaultPaddings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_mapToWidget(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_mapToWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            QPointF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->mapToWidget(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_mapToWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_maskRect(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_maskRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        float a1 = 1;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|f", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QRectF, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->maskRect(*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_KPlotWidget, sipName_maskRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_maskAlongLine(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_maskAlongLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const QPointF* a1;
        int a1State = 0;
        float a2 = 1;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|f", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_QPointF, &a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->maskAlongLine(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast<QPointF *>(a1),sipType_QPointF,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_maskAlongLine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_placeLabel(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_placeLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        KPlotPoint* a1;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QPainter, &a0, sipType_KPlotPoint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->placeLabel(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_KPlotWidget, sipName_placeLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_axis(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_axis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotWidget::Axis a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_KPlotWidget_Axis, &a0))
        {
            KPlotAxis*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->axis(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPlotAxis,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_axis, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setShowGrid(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setShowGrid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowGrid(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_KPlotWidget, sipName_setShowGrid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setObjectToolTipShown(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setObjectToolTipShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPlotWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setObjectToolTipShown(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_KPlotWidget, sipName_setObjectToolTipShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_event(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KPlotWidget::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_KPlotWidget, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPlotWidget::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_KPlotWidget, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPlotWidget::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_drawAxes(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_drawAxes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPlotWidget::drawAxes(a0) : sipCpp->drawAxes(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_KPlotWidget, sipName_drawAxes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_setPixRect(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_setPixRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPlotWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPixRect();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_setPixRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotWidget_pointsUnderPoint(PyObject *, PyObject *);}
static PyObject *meth_KPlotWidget_pointsUnderPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const KPlotWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KPlotWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QList<KPlotPoint*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KPlotPoint*>(sipCpp->pointsUnderPoint(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KPlotPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotWidget, sipName_pointsUnderPoint, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPlotWidget(void *, const sipTypeDef *);}
static void *cast_KPlotWidget(void *sipCppV, const sipTypeDef *targetType)
{
    KPlotWidget *sipCpp = reinterpret_cast<KPlotWidget *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPlotWidget(void *, int);}
static void release_KPlotWidget(void *sipCppV,int)
{
    KPlotWidget *sipCpp = reinterpret_cast<KPlotWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPlotWidget(sipSimpleWrapper *);}
static void dealloc_KPlotWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPlotWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPlotWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPlotWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPlotWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPlotWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPlotWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPlotWidget[] = {{143, 2, 1}};


static PyMethodDef methods_KPlotWidget[] = {
    {SIP_MLNAME_CAST(sipName_addPlotObject), meth_KPlotWidget_addPlotObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addPlotObjects), meth_KPlotWidget_addPlotObjects, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_antialiasing), meth_KPlotWidget_antialiasing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_axis), meth_KPlotWidget_axis, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_backgroundColor), meth_KPlotWidget_backgroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bottomPadding), meth_KPlotWidget_bottomPadding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSecondaryLimits), meth_KPlotWidget_clearSecondaryLimits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataRect), meth_KPlotWidget_dataRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawAxes), meth_KPlotWidget_drawAxes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KPlotWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_foregroundColor), meth_KPlotWidget_foregroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_gridColor), meth_KPlotWidget_gridColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isGridShown), meth_KPlotWidget_isGridShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isObjectToolTipShown), meth_KPlotWidget_isObjectToolTipShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leftPadding), meth_KPlotWidget_leftPadding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapToWidget), meth_KPlotWidget_mapToWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maskAlongLine), meth_KPlotWidget_maskAlongLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maskRect), meth_KPlotWidget_maskRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KPlotWidget_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KPlotWidget_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixRect), meth_KPlotWidget_pixRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_placeLabel), meth_KPlotWidget_placeLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_plotObjects), meth_KPlotWidget_plotObjects, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pointsUnderPoint), meth_KPlotWidget_pointsUnderPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAllPlotObjects), meth_KPlotWidget_removeAllPlotObjects, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_replacePlotObject), meth_KPlotWidget_replacePlotObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetPlot), meth_KPlotWidget_resetPlot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetPlotMask), meth_KPlotWidget_resetPlotMask, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KPlotWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rightPadding), meth_KPlotWidget_rightPadding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_secondaryDataRect), meth_KPlotWidget_secondaryDataRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAntialiasing), meth_KPlotWidget_setAntialiasing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBackgroundColor), meth_KPlotWidget_setBackgroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBottomPadding), meth_KPlotWidget_setBottomPadding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultPaddings), meth_KPlotWidget_setDefaultPaddings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setForegroundColor), meth_KPlotWidget_setForegroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGridColor), meth_KPlotWidget_setGridColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLeftPadding), meth_KPlotWidget_setLeftPadding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLimits), meth_KPlotWidget_setLimits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setObjectToolTipShown), meth_KPlotWidget_setObjectToolTipShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixRect), meth_KPlotWidget_setPixRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRightPadding), meth_KPlotWidget_setRightPadding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSecondaryLimits), meth_KPlotWidget_setSecondaryLimits, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowGrid), meth_KPlotWidget_setShowGrid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTopPadding), meth_KPlotWidget_setTopPadding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KPlotWidget_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_topPadding), meth_KPlotWidget_topPadding, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPlotWidget[] = {
    {sipName_BottomAxis, static_cast<int>(KPlotWidget::BottomAxis), 245},
    {sipName_LeftAxis, static_cast<int>(KPlotWidget::LeftAxis), 245},
    {sipName_RightAxis, static_cast<int>(KPlotWidget::RightAxis), 245},
    {sipName_TopAxis, static_cast<int>(KPlotWidget::TopAxis), 245},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPlotWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPlotWidget,
        {0}
    },
    {
        sipNameNr_KPlotWidget,
        {0, 0, 1},
        47, methods_KPlotWidget,
        4, enummembers_KPlotWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPlotWidget,
    0,
    init_type_KPlotWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPlotWidget,
    0,
    0,
    0,
    release_KPlotWidget,
    cast_KPlotWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPlotWidget::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotpoint.sip"
#include <kplotpoint.h>
#line 19852 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 19859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KPlotPoint_position(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_position(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotPoint, &sipCpp))
        {
            QPointF*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPointF(sipCpp->position());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotPoint, sipName_position, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotPoint_setPosition(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_setPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotPoint, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPosition(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotPoint, sipName_setPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotPoint_x(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_x(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotPoint, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->x();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotPoint, sipName_x, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotPoint_setX(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_setX(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KPlotPoint, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setX(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_KPlotPoint, sipName_setX, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotPoint_y(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_y(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotPoint, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->y();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotPoint, sipName_y, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotPoint_setY(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_setY(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KPlotPoint, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setY(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_KPlotPoint, sipName_setY, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotPoint_label(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_label(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotPoint, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->label());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotPoint, sipName_label, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotPoint_setLabel(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_setLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotPoint, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabel(*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_KPlotPoint, sipName_setLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotPoint_barWidth(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_barWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotPoint, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->barWidth();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotPoint, sipName_barWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotPoint_setBarWidth(PyObject *, PyObject *);}
static PyObject *meth_KPlotPoint_setBarWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KPlotPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KPlotPoint, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBarWidth(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_KPlotPoint, sipName_setBarWidth, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPlotPoint(void *, int);}
static void release_KPlotPoint(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KPlotPoint *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPlotPoint(sipSimpleWrapper *);}
static void dealloc_KPlotPoint(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KPlotPoint(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KPlotPoint(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPlotPoint(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KPlotPoint *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPlotPoint();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        double a0;
        double a1;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        double a3 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "dd|J1d", &a0, &a1, sipType_QString,&a2, &a2State, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPlotPoint(a0,a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipCpp;
        }
    }

    {
        const QPointF* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        double a2 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J1d", sipType_QPointF, &a0, &a0State, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPlotPoint(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KPlotPoint[] = {
    {SIP_MLNAME_CAST(sipName_barWidth), meth_KPlotPoint_barWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_KPlotPoint_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_position), meth_KPlotPoint_position, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBarWidth), meth_KPlotPoint_setBarWidth, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_KPlotPoint_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPosition), meth_KPlotPoint_setPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setX), meth_KPlotPoint_setX, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setY), meth_KPlotPoint_setY, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_x), meth_KPlotPoint_x, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_y), meth_KPlotPoint_y, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPlotPoint = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KPlotPoint,
        {0}
    },
    {
        sipNameNr_KPlotPoint,
        {0, 0, 1},
        10, methods_KPlotPoint,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KPlotPoint,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPlotPoint,
    0,
    0,
    0,
    release_KPlotPoint,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotobject.sip"
#include <kplotobject.h>
#line 20286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotobject.sip"
#include <kplotobject.h>
#line 20290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


extern "C" {static int slot_KPlotObject_PlotTypes___bool__(PyObject *);}
static int slot_KPlotObject_PlotTypes___bool__(PyObject *sipSelf)
{
    KPlotObject::PlotTypes *sipCpp = reinterpret_cast<KPlotObject::PlotTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPlotObject_PlotTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KPlotObject::PlotTypes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 20312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___ne__(PyObject *,PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KPlotObject::PlotTypes *sipCpp = reinterpret_cast<KPlotObject::PlotTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPlotObject_PlotTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KPlotObject::PlotTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KPlotObject_PlotTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KPlotObject::PlotTypes::Int() != a0->operator KPlotObject::PlotTypes::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 20346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(const_cast<KPlotObject::PlotTypes *>(a0),sipType_KPlotObject_PlotTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KPlotObject_PlotTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___eq__(PyObject *,PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KPlotObject::PlotTypes *sipCpp = reinterpret_cast<KPlotObject::PlotTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPlotObject_PlotTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KPlotObject::PlotTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KPlotObject_PlotTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KPlotObject::PlotTypes::Int() == a0->operator KPlotObject::PlotTypes::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 20386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(const_cast<KPlotObject::PlotTypes *>(a0),sipType_KPlotObject_PlotTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KPlotObject_PlotTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___invert__(PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___invert__(PyObject *sipSelf)
{
    KPlotObject::PlotTypes *sipCpp = reinterpret_cast<KPlotObject::PlotTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPlotObject_PlotTypes));

    if (!sipCpp)
        return 0;


    {
        {
            KPlotObject::PlotTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPlotObject::PlotTypes(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KPlotObject_PlotTypes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___and__(PyObject *,PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotObject::PlotTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KPlotObject_PlotTypes, &a0, &a0State, &a1))
        {
            KPlotObject::PlotTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPlotObject::PlotTypes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPlotObject_PlotTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KPlotObject_PlotTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___xor__(PyObject *,PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotObject::PlotTypes* a0;
        int a0State = 0;
        KPlotObject::PlotTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KPlotObject_PlotTypes, &a0, &a0State, sipType_KPlotObject_PlotTypes, &a1, &a1State))
        {
            KPlotObject::PlotTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPlotObject::PlotTypes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPlotObject_PlotTypes,a0State);
            sipReleaseType(a1,sipType_KPlotObject_PlotTypes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KPlotObject_PlotTypes,NULL);
        }
    }

    {
        KPlotObject::PlotTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KPlotObject_PlotTypes, &a0, &a0State, &a1))
        {
            KPlotObject::PlotTypes*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KPlotObject::PlotTypes(*a0 ^ a1);
#line 20495 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(a0,sipType_KPlotObject_PlotTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KPlotObject_PlotTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___or__(PyObject *,PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotObject::PlotTypes* a0;
        int a0State = 0;
        KPlotObject::PlotTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KPlotObject_PlotTypes, &a0, &a0State, sipType_KPlotObject_PlotTypes, &a1, &a1State))
        {
            KPlotObject::PlotTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPlotObject::PlotTypes((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPlotObject_PlotTypes,a0State);
            sipReleaseType(a1,sipType_KPlotObject_PlotTypes,a1State);

            return sipConvertFromNewType(sipRes,sipType_KPlotObject_PlotTypes,NULL);
        }
    }

    {
        KPlotObject::PlotTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KPlotObject_PlotTypes, &a0, &a0State, &a1))
        {
            KPlotObject::PlotTypes*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KPlotObject::PlotTypes(*a0 | a1);
#line 20547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(a0,sipType_KPlotObject_PlotTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_KPlotObject_PlotTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___int__(PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___int__(PyObject *sipSelf)
{
    KPlotObject::PlotTypes *sipCpp = reinterpret_cast<KPlotObject::PlotTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPlotObject_PlotTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KPlotObject_PlotTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KPlotObject::PlotTypes *sipCpp = reinterpret_cast<KPlotObject::PlotTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPlotObject_PlotTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KPlotObject::PlotTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KPlotObject_PlotTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KPlotObject::PlotTypes::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPlotObject_PlotTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___ior__(PyObject *,PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KPlotObject_PlotTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KPlotObject::PlotTypes *sipCpp = reinterpret_cast<KPlotObject::PlotTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPlotObject_PlotTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KPlotObject::PlotTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KPlotObject_PlotTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KPlotObject::PlotTypes::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPlotObject_PlotTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KPlotObject_PlotTypes___iand__(PyObject *,PyObject *);}
static PyObject *slot_KPlotObject_PlotTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KPlotObject_PlotTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KPlotObject::PlotTypes *sipCpp = reinterpret_cast<KPlotObject::PlotTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPlotObject_PlotTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KPlotObject::PlotTypes::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPlotObject_PlotTypes(void *, int);}
static void release_KPlotObject_PlotTypes(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KPlotObject::PlotTypes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KPlotObject_PlotTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_KPlotObject_PlotTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KPlotObject::PlotTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KPlotObject::PlotTypes *>(sipSrc);
}


extern "C" {static void *array_KPlotObject_PlotTypes(SIP_SSIZE_T);}
static void *array_KPlotObject_PlotTypes(SIP_SSIZE_T sipNrElem)
{
    return new KPlotObject::PlotTypes[sipNrElem];
}


extern "C" {static void *copy_KPlotObject_PlotTypes(const void *, SIP_SSIZE_T);}
static void *copy_KPlotObject_PlotTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KPlotObject::PlotTypes(reinterpret_cast<const KPlotObject::PlotTypes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KPlotObject_PlotTypes(sipSimpleWrapper *);}
static void dealloc_KPlotObject_PlotTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KPlotObject_PlotTypes(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KPlotObject_PlotTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPlotObject_PlotTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KPlotObject::PlotTypes *sipCpp = 0;

    {
        const KPlotObject::PlotTypes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KPlotObject_PlotTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPlotObject::PlotTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KPlotObject::PlotTypes *>(a0),sipType_KPlotObject_PlotTypes,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPlotObject::PlotTypes(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPlotObject::PlotTypes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KPlotObject_PlotTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_KPlotObject_PlotTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KPlotObject::PlotTypes **sipCppPtr = reinterpret_cast<KPlotObject::PlotTypes **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KPlotObject::PlotTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KPlotObject_PlotType)) ||
            sipCanConvertToType(sipPy, sipType_KPlotObject_PlotTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KPlotObject_PlotType)))
{
    *sipCppPtr = new KPlotObject::PlotTypes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KPlotObject::PlotTypes *>(sipConvertToType(sipPy, sipType_KPlotObject_PlotTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 20831 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KPlotObject_PlotTypes[] = {
    {(void *)slot_KPlotObject_PlotTypes___bool__, bool_slot},
    {(void *)slot_KPlotObject_PlotTypes___ne__, ne_slot},
    {(void *)slot_KPlotObject_PlotTypes___eq__, eq_slot},
    {(void *)slot_KPlotObject_PlotTypes___invert__, invert_slot},
    {(void *)slot_KPlotObject_PlotTypes___and__, and_slot},
    {(void *)slot_KPlotObject_PlotTypes___xor__, xor_slot},
    {(void *)slot_KPlotObject_PlotTypes___or__, or_slot},
    {(void *)slot_KPlotObject_PlotTypes___int__, int_slot},
    {(void *)slot_KPlotObject_PlotTypes___ixor__, ixor_slot},
    {(void *)slot_KPlotObject_PlotTypes___ior__, ior_slot},
    {(void *)slot_KPlotObject_PlotTypes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPlotObject_PlotTypes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KPlotObject__PlotTypes,
        {0}
    },
    {
        sipNameNr_PlotTypes,
        {239, 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_KPlotObject_PlotTypes,
    init_type_KPlotObject_PlotTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPlotObject_PlotTypes,
    assign_KPlotObject_PlotTypes,
    array_KPlotObject_PlotTypes,
    copy_KPlotObject_PlotTypes,
    release_KPlotObject_PlotTypes,
    0,
    convertTo_KPlotObject_PlotTypes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotobject.sip"
#include <kplotobject.h>
#line 20907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 20911 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 20914 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotwidget.sip"
#include <kplotwidget.h>
#line 20917 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 114 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20920 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20923 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotpoint.sip"
#include <kplotpoint.h>
#line 20926 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20929 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbrush.sip"
#include <qbrush.h>
#line 20932 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpen.sip"
#include <qpen.h>
#line 20935 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotobject.sip"
#include <kplotobject.h>
#line 20938 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KPlotObject_plotTypes(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_plotTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            KPlotObject::PlotTypes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPlotObject::PlotTypes(sipCpp->plotTypes());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KPlotObject_PlotTypes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_plotTypes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setShowPoints(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setShowPoints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPlotObject, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowPoints(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_KPlotObject, sipName_setShowPoints, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setShowLines(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setShowLines(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPlotObject, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowLines(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_KPlotObject, sipName_setShowLines, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setShowBars(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setShowBars(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPlotObject, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShowBars(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_KPlotObject, sipName_setShowBars, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_size(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_size, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setSize(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KPlotObject, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSize(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_KPlotObject, sipName_setSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_pointStyle(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_pointStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            KPlotObject::PointStyle sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pointStyle();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KPlotObject_PointStyle);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_pointStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setPointStyle(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setPointStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotObject::PointStyle a0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_KPlotObject_PointStyle, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPointStyle(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_KPlotObject, sipName_setPointStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_pen(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_pen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            QPen*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPen(sipCpp->pen());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPen,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_pen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setPen(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setPen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPen* a0;
        int a0State = 0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_QPen, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPen(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPen *>(a0),sipType_QPen,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_setPen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_linePen(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_linePen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            QPen*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPen(sipCpp->linePen());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPen,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_linePen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setLinePen(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setLinePen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPen* a0;
        int a0State = 0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_QPen, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLinePen(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPen *>(a0),sipType_QPen,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_setLinePen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_barPen(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_barPen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            QPen*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPen(sipCpp->barPen());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPen,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_barPen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setBarPen(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setBarPen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPen* a0;
        int a0State = 0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_QPen, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBarPen(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPen *>(a0),sipType_QPen,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_setBarPen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_labelPen(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_labelPen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            QPen*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPen(sipCpp->labelPen());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPen,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_labelPen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setLabelPen(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setLabelPen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPen* a0;
        int a0State = 0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_QPen, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabelPen(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPen *>(a0),sipType_QPen,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_setLabelPen, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_brush(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_brush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            QBrush*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QBrush(sipCpp->brush());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_brush, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setBrush(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBrush(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_setBrush, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_barBrush(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_barBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            QBrush*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QBrush(sipCpp->barBrush());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_barBrush, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_setBarBrush(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_setBarBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBarBrush(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_setBarBrush, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_points(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_points(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            QList<KPlotPoint*>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KPlotPoint*>(sipCpp->points());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KPlotPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_points, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_addPoint(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_addPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        double a2 = 0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1d", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPoint(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        KPlotPoint* a0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_KPlotPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPoint(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        double a0;
        double a1;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        double a3 = 0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd|J1d", &sipSelf, sipType_KPlotObject, &sipCpp, &a0, &a1, sipType_QString,&a2, &a2State, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPoint(a0,a1,*a2,a3);
            Py_END_ALLOW_THREADS
            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_KPlotObject, sipName_addPoint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_removePoint(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_removePoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPlotObject, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removePoint(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_KPlotObject, sipName_removePoint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_clearPoints(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_clearPoints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotObject, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearPoints();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotObject, sipName_clearPoints, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotObject_draw(PyObject *, PyObject *);}
static PyObject *meth_KPlotObject_draw(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        KPlotWidget* a1;
        KPlotObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KPlotObject, &sipCpp, sipType_QPainter, &a0, sipType_KPlotWidget, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->draw(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_KPlotObject, sipName_draw, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPlotObject(void *, int);}
static void release_KPlotObject(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KPlotObject *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPlotObject(sipSimpleWrapper *);}
static void dealloc_KPlotObject(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KPlotObject(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KPlotObject(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPlotObject(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KPlotObject *sipCpp = 0;

    {
        const QColor& a0def = Qt::white;
        const QColor* a0 = &a0def;
        int a0State = 0;
        KPlotObject::PlotType a1 = KPlotObject::Points;
        double a2 = 2;
        KPlotObject::PointStyle a3 = KPlotObject::Circle;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1EdE", sipType_QColor, &a0, &a0State, sipType_KPlotObject_PlotType, &a1, &a2, sipType_KPlotObject_PointStyle, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPlotObject(*a0,a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KPlotObject[] = {
    {SIP_MLNAME_CAST(sipName_addPoint), meth_KPlotObject_addPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_barBrush), meth_KPlotObject_barBrush, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_barPen), meth_KPlotObject_barPen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_brush), meth_KPlotObject_brush, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearPoints), meth_KPlotObject_clearPoints, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_draw), meth_KPlotObject_draw, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_labelPen), meth_KPlotObject_labelPen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_linePen), meth_KPlotObject_linePen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pen), meth_KPlotObject_pen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_plotTypes), meth_KPlotObject_plotTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pointStyle), meth_KPlotObject_pointStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_points), meth_KPlotObject_points, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removePoint), meth_KPlotObject_removePoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBarBrush), meth_KPlotObject_setBarBrush, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBarPen), meth_KPlotObject_setBarPen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBrush), meth_KPlotObject_setBrush, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabelPen), meth_KPlotObject_setLabelPen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLinePen), meth_KPlotObject_setLinePen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPen), meth_KPlotObject_setPen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPointStyle), meth_KPlotObject_setPointStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowBars), meth_KPlotObject_setShowBars, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowLines), meth_KPlotObject_setShowLines, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShowPoints), meth_KPlotObject_setShowPoints, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSize), meth_KPlotObject_setSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_KPlotObject_size, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPlotObject[] = {
    {sipName_Asterisk, static_cast<int>(KPlotObject::Asterisk), 242},
    {sipName_Bars, static_cast<int>(KPlotObject::Bars), 240},
    {sipName_Circle, static_cast<int>(KPlotObject::Circle), 242},
    {sipName_Hexagon, static_cast<int>(KPlotObject::Hexagon), 242},
    {sipName_Letter, static_cast<int>(KPlotObject::Letter), 242},
    {sipName_Lines, static_cast<int>(KPlotObject::Lines), 240},
    {sipName_NoPoints, static_cast<int>(KPlotObject::NoPoints), 242},
    {sipName_Pentagon, static_cast<int>(KPlotObject::Pentagon), 242},
    {sipName_Points, static_cast<int>(KPlotObject::Points), 240},
    {sipName_Square, static_cast<int>(KPlotObject::Square), 242},
    {sipName_Star, static_cast<int>(KPlotObject::Star), 242},
    {sipName_Triangle, static_cast<int>(KPlotObject::Triangle), 242},
    {sipName_UnknownType, static_cast<int>(KPlotObject::UnknownType), 240},
    {sipName_UnknwonPoint, static_cast<int>(KPlotObject::UnknwonPoint), 242},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPlotObject = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KPlotObject,
        {0}
    },
    {
        sipNameNr_KPlotObject,
        {0, 0, 1},
        25, methods_KPlotObject,
        14, enummembers_KPlotObject,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KPlotObject,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPlotObject,
    0,
    0,
    0,
    release_KPlotObject,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kplotaxis.sip"
#include <kplotaxis.h>
#line 21822 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 755 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KPlotAxis_isVisible(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_isVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotAxis, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotAxis, sipName_isVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_setVisible(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPlotAxis, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVisible(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_KPlotAxis, sipName_setVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_areTickLabelsShown(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_areTickLabelsShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotAxis, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->areTickLabelsShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotAxis, sipName_areTickLabelsShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_setTickLabelsShown(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_setTickLabelsShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPlotAxis, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTickLabelsShown(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_KPlotAxis, sipName_setTickLabelsShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_setLabel(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_setLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPlotAxis, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLabel(*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_KPlotAxis, sipName_setLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_label(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_label(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotAxis, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->label());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotAxis, sipName_label, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_tickLabel(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_tickLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        const KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KPlotAxis, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->tickLabel(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotAxis, sipName_tickLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_setTickLabelFormat(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_setTickLabelFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char a0 = 'g';
        int a1 = 0;
        int a2 = -1;
        KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|aAii", &sipSelf, sipType_KPlotAxis, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTickLabelFormat(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_KPlotAxis, sipName_setTickLabelFormat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_tickLabelWidth(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_tickLabelWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotAxis, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tickLabelWidth();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotAxis, sipName_tickLabelWidth, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_tickLabelFormat(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_tickLabelFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotAxis, &sipCpp))
        {
            char sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tickLabelFormat();
            Py_END_ALLOW_THREADS

            return PyUnicode_DecodeASCII(&sipRes, 1, NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotAxis, sipName_tickLabelFormat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_tickLabelPrecision(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_tickLabelPrecision(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotAxis, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tickLabelPrecision();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotAxis, sipName_tickLabelPrecision, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_setTickMarks(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_setTickMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        double a1;
        KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_KPlotAxis, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTickMarks(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_KPlotAxis, sipName_setTickMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_majorTickMarks(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_majorTickMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotAxis, &sipCpp))
        {
            QList<qreal>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<qreal>(sipCpp->majorTickMarks());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_2400,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotAxis, sipName_majorTickMarks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPlotAxis_minorTickMarks(PyObject *, PyObject *);}
static PyObject *meth_KPlotAxis_minorTickMarks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPlotAxis *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPlotAxis, &sipCpp))
        {
            QList<qreal>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<qreal>(sipCpp->minorTickMarks());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_2400,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPlotAxis, sipName_minorTickMarks, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPlotAxis(void *, int);}
static void release_KPlotAxis(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KPlotAxis *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPlotAxis(sipSimpleWrapper *);}
static void dealloc_KPlotAxis(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KPlotAxis(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KPlotAxis(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPlotAxis(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KPlotAxis *sipCpp = 0;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPlotAxis(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KPlotAxis[] = {
    {SIP_MLNAME_CAST(sipName_areTickLabelsShown), meth_KPlotAxis_areTickLabelsShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isVisible), meth_KPlotAxis_isVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_KPlotAxis_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_majorTickMarks), meth_KPlotAxis_majorTickMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minorTickMarks), meth_KPlotAxis_minorTickMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_KPlotAxis_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTickLabelFormat), meth_KPlotAxis_setTickLabelFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTickLabelsShown), meth_KPlotAxis_setTickLabelsShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTickMarks), meth_KPlotAxis_setTickMarks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_KPlotAxis_setVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tickLabel), meth_KPlotAxis_tickLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tickLabelFormat), meth_KPlotAxis_tickLabelFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tickLabelPrecision), meth_KPlotAxis_tickLabelPrecision, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tickLabelWidth), meth_KPlotAxis_tickLabelWidth, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPlotAxis = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KPlotAxis,
        {0}
    },
    {
        sipNameNr_KPlotAxis,
        {0, 0, 1},
        14, methods_KPlotAxis,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KPlotAxis,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPlotAxis,
    0,
    0,
    0,
    release_KPlotAxis,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapsequencewidget.sip"
#include <kpixmapsequencewidget.h>
#line 22336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapsequence.sip"
#include <kpixmapsequence.h>
#line 22343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 22352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 22361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 22364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 22370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 22373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 22379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 22391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 22394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 22397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 22400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22433 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22436 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22439 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22445 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22448 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22451 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22454 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22457 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22460 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22463 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22466 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 22469 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 22472 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 22475 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22478 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 22481 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 22484 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22487 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22490 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22493 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22496 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 22499 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 22502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22505 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22508 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22511 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22514 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22517 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22520 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 22523 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22526 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22529 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPixmapSequenceWidget : public KPixmapSequenceWidget
{
public:
    sipKPixmapSequenceWidget(QWidget*);
    virtual ~sipKPixmapSequenceWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPixmapSequenceWidget(const sipKPixmapSequenceWidget &);
    sipKPixmapSequenceWidget &operator = (const sipKPixmapSequenceWidget &);

    char sipPyMethods[47];
};

sipKPixmapSequenceWidget::sipKPixmapSequenceWidget(QWidget*a0): KPixmapSequenceWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapSequenceWidget::~sipKPixmapSequenceWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPixmapSequenceWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPixmapSequenceWidget);
}

int sipKPixmapSequenceWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPixmapSequenceWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPixmapSequenceWidget,_c,_id,_a);

    return _id;
}

void *sipKPixmapSequenceWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPixmapSequenceWidget, _clname)) ? this : KPixmapSequenceWidget::qt_metacast(_clname);
}

void sipKPixmapSequenceWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapSequenceWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPixmapSequenceWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPixmapSequenceWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPixmapSequenceWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapSequenceWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPixmapSequenceWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPixmapSequenceWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPixmapSequenceWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPixmapSequenceWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPixmapSequenceWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapSequenceWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPixmapSequenceWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPixmapSequenceWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPixmapSequenceWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPixmapSequenceWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPixmapSequenceWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPixmapSequenceWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPixmapSequenceWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPixmapSequenceWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPixmapSequenceWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPixmapSequenceWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPixmapSequenceWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPixmapSequenceWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPixmapSequenceWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPixmapSequenceWidget_sequence(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceWidget_sequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceWidget, &sipCpp))
        {
            KPixmapSequence*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPixmapSequence(sipCpp->sequence());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KPixmapSequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceWidget, sipName_sequence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceWidget_interval(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceWidget_interval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceWidget, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->interval();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceWidget, sipName_interval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KPixmapSequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceWidget, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KPixmapSequenceWidget::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_KPixmapSequenceWidget, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceWidget_setSequence(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceWidget_setSequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequence* a0;
        KPixmapSequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPixmapSequenceWidget, &sipCpp, sipType_KPixmapSequence, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSequence(*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_KPixmapSequenceWidget, sipName_setSequence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceWidget_setInterval(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceWidget_setInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPixmapSequenceWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPixmapSequenceWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInterval(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_KPixmapSequenceWidget, sipName_setInterval, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPixmapSequenceWidget(void *, const sipTypeDef *);}
static void *cast_KPixmapSequenceWidget(void *sipCppV, const sipTypeDef *targetType)
{
    KPixmapSequenceWidget *sipCpp = reinterpret_cast<KPixmapSequenceWidget *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPixmapSequenceWidget(void *, int);}
static void release_KPixmapSequenceWidget(void *sipCppV,int)
{
    KPixmapSequenceWidget *sipCpp = reinterpret_cast<KPixmapSequenceWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPixmapSequenceWidget(sipSimpleWrapper *);}
static void dealloc_KPixmapSequenceWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPixmapSequenceWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPixmapSequenceWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPixmapSequenceWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPixmapSequenceWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPixmapSequenceWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPixmapSequenceWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPixmapSequenceWidget[] = {{755, 2, 1}};


static PyMethodDef methods_KPixmapSequenceWidget[] = {
    {SIP_MLNAME_CAST(sipName_interval), meth_KPixmapSequenceWidget_interval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sequence), meth_KPixmapSequenceWidget_sequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInterval), meth_KPixmapSequenceWidget_setInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSequence), meth_KPixmapSequenceWidget_setSequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KPixmapSequenceWidget_sizeHint, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPixmapSequenceWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPixmapSequenceWidget,
        {0}
    },
    {
        sipNameNr_KPixmapSequenceWidget,
        {0, 0, 1},
        5, methods_KPixmapSequenceWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPixmapSequenceWidget,
    0,
    init_type_KPixmapSequenceWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPixmapSequenceWidget,
    0,
    0,
    0,
    release_KPixmapSequenceWidget,
    cast_KPixmapSequenceWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPixmapSequenceWidget::staticMetaObject,
    0,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapsequenceoverlaypainter.sip"
#include <kpixmapsequenceoverlaypainter.h>
#line 23723 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 23727 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23730 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 23733 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23736 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 23739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23742 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapsequence.sip"
#include <kpixmapsequence.h>
#line 23745 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23748 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23751 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23754 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23757 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23760 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23763 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 23769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 23775 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 23778 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPixmapSequenceOverlayPainter : public KPixmapSequenceOverlayPainter
{
public:
    sipKPixmapSequenceOverlayPainter(QObject*);
    virtual ~sipKPixmapSequenceOverlayPainter();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPixmapSequenceOverlayPainter(const sipKPixmapSequenceOverlayPainter &);
    sipKPixmapSequenceOverlayPainter &operator = (const sipKPixmapSequenceOverlayPainter &);

    char sipPyMethods[6];
};

sipKPixmapSequenceOverlayPainter::sipKPixmapSequenceOverlayPainter(QObject*a0): KPixmapSequenceOverlayPainter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapSequenceOverlayPainter::~sipKPixmapSequenceOverlayPainter()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPixmapSequenceOverlayPainter::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPixmapSequenceOverlayPainter);
}

int sipKPixmapSequenceOverlayPainter::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPixmapSequenceOverlayPainter::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPixmapSequenceOverlayPainter,_c,_id,_a);

    return _id;
}

void *sipKPixmapSequenceOverlayPainter::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPixmapSequenceOverlayPainter, _clname)) ? this : KPixmapSequenceOverlayPainter::qt_metacast(_clname);
}

void sipKPixmapSequenceOverlayPainter::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPixmapSequenceOverlayPainter::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceOverlayPainter::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPixmapSequenceOverlayPainter::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceOverlayPainter::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPixmapSequenceOverlayPainter::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceOverlayPainter::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPixmapSequenceOverlayPainter::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapSequenceOverlayPainter::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPixmapSequenceOverlayPainter::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapSequenceOverlayPainter::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPixmapSequenceOverlayPainter::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_sequence(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_sequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
            KPixmapSequence*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPixmapSequence(sipCpp->sequence());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KPixmapSequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_sequence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_interval(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_interval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->interval();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_interval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_rect(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_rect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->rect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_rect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_alignment(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
            Qt::Alignment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment(sipCpp->alignment());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_alignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_offset(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_offset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
            QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->offset());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_offset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_setSequence(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_setSequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequence* a0;
        KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_KPixmapSequence, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSequence(*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_KPixmapSequenceOverlayPainter, sipName_setSequence, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_setInterval(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_setInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInterval(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_KPixmapSequenceOverlayPainter, sipName_setInterval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_setWidget(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_setWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setWidget(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_KPixmapSequenceOverlayPainter, sipName_setWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_setRect(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_setRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QRect, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRect(*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_KPixmapSequenceOverlayPainter, sipName_setRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlignment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_setAlignment, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_setOffset(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_setOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOffset(*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_KPixmapSequenceOverlayPainter, sipName_setOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_start(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_start, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_stop(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPixmapSequenceOverlayPainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequenceOverlayPainter, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->stop();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequenceOverlayPainter, sipName_stop, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequenceOverlayPainter_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequenceOverlayPainter_eventFilter(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_KPixmapSequenceOverlayPainter, sipName_eventFilter, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPixmapSequenceOverlayPainter(void *, int);}
static void release_KPixmapSequenceOverlayPainter(void *sipCppV,int)
{
    KPixmapSequenceOverlayPainter *sipCpp = reinterpret_cast<KPixmapSequenceOverlayPainter *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPixmapSequenceOverlayPainter(sipSimpleWrapper *);}
static void dealloc_KPixmapSequenceOverlayPainter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPixmapSequenceOverlayPainter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPixmapSequenceOverlayPainter(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPixmapSequenceOverlayPainter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPixmapSequenceOverlayPainter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPixmapSequenceOverlayPainter *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPixmapSequenceOverlayPainter(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPixmapSequenceOverlayPainter[] = {{141, 0, 1}};


static PyMethodDef methods_KPixmapSequenceOverlayPainter[] = {
    {SIP_MLNAME_CAST(sipName_alignment), meth_KPixmapSequenceOverlayPainter_alignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KPixmapSequenceOverlayPainter_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_interval), meth_KPixmapSequenceOverlayPainter_interval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_offset), meth_KPixmapSequenceOverlayPainter_offset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rect), meth_KPixmapSequenceOverlayPainter_rect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sequence), meth_KPixmapSequenceOverlayPainter_sequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_KPixmapSequenceOverlayPainter_setAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInterval), meth_KPixmapSequenceOverlayPainter_setInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOffset), meth_KPixmapSequenceOverlayPainter_setOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRect), meth_KPixmapSequenceOverlayPainter_setRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSequence), meth_KPixmapSequenceOverlayPainter_setSequence, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_KPixmapSequenceOverlayPainter_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_KPixmapSequenceOverlayPainter_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_KPixmapSequenceOverlayPainter_stop, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPixmapSequenceOverlayPainter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPixmapSequenceOverlayPainter,
        {0}
    },
    {
        sipNameNr_KPixmapSequenceOverlayPainter,
        {0, 0, 1},
        14, methods_KPixmapSequenceOverlayPainter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPixmapSequenceOverlayPainter,
    0,
    init_type_KPixmapSequenceOverlayPainter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPixmapSequenceOverlayPainter,
    0,
    0,
    0,
    release_KPixmapSequenceOverlayPainter,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPixmapSequenceOverlayPainter::staticMetaObject,
    0,
    0
};

#line 23 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapsequence.sip"
#include <kpixmapsequence.h>
#line 24442 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 24446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


extern "C" {static PyObject *meth_KPixmapSequence_isValid(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequence_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequence *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequence, &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_KPixmapSequence, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequence_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequence_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequence *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequence, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequence, sipName_isEmpty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequence_frameSize(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequence_frameSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequence *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequence, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->frameSize());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequence, sipName_frameSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequence_frameCount(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequence_frameCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapSequence *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapSequence, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->frameCount();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequence, sipName_frameCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapSequence_frameAt(PyObject *, PyObject *);}
static PyObject *meth_KPixmapSequence_frameAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const KPixmapSequence *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPixmapSequence, &sipCpp, &a0))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->frameAt(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapSequence, sipName_frameAt, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPixmapSequence(void *, int);}
static void release_KPixmapSequence(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KPixmapSequence *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KPixmapSequence(void *, SIP_SSIZE_T, const void *);}
static void assign_KPixmapSequence(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KPixmapSequence *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KPixmapSequence *>(sipSrc);
}


extern "C" {static void *array_KPixmapSequence(SIP_SSIZE_T);}
static void *array_KPixmapSequence(SIP_SSIZE_T sipNrElem)
{
    return new KPixmapSequence[sipNrElem];
}


extern "C" {static void *copy_KPixmapSequence(const void *, SIP_SSIZE_T);}
static void *copy_KPixmapSequence(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KPixmapSequence(reinterpret_cast<const KPixmapSequence *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KPixmapSequence(sipSimpleWrapper *);}
static void dealloc_KPixmapSequence(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KPixmapSequence(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KPixmapSequence(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPixmapSequence(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KPixmapSequence *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPixmapSequence();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const KPixmapSequence* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KPixmapSequence, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPixmapSequence(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QPixmap* a0;
        const QSize& a1def = QSize();
        const QSize* a1 = &a1def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|J9", sipType_QPixmap, &a0, sipType_QSize, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPixmapSequence(*a0,*a1);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        int a1 = KIconLoader::SizeSmall;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|i", sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPixmapSequence(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KPixmapSequence[] = {
    {SIP_MLNAME_CAST(sipName_frameAt), meth_KPixmapSequence_frameAt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_frameCount), meth_KPixmapSequence_frameCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_frameSize), meth_KPixmapSequence_frameSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_KPixmapSequence_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KPixmapSequence_isValid, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPixmapSequence = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KPixmapSequence,
        {0}
    },
    {
        sipNameNr_KPixmapSequence,
        {0, 0, 1},
        5, methods_KPixmapSequence,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KPixmapSequence,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPixmapSequence,
    assign_KPixmapSequence,
    array_KPixmapSequence,
    copy_KPixmapSequence,
    release_KPixmapSequence,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapregionselectorwidget.sip"
#include <kpixmapregionselectorwidget.h>
#line 24762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24766 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 24769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24772 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 24775 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qimage.sip"
#include <qimage.h>
#line 24778 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 24781 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 24784 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24787 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 24790 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24793 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24796 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 24799 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 24802 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 24805 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 24808 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 24811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 24814 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 24817 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24820 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24823 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24826 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 24829 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 24832 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 24835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 24838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24841 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24844 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24847 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24850 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24853 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24856 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24859 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24862 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24865 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24868 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24871 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24874 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24877 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24880 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24883 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24886 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24889 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24892 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24895 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24898 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24901 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 24904 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 24907 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 24910 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24913 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 24916 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 24919 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24922 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24925 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 24928 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 24931 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 24934 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 24937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 24940 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24946 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24949 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24952 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24955 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24958 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24961 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPixmapRegionSelectorWidget : public KPixmapRegionSelectorWidget
{
public:
    sipKPixmapRegionSelectorWidget(QWidget*);
    virtual ~sipKPixmapRegionSelectorWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    KMenu* createPopupMenu();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPixmapRegionSelectorWidget(const sipKPixmapRegionSelectorWidget &);
    sipKPixmapRegionSelectorWidget &operator = (const sipKPixmapRegionSelectorWidget &);

    char sipPyMethods[47];
};

sipKPixmapRegionSelectorWidget::sipKPixmapRegionSelectorWidget(QWidget*a0): KPixmapRegionSelectorWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapRegionSelectorWidget::~sipKPixmapRegionSelectorWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPixmapRegionSelectorWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPixmapRegionSelectorWidget);
}

int sipKPixmapRegionSelectorWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPixmapRegionSelectorWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPixmapRegionSelectorWidget,_c,_id,_a);

    return _id;
}

void *sipKPixmapRegionSelectorWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPixmapRegionSelectorWidget, _clname)) ? this : KPixmapRegionSelectorWidget::qt_metacast(_clname);
}

void sipKPixmapRegionSelectorWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPixmapRegionSelectorWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapRegionSelectorWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPixmapRegionSelectorWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPixmapRegionSelectorWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapRegionSelectorWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPixmapRegionSelectorWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPixmapRegionSelectorWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPixmapRegionSelectorWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPixmapRegionSelectorWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPixmapRegionSelectorWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPixmapRegionSelectorWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPixmapRegionSelectorWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

KMenu* sipKPixmapRegionSelectorWidget::createPopupMenu()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_createPopupMenu);

    if (!sipMeth)
        return KPixmapRegionSelectorWidget::createPopupMenu();

    extern KMenu* sipVH_kdeui_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_53(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_setPixmap(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_setPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPixmap(*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_KPixmapRegionSelectorWidget, sipName_setPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_pixmap(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_pixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->pixmap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorWidget, sipName_pixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_setSelectedRegion(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_setSelectedRegion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp, sipType_QRect, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectedRegion(*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_KPixmapRegionSelectorWidget, sipName_setSelectedRegion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_selectedRegion(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_selectedRegion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->selectedRegion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorWidget, sipName_selectedRegion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_unzoomedSelectedRegion(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_unzoomedSelectedRegion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->unzoomedSelectedRegion());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorWidget, sipName_unzoomedSelectedRegion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_resetSelection(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_resetSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetSelection();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorWidget, sipName_resetSelection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_selectedImage(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_selectedImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp))
        {
            QImage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QImage(sipCpp->selectedImage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorWidget, sipName_selectedImage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_setSelectionAspectRatio(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_setSelectionAspectRatio(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelectionAspectRatio(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_KPixmapRegionSelectorWidget, sipName_setSelectionAspectRatio, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_setFreeSelectionAspectRatio(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_setFreeSelectionAspectRatio(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFreeSelectionAspectRatio();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorWidget, sipName_setFreeSelectionAspectRatio, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_setMaximumWidgetSize(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_setMaximumWidgetSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumWidgetSize(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_KPixmapRegionSelectorWidget, sipName_setMaximumWidgetSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_rotate(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_rotate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPixmapRegionSelectorWidget::RotateDirection a0;
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp, sipType_KPixmapRegionSelectorWidget_RotateDirection, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->rotate(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_KPixmapRegionSelectorWidget, sipName_rotate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_rotateClockwise(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_rotateClockwise(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->rotateClockwise();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorWidget, sipName_rotateClockwise, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_rotateCounterclockwise(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_rotateCounterclockwise(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->rotateCounterclockwise();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorWidget, sipName_rotateCounterclockwise, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_createPopupMenu(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_createPopupMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPixmapRegionSelectorWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPixmapRegionSelectorWidget, &sipCpp))
        {
            KMenu*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KPixmapRegionSelectorWidget::createPopupMenu() : sipCpp->createPopupMenu());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorWidget, sipName_createPopupMenu, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorWidget_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorWidget_eventFilter(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_KPixmapRegionSelectorWidget, sipName_eventFilter, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPixmapRegionSelectorWidget(void *, const sipTypeDef *);}
static void *cast_KPixmapRegionSelectorWidget(void *sipCppV, const sipTypeDef *targetType)
{
    KPixmapRegionSelectorWidget *sipCpp = reinterpret_cast<KPixmapRegionSelectorWidget *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPixmapRegionSelectorWidget(void *, int);}
static void release_KPixmapRegionSelectorWidget(void *sipCppV,int)
{
    KPixmapRegionSelectorWidget *sipCpp = reinterpret_cast<KPixmapRegionSelectorWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPixmapRegionSelectorWidget(sipSimpleWrapper *);}
static void dealloc_KPixmapRegionSelectorWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPixmapRegionSelectorWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPixmapRegionSelectorWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPixmapRegionSelectorWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPixmapRegionSelectorWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPixmapRegionSelectorWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPixmapRegionSelectorWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPixmapRegionSelectorWidget[] = {{755, 2, 1}};


static PyMethodDef methods_KPixmapRegionSelectorWidget[] = {
    {SIP_MLNAME_CAST(sipName_createPopupMenu), meth_KPixmapRegionSelectorWidget_createPopupMenu, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KPixmapRegionSelectorWidget_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_KPixmapRegionSelectorWidget_pixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetSelection), meth_KPixmapRegionSelectorWidget_resetSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rotate), meth_KPixmapRegionSelectorWidget_rotate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rotateClockwise), meth_KPixmapRegionSelectorWidget_rotateClockwise, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rotateCounterclockwise), meth_KPixmapRegionSelectorWidget_rotateCounterclockwise, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedImage), meth_KPixmapRegionSelectorWidget_selectedImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedRegion), meth_KPixmapRegionSelectorWidget_selectedRegion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFreeSelectionAspectRatio), meth_KPixmapRegionSelectorWidget_setFreeSelectionAspectRatio, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumWidgetSize), meth_KPixmapRegionSelectorWidget_setMaximumWidgetSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_KPixmapRegionSelectorWidget_setPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectedRegion), meth_KPixmapRegionSelectorWidget_setSelectedRegion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionAspectRatio), meth_KPixmapRegionSelectorWidget_setSelectionAspectRatio, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unzoomedSelectedRegion), meth_KPixmapRegionSelectorWidget_unzoomedSelectedRegion, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPixmapRegionSelectorWidget[] = {
    {sipName_Rotate180, static_cast<int>(KPixmapRegionSelectorWidget::Rotate180), 234},
    {sipName_Rotate270, static_cast<int>(KPixmapRegionSelectorWidget::Rotate270), 234},
    {sipName_Rotate90, static_cast<int>(KPixmapRegionSelectorWidget::Rotate90), 234},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPixmapRegionSelectorWidget[] = {
    {"pixmapRotated()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPixmapRegionSelectorWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPixmapRegionSelectorWidget,
        {0}
    },
    {
        sipNameNr_KPixmapRegionSelectorWidget,
        {0, 0, 1},
        15, methods_KPixmapRegionSelectorWidget,
        3, enummembers_KPixmapRegionSelectorWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPixmapRegionSelectorWidget,
    0,
    init_type_KPixmapRegionSelectorWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPixmapRegionSelectorWidget,
    0,
    0,
    0,
    release_KPixmapRegionSelectorWidget,
    cast_KPixmapRegionSelectorWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPixmapRegionSelectorWidget::staticMetaObject,
    0,
    signals_KPixmapRegionSelectorWidget,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapregionselectordialog.sip"
#include <kpixmapregionselectordialog.h>
#line 26430 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qimage.sip"
#include <qimage.h>
#line 26437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 26440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 26443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapregionselectorwidget.sip"
#include <kpixmapregionselectorwidget.h>
#line 26446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 26458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 26461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 26464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 26467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 26470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 26473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 26476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 26479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 26482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 26485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 26488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 26494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 26497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 26515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 26521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 26524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 26527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 26530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 26533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 26536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 26542 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26545 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 26548 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 26551 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 26554 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26557 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 26560 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26563 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26566 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26569 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26572 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26578 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26581 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26584 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26587 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26590 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26596 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26599 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 26602 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 26605 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 26608 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26611 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 26614 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 26617 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26620 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 26623 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 26626 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 26629 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 26632 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 26635 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26638 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26641 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26644 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26647 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 26650 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26653 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26656 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPixmapRegionSelectorDialog : public KPixmapRegionSelectorDialog
{
public:
    sipKPixmapRegionSelectorDialog(QWidget*);
    virtual ~sipKPixmapRegionSelectorDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPixmapRegionSelectorDialog(const sipKPixmapRegionSelectorDialog &);
    sipKPixmapRegionSelectorDialog &operator = (const sipKPixmapRegionSelectorDialog &);

    char sipPyMethods[54];
};

sipKPixmapRegionSelectorDialog::sipKPixmapRegionSelectorDialog(QWidget*a0): KPixmapRegionSelectorDialog(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapRegionSelectorDialog::~sipKPixmapRegionSelectorDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPixmapRegionSelectorDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPixmapRegionSelectorDialog);
}

int sipKPixmapRegionSelectorDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPixmapRegionSelectorDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPixmapRegionSelectorDialog,_c,_id,_a);

    return _id;
}

void *sipKPixmapRegionSelectorDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPixmapRegionSelectorDialog, _clname)) ? this : KPixmapRegionSelectorDialog::qt_metacast(_clname);
}

void sipKPixmapRegionSelectorDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPixmapRegionSelectorDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapRegionSelectorDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPixmapRegionSelectorDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPixmapRegionSelectorDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPixmapRegionSelectorDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPixmapRegionSelectorDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPixmapRegionSelectorDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPixmapRegionSelectorDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPixmapRegionSelectorDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPixmapRegionSelectorDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPixmapRegionSelectorDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPixmapRegionSelectorDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPixmapRegionSelectorDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPixmapRegionSelectorDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KPixmapRegionSelectorDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPixmapRegionSelectorDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPixmapRegionSelectorDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPixmapRegionSelectorDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorDialog_pixmapRegionSelectorWidget(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorDialog_pixmapRegionSelectorWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPixmapRegionSelectorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorDialog, &sipCpp))
        {
            KPixmapRegionSelectorWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pixmapRegionSelectorWidget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPixmapRegionSelectorWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorDialog, sipName_pixmapRegionSelectorWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorDialog_getSelectedRegion(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorDialog_getSelectedRegion(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        QWidget* a1 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J:", sipType_QPixmap, &a0, sipType_QWidget, &a1))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(KPixmapRegionSelectorDialog::getSelectedRegion(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    {
        const QPixmap* a0;
        int a1;
        int a2;
        QWidget* a3 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9ii|J:", sipType_QPixmap, &a0, &a1, &a2, sipType_QWidget, &a3))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(KPixmapRegionSelectorDialog::getSelectedRegion(*a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorDialog, sipName_getSelectedRegion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorDialog_getSelectedImage(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorDialog_getSelectedImage(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        QWidget* a1 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|J:", sipType_QPixmap, &a0, sipType_QWidget, &a1))
        {
            QImage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QImage(KPixmapRegionSelectorDialog::getSelectedImage(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    {
        const QPixmap* a0;
        int a1;
        int a2;
        QWidget* a3 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9ii|J:", sipType_QPixmap, &a0, &a1, &a2, sipType_QWidget, &a3))
        {
            QImage*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QImage(KPixmapRegionSelectorDialog::getSelectedImage(*a0,a1,a2,a3));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorDialog, sipName_getSelectedImage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPixmapRegionSelectorDialog_adjustRegionSelectorWidgetSizeToFitScreen(PyObject *, PyObject *);}
static PyObject *meth_KPixmapRegionSelectorDialog_adjustRegionSelectorWidgetSizeToFitScreen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPixmapRegionSelectorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPixmapRegionSelectorDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->adjustRegionSelectorWidgetSizeToFitScreen();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapRegionSelectorDialog, sipName_adjustRegionSelectorWidgetSizeToFitScreen, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPixmapRegionSelectorDialog(void *, const sipTypeDef *);}
static void *cast_KPixmapRegionSelectorDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KPixmapRegionSelectorDialog *sipCpp = reinterpret_cast<KPixmapRegionSelectorDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPixmapRegionSelectorDialog(void *, int);}
static void release_KPixmapRegionSelectorDialog(void *sipCppV,int)
{
    KPixmapRegionSelectorDialog *sipCpp = reinterpret_cast<KPixmapRegionSelectorDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPixmapRegionSelectorDialog(sipSimpleWrapper *);}
static void dealloc_KPixmapRegionSelectorDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPixmapRegionSelectorDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPixmapRegionSelectorDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPixmapRegionSelectorDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPixmapRegionSelectorDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPixmapRegionSelectorDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPixmapRegionSelectorDialog(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPixmapRegionSelectorDialog[] = {{86, 255, 1}};


static PyMethodDef methods_KPixmapRegionSelectorDialog[] = {
    {SIP_MLNAME_CAST(sipName_adjustRegionSelectorWidgetSizeToFitScreen), meth_KPixmapRegionSelectorDialog_adjustRegionSelectorWidgetSizeToFitScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSelectedImage), meth_KPixmapRegionSelectorDialog_getSelectedImage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getSelectedRegion), meth_KPixmapRegionSelectorDialog_getSelectedRegion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmapRegionSelectorWidget), meth_KPixmapRegionSelectorDialog_pixmapRegionSelectorWidget, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPixmapRegionSelectorDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPixmapRegionSelectorDialog,
        {0}
    },
    {
        sipNameNr_KPixmapRegionSelectorDialog,
        {0, 0, 1},
        4, methods_KPixmapRegionSelectorDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPixmapRegionSelectorDialog,
    0,
    init_type_KPixmapRegionSelectorDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPixmapRegionSelectorDialog,
    0,
    0,
    0,
    release_KPixmapRegionSelectorDialog,
    cast_KPixmapRegionSelectorDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPixmapRegionSelectorDialog::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpixmapprovider.sip"
#include <kpixmapprovider.h>
#line 27991 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 27995 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 27998 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPixmapProvider : public KPixmapProvider
{
public:
    sipKPixmapProvider();
    sipKPixmapProvider(const KPixmapProvider&);
    virtual ~sipKPixmapProvider();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QPixmap pixmapFor(const QString&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPixmapProvider(const sipKPixmapProvider &);
    sipKPixmapProvider &operator = (const sipKPixmapProvider &);

    char sipPyMethods[1];
};

sipKPixmapProvider::sipKPixmapProvider(): KPixmapProvider(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapProvider::sipKPixmapProvider(const KPixmapProvider& a0): KPixmapProvider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPixmapProvider::~sipKPixmapProvider()
{
    sipCommonDtor(sipPySelf);
}

QPixmap sipKPixmapProvider::pixmapFor(const QString& a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KPixmapProvider,sipName_pixmapFor);

    if (!sipMeth)
        return QPixmap();

    extern QPixmap sipVH_kdeui_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,int);

    return sipVH_kdeui_54(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KPixmapProvider_pixmapFor(PyObject *, PyObject *);}
static PyObject *meth_KPixmapProvider_pixmapFor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QString* a0;
        int a0State = 0;
        int a1 = 0;
        KPixmapProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|i", &sipSelf, sipType_KPixmapProvider, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QPixmap*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KPixmapProvider, sipName_pixmapFor);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->pixmapFor(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPixmapProvider, sipName_pixmapFor, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPixmapProvider(void *, int);}
static void release_KPixmapProvider(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKPixmapProvider *>(sipCppV);
    else
        delete reinterpret_cast<KPixmapProvider *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPixmapProvider(sipSimpleWrapper *);}
static void dealloc_KPixmapProvider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPixmapProvider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPixmapProvider(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPixmapProvider(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPixmapProvider(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKPixmapProvider *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPixmapProvider();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const KPixmapProvider* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KPixmapProvider, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPixmapProvider(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KPixmapProvider[] = {
    {SIP_MLNAME_CAST(sipName_pixmapFor), meth_KPixmapProvider_pixmapFor, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPixmapProvider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KPixmapProvider,
        {0}
    },
    {
        sipNameNr_KPixmapProvider,
        {0, 0, 1},
        1, methods_KPixmapProvider,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KPixmapProvider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPixmapProvider,
    0,
    0,
    0,
    release_KPixmapProvider,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpastetextaction.sip"
#include <kpastetextaction.h>
#line 28219 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 28223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 28226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 28229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kauthaction.sip"
#include <kauthaction.h>
#line 28232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 28235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 28247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 28250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kgesture.sip"
#include <kgesture.h>
#line 28253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kaction.sip"
#include <kaction.h>
#line 28256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 28259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 28262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 28265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 28268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 28271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 28274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 182 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 28277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 28280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 28283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 28289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 28292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 28295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 28304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 28307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 28310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 28313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 28316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 28319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPasteTextAction : public KPasteTextAction
{
public:
    sipKPasteTextAction(QObject*);
    sipKPasteTextAction(const QString&,QObject*);
    sipKPasteTextAction(const KIcon&,const QString&,QObject*);
    virtual ~sipKPasteTextAction();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    void deleteWidget(QWidget*);
    QWidget* createWidget(QWidget*);
    bool eventFilter(QObject*,QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPasteTextAction(const sipKPasteTextAction &);
    sipKPasteTextAction &operator = (const sipKPasteTextAction &);

    char sipPyMethods[11];
};

sipKPasteTextAction::sipKPasteTextAction(QObject*a0): KPasteTextAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPasteTextAction::sipKPasteTextAction(const QString& a0,QObject*a1): KPasteTextAction(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPasteTextAction::sipKPasteTextAction(const KIcon& a0,const QString& a1,QObject*a2): KPasteTextAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPasteTextAction::~sipKPasteTextAction()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPasteTextAction::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPasteTextAction);
}

int sipKPasteTextAction::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPasteTextAction::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPasteTextAction,_c,_id,_a);

    return _id;
}

void *sipKPasteTextAction::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPasteTextAction, _clname)) ? this : KPasteTextAction::qt_metacast(_clname);
}

void sipKPasteTextAction::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPasteTextAction::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasteTextAction::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPasteTextAction::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasteTextAction::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPasteTextAction::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasteTextAction::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPasteTextAction::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasteTextAction::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPasteTextAction::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPasteTextAction::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPasteTextAction::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasteTextAction::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_deleteWidget);

    if (!sipMeth)
    {
        KPasteTextAction::deleteWidget(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    ((sipVH_QtGui_7)(sipModuleAPI_kdeui_QtGui->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QWidget* sipKPasteTextAction::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_createWidget);

    if (!sipMeth)
        return KPasteTextAction::createWidget(a0);

    typedef QWidget* (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return ((sipVH_QtGui_8)(sipModuleAPI_kdeui_QtGui->em_virthandlers[8]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPasteTextAction::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPasteTextAction::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KPasteTextAction_setMixedMode(PyObject *, PyObject *);}
static PyObject *meth_KPasteTextAction_setMixedMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPasteTextAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPasteTextAction, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMixedMode(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_KPasteTextAction, sipName_setMixedMode, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPasteTextAction(void *, int);}
static void release_KPasteTextAction(void *sipCppV,int)
{
    KPasteTextAction *sipCpp = reinterpret_cast<KPasteTextAction *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPasteTextAction(sipSimpleWrapper *);}
static void dealloc_KPasteTextAction(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPasteTextAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPasteTextAction(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPasteTextAction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPasteTextAction(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPasteTextAction *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPasteTextAction(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 sipKPasteTextAction(*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 sipKPasteTextAction(*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_KPasteTextAction[] = {{7, 255, 1}};


static PyMethodDef methods_KPasteTextAction[] = {
    {SIP_MLNAME_CAST(sipName_setMixedMode), meth_KPasteTextAction_setMixedMode, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPasteTextAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPasteTextAction,
        {0}
    },
    {
        sipNameNr_KPasteTextAction,
        {0, 0, 1},
        1, methods_KPasteTextAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPasteTextAction,
    0,
    init_type_KPasteTextAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPasteTextAction,
    0,
    0,
    0,
    release_KPasteTextAction,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPasteTextAction::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpassworddialog.sip"
#include <kpassworddialog.h>
#line 28735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpassworddialog.sip"
#include <kpassworddialog.h>
#line 28739 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


extern "C" {static int slot_KPasswordDialog_KPasswordDialogFlags___bool__(PyObject *);}
static int slot_KPasswordDialog_KPasswordDialogFlags___bool__(PyObject *sipSelf)
{
    KPasswordDialog::KPasswordDialogFlags *sipCpp = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPasswordDialog_KPasswordDialogFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 389 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KPasswordDialog::KPasswordDialogFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 28761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    KPasswordDialog::KPasswordDialogFlags *sipCpp = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPasswordDialog_KPasswordDialogFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 380 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KPasswordDialog::KPasswordDialogFlags::Int() != a0->operator KPasswordDialog::KPasswordDialogFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 28795 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(const_cast<KPasswordDialog::KPasswordDialogFlags *>(a0),sipType_KPasswordDialog_KPasswordDialogFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,ne_slot,sipType_KPasswordDialog_KPasswordDialogFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    KPasswordDialog::KPasswordDialogFlags *sipCpp = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPasswordDialog_KPasswordDialogFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 371 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KPasswordDialog::KPasswordDialogFlags::Int() == a0->operator KPasswordDialog::KPasswordDialogFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 28835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(const_cast<KPasswordDialog::KPasswordDialogFlags *>(a0),sipType_KPasswordDialog_KPasswordDialogFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,eq_slot,sipType_KPasswordDialog_KPasswordDialogFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___invert__(PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___invert__(PyObject *sipSelf)
{
    KPasswordDialog::KPasswordDialogFlags *sipCpp = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPasswordDialog_KPasswordDialogFlags));

    if (!sipCpp)
        return 0;


    {
        {
            KPasswordDialog::KPasswordDialogFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPasswordDialog::KPasswordDialogFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KPasswordDialog_KPasswordDialogFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State, &a1))
        {
            KPasswordDialog::KPasswordDialogFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPasswordDialog::KPasswordDialogFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPasswordDialog_KPasswordDialogFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KPasswordDialog_KPasswordDialogFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;
        KPasswordDialog::KPasswordDialogFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State, sipType_KPasswordDialog_KPasswordDialogFlags, &a1, &a1State))
        {
            KPasswordDialog::KPasswordDialogFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPasswordDialog::KPasswordDialogFlags((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPasswordDialog_KPasswordDialogFlags,a0State);
            sipReleaseType(a1,sipType_KPasswordDialog_KPasswordDialogFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KPasswordDialog_KPasswordDialogFlags,NULL);
        }
    }

    {
        KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State, &a1))
        {
            KPasswordDialog::KPasswordDialogFlags*sipRes = 0;

#line 365 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KPasswordDialog::KPasswordDialogFlags(*a0 ^ a1);
#line 28944 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(a0,sipType_KPasswordDialog_KPasswordDialogFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KPasswordDialog_KPasswordDialogFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;
        KPasswordDialog::KPasswordDialogFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State, sipType_KPasswordDialog_KPasswordDialogFlags, &a1, &a1State))
        {
            KPasswordDialog::KPasswordDialogFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KPasswordDialog::KPasswordDialogFlags((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPasswordDialog_KPasswordDialogFlags,a0State);
            sipReleaseType(a1,sipType_KPasswordDialog_KPasswordDialogFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_KPasswordDialog_KPasswordDialogFlags,NULL);
        }
    }

    {
        KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State, &a1))
        {
            KPasswordDialog::KPasswordDialogFlags*sipRes = 0;

#line 360 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new KPasswordDialog::KPasswordDialogFlags(*a0 | a1);
#line 28996 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
            sipReleaseType(a0,sipType_KPasswordDialog_KPasswordDialogFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KPasswordDialog_KPasswordDialogFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___int__(PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___int__(PyObject *sipSelf)
{
    KPasswordDialog::KPasswordDialogFlags *sipCpp = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPasswordDialog_KPasswordDialogFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KPasswordDialog_KPasswordDialogFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KPasswordDialog::KPasswordDialogFlags *sipCpp = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPasswordDialog_KPasswordDialogFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KPasswordDialog::KPasswordDialogFlags::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPasswordDialog_KPasswordDialogFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KPasswordDialog_KPasswordDialogFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KPasswordDialog::KPasswordDialogFlags *sipCpp = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPasswordDialog_KPasswordDialogFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KPasswordDialog::KPasswordDialogFlags::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KPasswordDialog_KPasswordDialogFlags,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KPasswordDialog_KPasswordDialogFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KPasswordDialog_KPasswordDialogFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    KPasswordDialog::KPasswordDialogFlags *sipCpp = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KPasswordDialog_KPasswordDialogFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->KPasswordDialog::KPasswordDialogFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPasswordDialog_KPasswordDialogFlags(void *, int);}
static void release_KPasswordDialog_KPasswordDialogFlags(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KPasswordDialog_KPasswordDialogFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KPasswordDialog_KPasswordDialogFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const KPasswordDialog::KPasswordDialogFlags *>(sipSrc);
}


extern "C" {static void *array_KPasswordDialog_KPasswordDialogFlags(SIP_SSIZE_T);}
static void *array_KPasswordDialog_KPasswordDialogFlags(SIP_SSIZE_T sipNrElem)
{
    return new KPasswordDialog::KPasswordDialogFlags[sipNrElem];
}


extern "C" {static void *copy_KPasswordDialog_KPasswordDialogFlags(const void *, SIP_SSIZE_T);}
static void *copy_KPasswordDialog_KPasswordDialogFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new KPasswordDialog::KPasswordDialogFlags(reinterpret_cast<const KPasswordDialog::KPasswordDialogFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KPasswordDialog_KPasswordDialogFlags(sipSimpleWrapper *);}
static void dealloc_KPasswordDialog_KPasswordDialogFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KPasswordDialog_KPasswordDialogFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_KPasswordDialog_KPasswordDialogFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPasswordDialog_KPasswordDialogFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KPasswordDialog::KPasswordDialogFlags *sipCpp = 0;

    {
        const KPasswordDialog::KPasswordDialogFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KPasswordDialog_KPasswordDialogFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPasswordDialog::KPasswordDialogFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KPasswordDialog::KPasswordDialogFlags *>(a0),sipType_KPasswordDialog_KPasswordDialogFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPasswordDialog::KPasswordDialogFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KPasswordDialog::KPasswordDialogFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KPasswordDialog_KPasswordDialogFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KPasswordDialog_KPasswordDialogFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    KPasswordDialog::KPasswordDialogFlags **sipCppPtr = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags **>(sipCppPtrV);

#line 398 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KPasswordDialog::KPasswordDialogFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KPasswordDialog_KPasswordDialogFlag)) ||
            sipCanConvertToType(sipPy, sipType_KPasswordDialog_KPasswordDialogFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KPasswordDialog_KPasswordDialogFlag)))
{
    *sipCppPtr = new KPasswordDialog::KPasswordDialogFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KPasswordDialog::KPasswordDialogFlags *>(sipConvertToType(sipPy, sipType_KPasswordDialog_KPasswordDialogFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 29280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KPasswordDialog_KPasswordDialogFlags[] = {
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___bool__, bool_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___ne__, ne_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___eq__, eq_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___invert__, invert_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___and__, and_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___xor__, xor_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___or__, or_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___int__, int_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___ixor__, ixor_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___ior__, ior_slot},
    {(void *)slot_KPasswordDialog_KPasswordDialogFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPasswordDialog_KPasswordDialogFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KPasswordDialog__KPasswordDialogFlags,
        {0}
    },
    {
        sipNameNr_KPasswordDialogFlags,
        {224, 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_KPasswordDialog_KPasswordDialogFlags,
    init_type_KPasswordDialog_KPasswordDialogFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPasswordDialog_KPasswordDialogFlags,
    assign_KPasswordDialog_KPasswordDialogFlags,
    array_KPasswordDialog_KPasswordDialogFlags,
    copy_KPasswordDialog_KPasswordDialogFlags,
    release_KPasswordDialog_KPasswordDialogFlags,
    0,
    convertTo_KPasswordDialog_KPasswordDialogFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpassworddialog.sip"
#include <kpassworddialog.h>
#line 29356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 29360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpassworddialog.sip"
#include <kpassworddialog.h>
#line 29363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 29366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 29369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 29372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 29375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 29378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29387 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 29390 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 29393 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 29396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 29399 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 29402 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 29405 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 29408 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 29411 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 29414 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 29417 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 29420 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29423 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 29426 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29429 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29432 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29435 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29438 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29441 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 29444 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29447 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 29450 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 29453 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 29456 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 29459 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 29462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 29465 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 29468 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 29471 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 29474 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 29477 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 29480 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 29483 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29486 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 29489 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 29492 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29495 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29498 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29504 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29507 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29510 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29513 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29516 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29522 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29525 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 29528 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 29531 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 29534 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 29537 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29540 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 29543 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 29546 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29549 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 29552 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 29555 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 29558 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 29561 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 29564 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29567 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29570 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29573 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29576 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 29579 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 29582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 29585 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPasswordDialog : public KPasswordDialog
{
public:
    sipKPasswordDialog(QWidget*,const KPasswordDialog::KPasswordDialogFlags&,const KDialog::ButtonCodes);
    virtual ~sipKPasswordDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void reject();
    void accept();
    void done(int);
    void setVisible(bool);
    void slotButtonClicked(int);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void hideEvent(QHideEvent*);
    void setPlainCaption(const QString&);
    void setCaption(const QString&,bool);
    void setCaption(const QString&);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    bool checkPassword();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPasswordDialog(const sipKPasswordDialog &);
    sipKPasswordDialog &operator = (const sipKPasswordDialog &);

    char sipPyMethods[55];
};

sipKPasswordDialog::sipKPasswordDialog(QWidget*a0,const KPasswordDialog::KPasswordDialogFlags& a1,const KDialog::ButtonCodes a2): KPasswordDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPasswordDialog::~sipKPasswordDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPasswordDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPasswordDialog);
}

int sipKPasswordDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPasswordDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPasswordDialog,_c,_id,_a);

    return _id;
}

void *sipKPasswordDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPasswordDialog, _clname)) ? this : KPasswordDialog::qt_metacast(_clname);
}

void sipKPasswordDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPasswordDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPasswordDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPasswordDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPasswordDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPasswordDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPasswordDialog::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPasswordDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPasswordDialog::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPasswordDialog::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPasswordDialog::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPasswordDialog::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPasswordDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPasswordDialog::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPasswordDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPasswordDialog::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPasswordDialog::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPasswordDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPasswordDialog::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPasswordDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPasswordDialog::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPasswordDialog::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPasswordDialog::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPasswordDialog::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPasswordDialog::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPasswordDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPasswordDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPasswordDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPasswordDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPasswordDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPasswordDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPasswordDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPasswordDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPasswordDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPasswordDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPasswordDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPasswordDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPasswordDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPasswordDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPasswordDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPasswordDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPasswordDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPasswordDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPasswordDialog::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPasswordDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPasswordDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPasswordDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPasswordDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPasswordDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPasswordDialog::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPasswordDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPasswordDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        KPasswordDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPasswordDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        KPasswordDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPasswordDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        KPasswordDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPasswordDialog::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
        KPasswordDialog::slotButtonClicked(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPasswordDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPasswordDialog::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPasswordDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::setPlainCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
        KPasswordDialog::setPlainCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPasswordDialog::setCaption(const QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KPasswordDialog::setCaption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtXml_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    ((sipVH_QtXml_24)(sipModuleAPI_kdeui_QtXml->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPasswordDialog::setCaption(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
        KPasswordDialog::setCaption(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_kdeui_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPasswordDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPasswordDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPasswordDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPasswordDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPasswordDialog::checkPassword()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_checkPassword);

    if (!sipMeth)
        return KPasswordDialog::checkPassword();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPasswordDialog_setPrompt(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_setPrompt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrompt(*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_KPasswordDialog, sipName_setPrompt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_prompt(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_prompt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->prompt());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_prompt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_setPixmap(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_setPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPixmap(*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_KPasswordDialog, sipName_setPixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_pixmap(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_pixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            QPixmap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPixmap(sipCpp->pixmap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_pixmap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_addCommentLine(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_addCommentLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addCommentLine(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_addCommentLine, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_showErrorMessage(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_showErrorMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPasswordDialog::ErrorType a1 = KPasswordDialog::PasswordError;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|E", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State, sipType_KPasswordDialog_ErrorType, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showErrorMessage(*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_KPasswordDialog, sipName_showErrorMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_password(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_password(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->password());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_password, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_setUsername(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_setUsername(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUsername(*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_KPasswordDialog, sipName_setUsername, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_username(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_username(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->username());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_username, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_setDomain(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_setDomain(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDomain(*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_KPasswordDialog, sipName_setDomain, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_domain(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_domain(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->domain());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_domain, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_setAnonymousMode(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_setAnonymousMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPasswordDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAnonymousMode(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_KPasswordDialog, sipName_setAnonymousMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_anonymousMode(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_anonymousMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->anonymousMode();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_anonymousMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_keepPassword(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_keepPassword(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->keepPassword();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_keepPassword, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_setKeepPassword(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_setKeepPassword(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPasswordDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKeepPassword(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_KPasswordDialog, sipName_setKeepPassword, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_setUsernameReadOnly(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_setUsernameReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPasswordDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUsernameReadOnly(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_KPasswordDialog, sipName_setUsernameReadOnly, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_setPassword(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_setPassword(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPassword(*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_KPasswordDialog, sipName_setPassword, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_setKnownLogins(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_setKnownLogins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMap<QString,QString>* a0;
        int a0State = 0;
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPasswordDialog, &sipCpp, sipType_QMap_0100QString_0100QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setKnownLogins(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QMap<QString,QString> *>(a0),sipType_QMap_0100QString_0100QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_setKnownLogins, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_accept(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_accept(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPasswordDialog::accept() : sipCpp->accept());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_accept, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPasswordDialog_checkPassword(PyObject *, PyObject *);}
static PyObject *meth_KPasswordDialog_checkPassword(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPasswordDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPasswordDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KPasswordDialog::checkPassword() : sipCpp->checkPassword());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPasswordDialog, sipName_checkPassword, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPasswordDialog(void *, const sipTypeDef *);}
static void *cast_KPasswordDialog(void *sipCppV, const sipTypeDef *targetType)
{
    KPasswordDialog *sipCpp = reinterpret_cast<KPasswordDialog *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPasswordDialog(void *, int);}
static void release_KPasswordDialog(void *sipCppV,int)
{
    KPasswordDialog *sipCpp = reinterpret_cast<KPasswordDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPasswordDialog(sipSimpleWrapper *);}
static void dealloc_KPasswordDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPasswordDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPasswordDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPasswordDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPasswordDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPasswordDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        const KPasswordDialog::KPasswordDialogFlags& a1def = 0;
        const KPasswordDialog::KPasswordDialogFlags* a1 = &a1def;
        int a1State = 0;
        const KDialog::ButtonCodes a2def = 0;
        const KDialog::ButtonCodes* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1J1", sipType_QWidget, &a0, sipOwner, sipType_KPasswordDialog_KPasswordDialogFlags, &a1, &a1State, sipType_KDialog_ButtonCodes, &a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPasswordDialog(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<KPasswordDialog::KPasswordDialogFlags *>(a1),sipType_KPasswordDialog_KPasswordDialogFlags,a1State);
            sipReleaseType(const_cast<KDialog::ButtonCodes *>(a2),sipType_KDialog_ButtonCodes,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPasswordDialog[] = {{86, 255, 1}};


static PyMethodDef methods_KPasswordDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_KPasswordDialog_accept, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addCommentLine), meth_KPasswordDialog_addCommentLine, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_anonymousMode), meth_KPasswordDialog_anonymousMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checkPassword), meth_KPasswordDialog_checkPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_domain), meth_KPasswordDialog_domain, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keepPassword), meth_KPasswordDialog_keepPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_password), meth_KPasswordDialog_password, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_KPasswordDialog_pixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prompt), meth_KPasswordDialog_prompt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAnonymousMode), meth_KPasswordDialog_setAnonymousMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDomain), meth_KPasswordDialog_setDomain, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeepPassword), meth_KPasswordDialog_setKeepPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKnownLogins), meth_KPasswordDialog_setKnownLogins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPassword), meth_KPasswordDialog_setPassword, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_KPasswordDialog_setPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrompt), meth_KPasswordDialog_setPrompt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUsername), meth_KPasswordDialog_setUsername, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUsernameReadOnly), meth_KPasswordDialog_setUsernameReadOnly, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showErrorMessage), meth_KPasswordDialog_showErrorMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_username), meth_KPasswordDialog_username, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPasswordDialog[] = {
    {sipName_DomainError, static_cast<int>(KPasswordDialog::DomainError), 225},
    {sipName_DomainReadOnly, static_cast<int>(KPasswordDialog::DomainReadOnly), 226},
    {sipName_FatalError, static_cast<int>(KPasswordDialog::FatalError), 225},
    {sipName_NoFlags, static_cast<int>(KPasswordDialog::NoFlags), 226},
    {sipName_PasswordError, static_cast<int>(KPasswordDialog::PasswordError), 225},
    {sipName_ShowAnonymousLoginCheckBox, static_cast<int>(KPasswordDialog::ShowAnonymousLoginCheckBox), 226},
    {sipName_ShowDomainLine, static_cast<int>(KPasswordDialog::ShowDomainLine), 226},
    {sipName_ShowKeepPassword, static_cast<int>(KPasswordDialog::ShowKeepPassword), 226},
    {sipName_ShowUsernameLine, static_cast<int>(KPasswordDialog::ShowUsernameLine), 226},
    {sipName_UnknownError, static_cast<int>(KPasswordDialog::UnknownError), 225},
    {sipName_UsernameError, static_cast<int>(KPasswordDialog::UsernameError), 225},
    {sipName_UsernameReadOnly, static_cast<int>(KPasswordDialog::UsernameReadOnly), 226},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPasswordDialog[] = {
    {"gotUsernameAndPassword(QString,QString,bool)", 0, 0, 0},
    {"gotPassword(QString,bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPasswordDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPasswordDialog,
        {0}
    },
    {
        sipNameNr_KPasswordDialog,
        {0, 0, 1},
        20, methods_KPasswordDialog,
        12, enummembers_KPasswordDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPasswordDialog,
    0,
    init_type_KPasswordDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPasswordDialog,
    0,
    0,
    0,
    release_KPasswordDialog,
    cast_KPasswordDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPasswordDialog::staticMetaObject,
    0,
    signals_KPasswordDialog,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpassivepopupmessagehandler.sip"
#include <kpassivepopupmessagehandler.h>
#line 31397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 31404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 31416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 31434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPassivePopupMessageHandler : public KPassivePopupMessageHandler
{
public:
    sipKPassivePopupMessageHandler(QWidget*);
    virtual ~sipKPassivePopupMessageHandler();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void message(KMessage::MessageType,const QString&,const QString&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPassivePopupMessageHandler(const sipKPassivePopupMessageHandler &);
    sipKPassivePopupMessageHandler &operator = (const sipKPassivePopupMessageHandler &);

    char sipPyMethods[8];
};

sipKPassivePopupMessageHandler::sipKPassivePopupMessageHandler(QWidget*a0): KPassivePopupMessageHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPassivePopupMessageHandler::~sipKPassivePopupMessageHandler()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPassivePopupMessageHandler::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPassivePopupMessageHandler);
}

int sipKPassivePopupMessageHandler::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPassivePopupMessageHandler::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPassivePopupMessageHandler,_c,_id,_a);

    return _id;
}

void *sipKPassivePopupMessageHandler::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPassivePopupMessageHandler, _clname)) ? this : KPassivePopupMessageHandler::qt_metacast(_clname);
}

void sipKPassivePopupMessageHandler::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPassivePopupMessageHandler::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopupMessageHandler::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPassivePopupMessageHandler::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopupMessageHandler::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPassivePopupMessageHandler::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopupMessageHandler::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPassivePopupMessageHandler::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopupMessageHandler::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPassivePopupMessageHandler::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPassivePopupMessageHandler::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPassivePopupMessageHandler::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPassivePopupMessageHandler::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPassivePopupMessageHandler::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopupMessageHandler::message(KMessage::MessageType a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_message);

    if (!sipMeth)
    {
        KPassivePopupMessageHandler::message(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, KMessage::MessageType,const QString&,const QString&);

    ((sipVH_kdecore_18)(sipModuleAPI_kdeui_kdecore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_KPassivePopupMessageHandler_message(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopupMessageHandler_message(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KMessage::MessageType a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        KPassivePopupMessageHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1J1", &sipSelf, sipType_KPassivePopupMessageHandler, &sipCpp, sipType_KMessage_MessageType, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopupMessageHandler::message(a0,*a1,*a2) : sipCpp->message(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_KPassivePopupMessageHandler, sipName_message, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPassivePopupMessageHandler(void *, const sipTypeDef *);}
static void *cast_KPassivePopupMessageHandler(void *sipCppV, const sipTypeDef *targetType)
{
    KPassivePopupMessageHandler *sipCpp = reinterpret_cast<KPassivePopupMessageHandler *>(sipCppV);

    if (targetType == sipType_KMessageHandler)
        return static_cast<KMessageHandler *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPassivePopupMessageHandler(void *, int);}
static void release_KPassivePopupMessageHandler(void *sipCppV,int)
{
    KPassivePopupMessageHandler *sipCpp = reinterpret_cast<KPassivePopupMessageHandler *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPassivePopupMessageHandler(sipSimpleWrapper *);}
static void dealloc_KPassivePopupMessageHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPassivePopupMessageHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPassivePopupMessageHandler(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPassivePopupMessageHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPassivePopupMessageHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPassivePopupMessageHandler *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPassivePopupMessageHandler(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPassivePopupMessageHandler[] = {{141, 0, 0}, {134, 3, 1}};


static PyMethodDef methods_KPassivePopupMessageHandler[] = {
    {SIP_MLNAME_CAST(sipName_message), meth_KPassivePopupMessageHandler_message, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPassivePopupMessageHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPassivePopupMessageHandler,
        {0}
    },
    {
        sipNameNr_KPassivePopupMessageHandler,
        {0, 0, 1},
        1, methods_KPassivePopupMessageHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPassivePopupMessageHandler,
    0,
    init_type_KPassivePopupMessageHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPassivePopupMessageHandler,
    0,
    0,
    0,
    release_KPassivePopupMessageHandler,
    cast_KPassivePopupMessageHandler,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPassivePopupMessageHandler::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpassivepopup.sip"
#include <kpassivepopup.h>
#line 31811 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31815 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31818 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31821 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31824 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 31827 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 31830 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31833 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 31836 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtGui/qsystemtrayicon.sip"
#include <qsystemtrayicon.h>
#line 31839 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 31842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kvbox.sip"
#include <kvbox.h>
#line 31845 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 31848 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31851 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 31854 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 31857 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31860 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 31863 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31866 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31869 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 31872 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 31875 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 31878 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 31881 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 31884 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 31887 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31890 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 31893 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 31896 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 31899 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 31902 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31905 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31908 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31911 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31914 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31917 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31920 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31923 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31926 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31929 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31932 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31935 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31938 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31941 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31944 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31947 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 31950 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 31953 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 31956 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 31959 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 31962 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 31965 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 31968 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 31971 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31974 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 31977 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 31980 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 31983 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 31986 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 31989 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31992 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31995 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 31998 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32001 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 32004 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 32007 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 32010 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 32013 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPassivePopup : public KPassivePopup
{
public:
    sipKPassivePopup(QWidget*,Qt::WFlags);
    sipKPassivePopup(WId);
    virtual ~sipKPassivePopup();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    int devType() const;
    void changeEvent(QEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;
    void paintEvent(QPaintEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void positionSelf();
    void setVisible(bool);
    void setAutoDelete(bool);
    void setView(const QString&,const QString&,const QPixmap&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPassivePopup(const sipKPassivePopup &);
    sipKPassivePopup &operator = (const sipKPassivePopup &);

    char sipPyMethods[50];
};

sipKPassivePopup::sipKPassivePopup(QWidget*a0,Qt::WFlags a1): KPassivePopup(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPassivePopup::sipKPassivePopup(WId a0): KPassivePopup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPassivePopup::~sipKPassivePopup()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPassivePopup::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPassivePopup);
}

int sipKPassivePopup::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPassivePopup::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPassivePopup,_c,_id,_a);

    return _id;
}

void *sipKPassivePopup::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPassivePopup, _clname)) ? this : KPassivePopup::qt_metacast(_clname);
}

void sipKPassivePopup::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPassivePopup::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPassivePopup::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPassivePopup::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPassivePopup::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPassivePopup::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPassivePopup::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPassivePopup::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPassivePopup::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPassivePopup::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPassivePopup::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPassivePopup::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPassivePopup::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPassivePopup::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPassivePopup::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPassivePopup::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPassivePopup::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPassivePopup::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPassivePopup::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPassivePopup::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPassivePopup::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPassivePopup::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPassivePopup::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPassivePopup::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPassivePopup::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPassivePopup::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPassivePopup::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPassivePopup::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPassivePopup::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPassivePopup::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPassivePopup::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPassivePopup::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPassivePopup::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPassivePopup::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPassivePopup::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPassivePopup::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPassivePopup::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPassivePopup::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPassivePopup::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPassivePopup::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPassivePopup::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPassivePopup::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPassivePopup::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPassivePopup::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPassivePopup::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPassivePopup::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPassivePopup::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPassivePopup::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPassivePopup::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPassivePopup::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPassivePopup::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPassivePopup::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPassivePopup::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPassivePopup::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPassivePopup::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPassivePopup::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPassivePopup::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPassivePopup::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPassivePopup::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPassivePopup::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPassivePopup::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::positionSelf()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_positionSelf);

    if (!sipMeth)
    {
        KPassivePopup::positionSelf();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPassivePopup::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPassivePopup::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::setAutoDelete(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setAutoDelete);

    if (!sipMeth)
    {
        KPassivePopup::setAutoDelete(a0);
        return;
    }

    typedef void (*sipVH_QtNetwork_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtNetwork_1)(sipModuleAPI_kdeui_QtNetwork->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPassivePopup::setView(const QString& a0,const QString& a1,const QPixmap& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setView);

    if (!sipMeth)
    {
        KPassivePopup::setView(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QString&,const QPixmap&);

    sipVH_kdeui_57(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_KPassivePopup_setView(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_setView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setView(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setView(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QPixmap* a2;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J9", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QPixmap, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::setView(*a0,*a1,*a2) : sipCpp->setView(*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_KPassivePopup, sipName_setView, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_standardView(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_standardView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QPixmap* a2;
        QWidget* a3 = 0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J9|J:", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QPixmap, &a2, sipType_QWidget, &a3))
        {
            KVBox*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->standardView(*a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KVBox,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_standardView, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_view(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_view(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPassivePopup, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->view();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_view, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_timeout(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_timeout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPassivePopup, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timeout();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_timeout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_setAutoDelete(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_setAutoDelete(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPassivePopup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::setAutoDelete(a0) : sipCpp->setAutoDelete(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_KPassivePopup, sipName_setAutoDelete, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_autoDelete(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_autoDelete(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPassivePopup, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoDelete();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_autoDelete, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_defaultArea(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_defaultArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPassivePopup, &sipCpp))
        {
            QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->defaultArea());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_defaultArea, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_anchor(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_anchor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPassivePopup, &sipCpp))
        {
            QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->anchor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_anchor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_setAnchor(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_setAnchor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAnchor(*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_KPassivePopup, sipName_setAnchor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_message(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_message(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J:", sipType_QString,&a0, &a0State, sipType_QWidget, &a1))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QSystemTrayIcon* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J:", sipType_QString,&a0, &a0State, sipType_QSystemTrayIcon, &a1))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J:", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QWidget, &a2))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QSystemTrayIcon* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J:", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QSystemTrayIcon, &a2))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QPixmap* a2;
        QWidget* a3;
        int a4 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J9J:|i", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QPixmap, &a2, sipType_QWidget, &a3, &a4))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*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 sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QPixmap* a2;
        QSystemTrayIcon* a3;
        int a4 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J9J:|i", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QPixmap, &a2, sipType_QSystemTrayIcon, &a3, &a4))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*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 sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QPixmap* a2;
        WId a3;
        int a4 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1J9m|i", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QPixmap, &a2, &a3, &a4))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(*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 sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1J:", &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QSystemTrayIcon* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1J:", &a0, sipType_QString,&a1, &a1State, sipType_QSystemTrayIcon, &a2))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QSystemTrayIcon* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1J1J:", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QSystemTrayIcon, &a3))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QWidget* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1J1J:", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QWidget, &a3))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QPixmap* a3;
        QWidget* a4;
        int a5 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1J1J9J:|i", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QPixmap, &a3, sipType_QWidget, &a4, &a5))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,*a2,*a3,a4,a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QPixmap* a3;
        QSystemTrayIcon* a4;
        int a5 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1J1J9J:|i", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QPixmap, &a3, sipType_QSystemTrayIcon, &a4, &a5))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,*a2,*a3,a4,a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QPixmap* a3;
        WId a4;
        int a5 = -1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1J1J9m|i", &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QPixmap, &a3, &a4, &a5))
        {
            KPassivePopup*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = KPassivePopup::message(a0,*a1,*a2,*a3,a4,a5);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPassivePopup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_message, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_setTimeout(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_setTimeout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPassivePopup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeout(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_KPassivePopup, sipName_setTimeout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_setPopupStyle(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_setPopupStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPassivePopup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPopupStyle(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_KPassivePopup, sipName_setPopupStyle, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_show(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_show(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPassivePopup, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->show();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QPoint* a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->show(*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_KPassivePopup, sipName_show, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_setVisible(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPassivePopup, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::setVisible(a0) : sipCpp->setVisible(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_KPassivePopup, sipName_setVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_positionSelf(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_positionSelf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPassivePopup, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::positionSelf() : sipCpp->positionSelf());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_positionSelf, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::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_KPassivePopup, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_moveNear(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_moveNear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QRect, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->moveNear(*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_KPassivePopup, sipName_moveNear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_calculateNearbyPoint(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_calculateNearbyPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QRect, &a0))
        {
            QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->calculateNearbyPoint(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_calculateNearbyPoint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_updateMask(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_updateMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPassivePopup, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateMask();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPassivePopup, sipName_updateMask, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPassivePopup_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KPassivePopup_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        KPassivePopup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPassivePopup, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KPassivePopup::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_KPassivePopup, sipName_paintEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPassivePopup(void *, const sipTypeDef *);}
static void *cast_KPassivePopup(void *sipCppV, const sipTypeDef *targetType)
{
    KPassivePopup *sipCpp = reinterpret_cast<KPassivePopup *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPassivePopup(void *, int);}
static void release_KPassivePopup(void *sipCppV,int)
{
    KPassivePopup *sipCpp = reinterpret_cast<KPassivePopup *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPassivePopup(sipSimpleWrapper *);}
static void dealloc_KPassivePopup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPassivePopup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPassivePopup(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPassivePopup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPassivePopup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPassivePopup *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WFlags a1def = 0;
        Qt::WFlags* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPassivePopup(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        WId a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "m", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPassivePopup(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPassivePopup[] = {{143, 2, 1}};


static PyMethodDef methods_KPassivePopup[] = {
    {SIP_MLNAME_CAST(sipName_anchor), meth_KPassivePopup_anchor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoDelete), meth_KPassivePopup_autoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calculateNearbyPoint), meth_KPassivePopup_calculateNearbyPoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultArea), meth_KPassivePopup_defaultArea, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KPassivePopup_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_message), meth_KPassivePopup_message, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KPassivePopup_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveNear), meth_KPassivePopup_moveNear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KPassivePopup_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_positionSelf), meth_KPassivePopup_positionSelf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAnchor), meth_KPassivePopup_setAnchor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDelete), meth_KPassivePopup_setAutoDelete, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPopupStyle), meth_KPassivePopup_setPopupStyle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeout), meth_KPassivePopup_setTimeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setView), meth_KPassivePopup_setView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_KPassivePopup_setVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_show), meth_KPassivePopup_show, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardView), meth_KPassivePopup_standardView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeout), meth_KPassivePopup_timeout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMask), meth_KPassivePopup_updateMask, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_view), meth_KPassivePopup_view, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPassivePopup[] = {
    {sipName_Balloon, static_cast<int>(KPassivePopup::Balloon), 222},
    {sipName_Boxed, static_cast<int>(KPassivePopup::Boxed), 222},
    {sipName_CustomStyle, static_cast<int>(KPassivePopup::CustomStyle), 222},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPassivePopup[] = {
    {"clicked()", 0, 0, 0},
    {"clicked(QPoint)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPassivePopup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPassivePopup,
        {0}
    },
    {
        sipNameNr_KPassivePopup,
        {0, 0, 1},
        21, methods_KPassivePopup,
        3, enummembers_KPassivePopup,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPassivePopup,
    0,
    init_type_KPassivePopup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPassivePopup,
    0,
    0,
    0,
    release_KPassivePopup,
    cast_KPassivePopup,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPassivePopup::staticMetaObject,
    0,
    signals_KPassivePopup,
};

#line 59 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 34106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 34110 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 34113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 34116 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 34125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 34128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 34131 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 34143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 34149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 34155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 34158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 34161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 34182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPageWidgetModel : public KPageWidgetModel
{
public:
    sipKPageWidgetModel(QObject*);
    virtual ~sipKPageWidgetModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void revert();
    bool submit();
    QSize span(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QModelIndex buddy(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    bool canFetchMore(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) const;
    QStringList mimeTypes() const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool hasChildren(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    int columnCount(const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPageWidgetModel(const sipKPageWidgetModel &);
    sipKPageWidgetModel &operator = (const sipKPageWidgetModel &);

    char sipPyMethods[35];
};

sipKPageWidgetModel::sipKPageWidgetModel(QObject*a0): KPageWidgetModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPageWidgetModel::~sipKPageWidgetModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPageWidgetModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPageWidgetModel);
}

int sipKPageWidgetModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPageWidgetModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPageWidgetModel,_c,_id,_a);

    return _id;
}

void *sipKPageWidgetModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPageWidgetModel, _clname)) ? this : KPageWidgetModel::qt_metacast(_clname);
}

void sipKPageWidgetModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPageWidgetModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPageWidgetModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPageWidgetModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPageWidgetModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPageWidgetModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageWidgetModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPageWidgetModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPageWidgetModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPageWidgetModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KPageWidgetModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPageWidgetModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KPageWidgetModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPageWidgetModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KPageWidgetModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kdeui_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKPageWidgetModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KPageWidgetModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kdeui_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipKPageWidgetModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KPageWidgetModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KPageWidgetModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kdeui_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPageWidgetModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KPageWidgetModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KPageWidgetModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kdeui_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageWidgetModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KPageWidgetModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKPageWidgetModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KPageWidgetModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKPageWidgetModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KPageWidgetModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKPageWidgetModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KPageWidgetModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipKPageWidgetModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KPageWidgetModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kdeui_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPageWidgetModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KPageWidgetModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kdeui_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QMimeData* sipKPageWidgetModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KPageWidgetModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtCore_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtCore_54)(sipModuleAPI_kdeui_QtCore->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKPageWidgetModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KPageWidgetModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdeui_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPageWidgetModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KPageWidgetModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kdeui_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKPageWidgetModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KPageWidgetModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kdeui_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageWidgetModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KPageWidgetModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kdeui_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipKPageWidgetModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KPageWidgetModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kdeui_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKPageWidgetModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KPageWidgetModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPageWidgetModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return KPageWidgetModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKPageWidgetModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return KPageWidgetModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKPageWidgetModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return KPageWidgetModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kdeui_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::ItemFlags sipKPageWidgetModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KPageWidgetModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kdeui_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageWidgetModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KPageWidgetModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kdeui_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKPageWidgetModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return KPageWidgetModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kdeui_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipKPageWidgetModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return KPageWidgetModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KPageWidgetModel_addPage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_addPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_QWidget, &a0, sipType_QString,&a1, &a1State))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addPage(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
        KPageWidgetItem* a0;
        KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_addPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_insertPage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_insertPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        QWidget* a1;
        const QString* a2;
        int a2State = 0;
        KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J1", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertPage(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
        KPageWidgetItem* a0;
        KPageWidgetItem* a1;
        KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_KPageWidgetItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertPage(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_insertPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_addSubPage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_addSubPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        QWidget* a1;
        const QString* a2;
        int a2State = 0;
        KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J8J1", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addSubPage(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
        KPageWidgetItem* a0;
        KPageWidgetItem* a1;
        KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J8", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_KPageWidgetItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addSubPage(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_addSubPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_removePage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_removePage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removePage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_removePage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J;", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KPageWidgetModel::columnCount(*a0) : sipCpp->columnCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_columnCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_data(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|i", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->KPageWidgetModel::data(*a0,a1) : sipCpp->data(*a0,a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_setData(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QVariant* a1;
        int a1State = 0;
        int a2 = Qt::EditRole;
        KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1|i", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QVariant,&a1, &a1State, &a2))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KPageWidgetModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_setData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_flags(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Qt::ItemFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::ItemFlags((sipSelfWasArg ? sipCpp->KPageWidgetModel::flags(*a0) : sipCpp->flags(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_flags, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_index(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_index(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QModelIndex& a2def = QModelIndex();
        const QModelIndex* a2 = &a2def;
        const KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J;", &sipSelf, sipType_KPageWidgetModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KPageWidgetModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    {
        const KPageWidgetItem* a0;
        const KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->index(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_index, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_parent(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->KPageWidgetModel::parent(*a0) : sipCpp->parent(*a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_parent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_rowCount(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J;", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KPageWidgetModel::rowCount(*a0) : sipCpp->rowCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_rowCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetModel_item(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetModel_item(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const KPageWidgetModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPageWidgetModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->item(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetModel, sipName_item, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPageWidgetModel(void *, int);}
static void release_KPageWidgetModel(void *sipCppV,int)
{
    KPageWidgetModel *sipCpp = reinterpret_cast<KPageWidgetModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPageWidgetModel(sipSimpleWrapper *);}
static void dealloc_KPageWidgetModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPageWidgetModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPageWidgetModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPageWidgetModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPageWidgetModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPageWidgetModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPageWidgetModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPageWidgetModel[] = {{214, 255, 1}};


static PyMethodDef methods_KPageWidgetModel[] = {
    {SIP_MLNAME_CAST(sipName_addPage), meth_KPageWidgetModel_addPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSubPage), meth_KPageWidgetModel_addSubPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KPageWidgetModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KPageWidgetModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_KPageWidgetModel_flags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_KPageWidgetModel_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertPage), meth_KPageWidgetModel_insertPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_item), meth_KPageWidgetModel_item, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_KPageWidgetModel_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removePage), meth_KPageWidgetModel_removePage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_KPageWidgetModel_rowCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), meth_KPageWidgetModel_setData, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPageWidgetModel[] = {
    {"toggled(KPageWidgetItem*,bool)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPageWidgetModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPageWidgetModel,
        {0}
    },
    {
        sipNameNr_KPageWidgetModel,
        {0, 0, 1},
        12, methods_KPageWidgetModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPageWidgetModel,
    0,
    init_type_KPageWidgetModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPageWidgetModel,
    0,
    0,
    0,
    release_KPageWidgetModel,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPageWidgetModel::staticMetaObject,
    0,
    signals_KPageWidgetModel,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 35394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 35398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 35401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 35404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 35416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 35419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 35422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 35425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 35431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 35434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 35437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 35440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPageWidgetItem : public KPageWidgetItem
{
public:
    sipKPageWidgetItem(QWidget*);
    sipKPageWidgetItem(QWidget*,const QString&);
    virtual ~sipKPageWidgetItem();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPageWidgetItem(const sipKPageWidgetItem &);
    sipKPageWidgetItem &operator = (const sipKPageWidgetItem &);

    char sipPyMethods[7];
};

sipKPageWidgetItem::sipKPageWidgetItem(QWidget*a0): KPageWidgetItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPageWidgetItem::sipKPageWidgetItem(QWidget*a0,const QString& a1): KPageWidgetItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPageWidgetItem::~sipKPageWidgetItem()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPageWidgetItem::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPageWidgetItem);
}

int sipKPageWidgetItem::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPageWidgetItem::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPageWidgetItem,_c,_id,_a);

    return _id;
}

void *sipKPageWidgetItem::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPageWidgetItem, _clname)) ? this : KPageWidgetItem::qt_metacast(_clname);
}

void sipKPageWidgetItem::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPageWidgetItem::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetItem::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPageWidgetItem::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetItem::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPageWidgetItem::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetItem::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPageWidgetItem::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidgetItem::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPageWidgetItem::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageWidgetItem::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPageWidgetItem::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPageWidgetItem::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPageWidgetItem::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KPageWidgetItem_widget(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageWidgetItem, &sipCpp))
        {
            QWidget*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->widget();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetItem, sipName_widget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_setName(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_setName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPageWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetItem, sipName_setName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_name(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageWidgetItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetItem, sipName_name, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_setHeader(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_setHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KPageWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHeader(*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_KPageWidgetItem, sipName_setHeader, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_header(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_header(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageWidgetItem, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->header());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetItem, sipName_header, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_setIcon(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIcon* a0;
        KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPageWidgetItem, &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_KPageWidgetItem, sipName_setIcon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_icon(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageWidgetItem, &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_KPageWidgetItem, sipName_icon, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_setCheckable(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_setCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPageWidgetItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCheckable(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_KPageWidgetItem, sipName_setCheckable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_isCheckable(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_isCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageWidgetItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCheckable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetItem, sipName_isCheckable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_isChecked(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_isChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageWidgetItem, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isChecked();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidgetItem, sipName_isChecked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageWidgetItem, &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_KPageWidgetItem, sipName_isEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPageWidgetItem, &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_KPageWidgetItem, sipName_setEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidgetItem_setChecked(PyObject *, PyObject *);}
static PyObject *meth_KPageWidgetItem_setChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KPageWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KPageWidgetItem, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChecked(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_KPageWidgetItem, sipName_setChecked, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPageWidgetItem(void *, int);}
static void release_KPageWidgetItem(void *sipCppV,int)
{
    KPageWidgetItem *sipCpp = reinterpret_cast<KPageWidgetItem *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPageWidgetItem(sipSimpleWrapper *);}
static void dealloc_KPageWidgetItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPageWidgetItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPageWidgetItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPageWidgetItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPageWidgetItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKPageWidgetItem *sipCpp = 0;

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPageWidgetItem(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPageWidgetItem(a0,*a1);
            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_KPageWidgetItem[] = {{141, 0, 1}};


static PyMethodDef methods_KPageWidgetItem[] = {
    {SIP_MLNAME_CAST(sipName_header), meth_KPageWidgetItem_header, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KPageWidgetItem_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCheckable), meth_KPageWidgetItem_isCheckable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isChecked), meth_KPageWidgetItem_isChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_KPageWidgetItem_isEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KPageWidgetItem_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckable), meth_KPageWidgetItem_setCheckable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChecked), meth_KPageWidgetItem_setChecked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_KPageWidgetItem_setEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHeader), meth_KPageWidgetItem_setHeader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KPageWidgetItem_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_KPageWidgetItem_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_KPageWidgetItem_widget, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPageWidgetItem[] = {
    {"toggled(bool)", 0, 0, 0},
    {"changed()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPageWidgetItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPageWidgetItem,
        {0}
    },
    {
        sipNameNr_KPageWidgetItem,
        {0, 0, 1},
        13, methods_KPageWidgetItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPageWidgetItem,
    0,
    init_type_KPageWidgetItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPageWidgetItem,
    0,
    0,
    0,
    release_KPageWidgetItem,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPageWidgetItem::staticMetaObject,
    0,
    signals_KPageWidgetItem,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpagewidget.sip"
#include <kpagewidget.h>
#line 36144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 36148 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 36151 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 36154 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36157 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 36160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 36163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpageview.sip"
#include <kpageview.h>
#line 36166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 36169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 36175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 36184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 36187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 36190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 36193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 36196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 36199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 36202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 36205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 36211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 36214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 36217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 36220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 36223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 36229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 36289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 36292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 36295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 36298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 36304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 36307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 36310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 36316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 36319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 36322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 36325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 36328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 36337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 36343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 36346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 36349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 36352 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPageWidget : public KPageWidget
{
public:
    sipKPageWidget(QWidget*);
    virtual ~sipKPageWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    Qt::Alignment viewPosition() const;
    bool showPageHeader() const;
    QAbstractItemView* createView();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPageWidget(const sipKPageWidget &);
    sipKPageWidget &operator = (const sipKPageWidget &);

    char sipPyMethods[50];
};

sipKPageWidget::sipKPageWidget(QWidget*a0): KPageWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPageWidget::~sipKPageWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPageWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPageWidget);
}

int sipKPageWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPageWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPageWidget,_c,_id,_a);

    return _id;
}

void *sipKPageWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPageWidget, _clname)) ? this : KPageWidget::qt_metacast(_clname);
}

void sipKPageWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPageWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPageWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPageWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPageWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPageWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPageWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPageWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPageWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPageWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPageWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPageWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPageWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPageWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPageWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPageWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPageWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPageWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPageWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPageWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPageWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPageWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPageWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPageWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPageWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPageWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPageWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPageWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPageWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPageWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPageWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPageWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPageWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPageWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPageWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPageWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPageWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPageWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPageWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPageWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPageWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPageWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPageWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPageWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPageWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPageWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPageWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPageWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPageWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPageWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPageWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPageWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPageWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPageWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPageWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPageWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPageWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPageWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

Qt::Alignment sipKPageWidget::viewPosition() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_viewPosition);

    if (!sipMeth)
        return KPageWidget::viewPosition();

    extern Qt::Alignment sipVH_kdeui_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_58(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPageWidget::showPageHeader() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_showPageHeader);

    if (!sipMeth)
        return KPageWidget::showPageHeader();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QAbstractItemView* sipKPageWidget::createView()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_createView);

    if (!sipMeth)
        return KPageWidget::createView();

    extern QAbstractItemView* sipVH_kdeui_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_59(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPageWidget_addPage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidget_addPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        KPageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_KPageWidget, &sipCpp, sipType_QWidget, &a0, sipType_QString,&a1, &a1State))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addPage(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
        KPageWidgetItem* a0;
        KPageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageWidget, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidget, sipName_addPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidget_insertPage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidget_insertPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        QWidget* a1;
        const QString* a2;
        int a2State = 0;
        KPageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J1", &sipSelf, sipType_KPageWidget, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->insertPage(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
        KPageWidgetItem* a0;
        KPageWidgetItem* a1;
        KPageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KPageWidget, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_KPageWidgetItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertPage(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidget, sipName_insertPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidget_addSubPage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidget_addSubPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        QWidget* a1;
        const QString* a2;
        int a2State = 0;
        KPageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J8J1", &sipSelf, sipType_KPageWidget, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addSubPage(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
        KPageWidgetItem* a0;
        KPageWidgetItem* a1;
        KPageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J8", &sipSelf, sipType_KPageWidget, &sipCpp, sipType_KPageWidgetItem, &a0, sipType_KPageWidgetItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addSubPage(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidget, sipName_addSubPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidget_removePage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidget_removePage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        KPageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageWidget, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removePage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidget, sipName_removePage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidget_setCurrentPage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidget_setCurrentPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageWidgetItem* a0;
        KPageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageWidget, &sipCpp, sipType_KPageWidgetItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentPage(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidget, sipName_setCurrentPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageWidget_currentPage(PyObject *, PyObject *);}
static PyObject *meth_KPageWidget_currentPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageWidget, &sipCpp))
        {
            KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentPage();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageWidget, sipName_currentPage, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPageWidget(void *, const sipTypeDef *);}
static void *cast_KPageWidget(void *sipCppV, const sipTypeDef *targetType)
{
    KPageWidget *sipCpp = reinterpret_cast<KPageWidget *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPageWidget(void *, int);}
static void release_KPageWidget(void *sipCppV,int)
{
    KPageWidget *sipCpp = reinterpret_cast<KPageWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPageWidget(sipSimpleWrapper *);}
static void dealloc_KPageWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPageWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPageWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPageWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPageWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPageWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPageWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPageWidget[] = {{216, 255, 1}};


static PyMethodDef methods_KPageWidget[] = {
    {SIP_MLNAME_CAST(sipName_addPage), meth_KPageWidget_addPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSubPage), meth_KPageWidget_addSubPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentPage), meth_KPageWidget_currentPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertPage), meth_KPageWidget_insertPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removePage), meth_KPageWidget_removePage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentPage), meth_KPageWidget_setCurrentPage, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPageWidget[] = {
    {"pageRemoved(KPageWidgetItem*)", 0, 0, 0},
    {"pageToggled(KPageWidgetItem*,bool)", 0, 0, 0},
    {"currentPageChanged(KPageWidgetItem*,KPageWidgetItem*)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPageWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPageWidget,
        {0}
    },
    {
        sipNameNr_KPageWidget,
        {0, 0, 1},
        6, methods_KPageWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPageWidget,
    0,
    init_type_KPageWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPageWidget,
    0,
    0,
    0,
    release_KPageWidget,
    cast_KPageWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPageWidget::staticMetaObject,
    0,
    signals_KPageWidget,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpageview.sip"
#include <kpageview.h>
#line 37691 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 37695 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37698 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 37701 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 37704 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 37707 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 122 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 37710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37713 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 37716 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37719 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37722 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 37725 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 37728 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 37731 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 37734 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 37737 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 37740 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 37743 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 37746 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 37749 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 37752 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 37755 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 37758 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 37761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 37764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 37767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37770 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 37773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 37776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37785 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37791 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37794 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37800 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37803 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37806 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37809 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37812 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37815 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37818 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37821 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37824 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37827 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37830 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 37833 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 37836 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 37839 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 37842 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37845 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 37848 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 37851 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 37854 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37857 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 37860 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 37863 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 37866 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 37869 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 37872 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37875 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37878 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 37881 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37884 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37887 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 37890 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 37893 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 37896 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPageView : public KPageView
{
public:
    sipKPageView(QWidget*);
    virtual ~sipKPageView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    Qt::Alignment viewPosition() const;
    bool showPageHeader() const;
    QAbstractItemView* createView();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPageView(const sipKPageView &);
    sipKPageView &operator = (const sipKPageView &);

    char sipPyMethods[50];
};

sipKPageView::sipKPageView(QWidget*a0): KPageView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPageView::~sipKPageView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPageView::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPageView);
}

int sipKPageView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPageView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPageView,_c,_id,_a);

    return _id;
}

void *sipKPageView::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPageView, _clname)) ? this : KPageView::qt_metacast(_clname);
}

void sipKPageView::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPageView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPageView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPageView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPageView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPageView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPageView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPageView::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KPageView::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPageView::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KPageView::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KPageView::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KPageView::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KPageView::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KPageView::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKPageView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KPageView::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KPageView::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPageView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KPageView::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KPageView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KPageView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KPageView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KPageView::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KPageView::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KPageView::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KPageView::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KPageView::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KPageView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KPageView::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KPageView::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KPageView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KPageView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KPageView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KPageView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KPageView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KPageView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KPageView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KPageView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KPageView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KPageView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KPageView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KPageView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KPageView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KPageView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPageView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKPageView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KPageView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPageView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KPageView::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKPageView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KPageView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPageView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KPageView::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPageView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KPageView::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPageView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KPageView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

Qt::Alignment sipKPageView::viewPosition() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_viewPosition);

    if (!sipMeth)
        return KPageView::viewPosition();

    extern Qt::Alignment sipVH_kdeui_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_58(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPageView::showPageHeader() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_showPageHeader);

    if (!sipMeth)
        return KPageView::showPageHeader();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QAbstractItemView* sipKPageView::createView()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_createView);

    if (!sipMeth)
        return KPageView::createView();

    extern QAbstractItemView* sipVH_kdeui_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_59(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KPageView_setModel(PyObject *, PyObject *);}
static PyObject *meth_KPageView_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemModel* a0;
        KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageView, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setModel(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_setModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_model(PyObject *, PyObject *);}
static PyObject *meth_KPageView_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageView, &sipCpp))
        {
            QAbstractItemModel*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->model();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_model, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_setFaceType(PyObject *, PyObject *);}
static PyObject *meth_KPageView_setFaceType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KPageView::FaceType a0;
        KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KPageView, &sipCpp, sipType_KPageView_FaceType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFaceType(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_setFaceType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_faceType(PyObject *, PyObject *);}
static PyObject *meth_KPageView_faceType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageView, &sipCpp))
        {
            KPageView::FaceType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->faceType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KPageView_FaceType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_faceType, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_setCurrentPage(PyObject *, PyObject *);}
static PyObject *meth_KPageView_setCurrentPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPageView, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentPage(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_setCurrentPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_currentPage(PyObject *, PyObject *);}
static PyObject *meth_KPageView_currentPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageView, &sipCpp))
        {
            QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->currentPage());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_currentPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_setItemDelegate(PyObject *, PyObject *);}
static PyObject *meth_KPageView_setItemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemDelegate* a0;
        KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageView, &sipCpp, sipType_QAbstractItemDelegate, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItemDelegate(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_KPageView, sipName_setItemDelegate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_itemDelegate(PyObject *, PyObject *);}
static PyObject *meth_KPageView_itemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KPageView, &sipCpp))
        {
            QAbstractItemDelegate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->itemDelegate();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractItemDelegate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_itemDelegate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_setDefaultWidget(PyObject *, PyObject *);}
static PyObject *meth_KPageView_setDefaultWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPageView, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultWidget(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_KPageView, sipName_setDefaultWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_createView(PyObject *, PyObject *);}
static PyObject *meth_KPageView_createView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPageView, &sipCpp))
        {
            QAbstractItemView*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KPageView::createView() : sipCpp->createView());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_createView, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_showPageHeader(PyObject *, PyObject *);}
static PyObject *meth_KPageView_showPageHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPageView, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KPageView::showPageHeader() : sipCpp->showPageHeader());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_showPageHeader, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPageView_viewPosition(PyObject *, PyObject *);}
static PyObject *meth_KPageView_viewPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KPageView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KPageView, &sipCpp))
        {
            Qt::Alignment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment((sipSelfWasArg ? sipCpp->KPageView::viewPosition() : sipCpp->viewPosition()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPageView, sipName_viewPosition, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KPageView(void *, const sipTypeDef *);}
static void *cast_KPageView(void *sipCppV, const sipTypeDef *targetType)
{
    KPageView *sipCpp = reinterpret_cast<KPageView *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPageView(void *, int);}
static void release_KPageView(void *sipCppV,int)
{
    KPageView *sipCpp = reinterpret_cast<KPageView *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPageView(sipSimpleWrapper *);}
static void dealloc_KPageView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPageView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPageView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPageView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPageView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPageView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPageView(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPageView[] = {{755, 2, 1}};


static PyMethodDef methods_KPageView[] = {
    {SIP_MLNAME_CAST(sipName_createView), meth_KPageView_createView, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentPage), meth_KPageView_currentPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_faceType), meth_KPageView_faceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_itemDelegate), meth_KPageView_itemDelegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_model), meth_KPageView_model, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentPage), meth_KPageView_setCurrentPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultWidget), meth_KPageView_setDefaultWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFaceType), meth_KPageView_setFaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItemDelegate), meth_KPageView_setItemDelegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModel), meth_KPageView_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showPageHeader), meth_KPageView_showPageHeader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewPosition), meth_KPageView_viewPosition, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KPageView[] = {
    {sipName_Auto, static_cast<int>(KPageView::Auto), 217},
    {sipName_List, static_cast<int>(KPageView::List), 217},
    {sipName_Plain, static_cast<int>(KPageView::Plain), 217},
    {sipName_Tabbed, static_cast<int>(KPageView::Tabbed), 217},
    {sipName_Tree, static_cast<int>(KPageView::Tree), 217},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPageView[] = {
    {"currentPageChanged(QModelIndex,QModelIndex)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPageView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPageView,
        {0}
    },
    {
        sipNameNr_KPageView,
        {0, 0, 1},
        12, methods_KPageView,
        5, enummembers_KPageView,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPageView,
    0,
    init_type_KPageView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPageView,
    0,
    0,
    0,
    release_KPageView,
    cast_KPageView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPageView::staticMetaObject,
    0,
    signals_KPageView,
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/kpagemodel.sip"
#include <kpagemodel.h>
#line 39351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 39355 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 39358 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 39361 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 39364 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39367 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 39370 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 39373 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39376 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 39379 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 39382 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39385 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 39388 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 39391 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 39394 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 139 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 39397 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 39400 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39403 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39406 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39409 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 39412 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 39415 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 39418 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 39421 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 39424 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 39427 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKPageModel : public KPageModel
{
public:
    sipKPageModel(QObject*);
    virtual ~sipKPageModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void revert();
    bool submit();
    QSize span(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QModelIndex buddy(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) const;
    QStringList mimeTypes() const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    bool hasChildren(const QModelIndex&) const;
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPageModel(const sipKPageModel &);
    sipKPageModel &operator = (const sipKPageModel &);

    char sipPyMethods[35];
};

sipKPageModel::sipKPageModel(QObject*a0): KPageModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPageModel::~sipKPageModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKPageModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPageModel);
}

int sipKPageModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KPageModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPageModel,_c,_id,_a);

    return _id;
}

void *sipKPageModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPageModel, _clname)) ? this : KPageModel::qt_metacast(_clname);
}

void sipKPageModel::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KPageModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageModel::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KPageModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KPageModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KPageModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KPageModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KPageModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPageModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KPageModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        KPageModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPageModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return KPageModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_kdeui_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKPageModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return KPageModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_kdeui_QtCore->em_virthandlers[47]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndexList sipKPageModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return KPageModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_kdeui_QtCore->em_virthandlers[48]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipKPageModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return KPageModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        KPageModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_kdeui_QtCore->em_virthandlers[49]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

Qt::ItemFlags sipKPageModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return KPageModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_kdeui_QtCore->em_virthandlers[50]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return KPageModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPageModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        KPageModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_kdeui_QtCore->em_virthandlers[51]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return KPageModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKPageModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return KPageModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKPageModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return KPageModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKPageModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return KPageModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_kdeui_QtCore->em_virthandlers[52]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipKPageModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return KPageModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_kdeui_QtCore->em_virthandlers[53]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPageModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return KPageModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_kdeui_QtCore->em_virthandlers[45]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QMimeData* sipKPageModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return KPageModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtCore_54)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtCore_54)(sipModuleAPI_kdeui_QtCore->em_virthandlers[54]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QStringList sipKPageModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return KPageModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_kdeui_QtCore->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKPageModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return KPageModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_kdeui_QtCore->em_virthandlers[55]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipKPageModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return KPageModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_kdeui_QtCore->em_virthandlers[56]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPageModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return KPageModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_kdeui_QtCore->em_virthandlers[57]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QVariant sipKPageModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return KPageModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_kdeui_QtCore->em_virthandlers[58]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipKPageModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return KPageModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_kdeui_QtCore->em_virthandlers[59]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipKPageModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,sipName_KPageModel,sipName_data);

    if (!sipMeth)
        return QVariant();

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_kdeui_QtCore->em_virthandlers[60]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKPageModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return KPageModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_kdeui_QtCore->em_virthandlers[42]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPageModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,sipName_KPageModel,sipName_columnCount);

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPageModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,sipName_KPageModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_kdeui_QtCore->em_virthandlers[43]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKPageModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,sipName_KPageModel,sipName_parent);

    if (!sipMeth)
        return QModelIndex();

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_kdeui_QtCore->em_virthandlers[44]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QModelIndex sipKPageModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,sipName_KPageModel,sipName_index);

    if (!sipMeth)
        return QModelIndex();

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_kdeui_QtCore->em_virthandlers[46]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


/* Call the instance's destructor. */
extern "C" {static void release_KPageModel(void *, int);}
static void release_KPageModel(void *sipCppV,int)
{
    KPageModel *sipCpp = reinterpret_cast<KPageModel *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPageModel(sipSimpleWrapper *);}
static void dealloc_KPageModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKPageModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KPageModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KPageModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPageModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPageModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPageModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPageModel[] = {{13, 0, 1}};

static sipEnumMemberDef enummembers_KPageModel[] = {
    {sipName_HeaderRole, static_cast<int>(KPageModel::HeaderRole), 215},
    {sipName_WidgetRole, static_cast<int>(KPageModel::WidgetRole), 215},
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KPageModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPageModel,
        {0}
    },
    {
        sipNameNr_KPageModel,
        {0, 0, 1},
        0, 0,
        2, enummembers_KPageModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPageModel,
    0,
    init_type_KPageModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPageModel,
    0,
    0,
    0,
    release_KPageModel,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KPageModel::staticMetaObject,
    0,
    0
};

#line 75 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/knumvalidator.sip"
#include <knumvalidator.h>
#line 40189 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 40193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 40196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 40199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 112 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 40202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 40205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 40232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 40235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 40238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKDoubleValidator : public KDoubleValidator
{
public:
    sipKDoubleValidator(QObject*);
    sipKDoubleValidator(double,double,int,QObject*);
    virtual ~sipKDoubleValidator();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void fixup(QString&) const;
    void setRange(double,double,int);
    QValidator::State validate(QString&,int&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDoubleValidator(const sipKDoubleValidator &);
    sipKDoubleValidator &operator = (const sipKDoubleValidator &);

    char sipPyMethods[12];
};

sipKDoubleValidator::sipKDoubleValidator(QObject*a0): KDoubleValidator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDoubleValidator::sipKDoubleValidator(double a0,double a1,int a2,QObject*a3): KDoubleValidator(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDoubleValidator::~sipKDoubleValidator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDoubleValidator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDoubleValidator);
}

int sipKDoubleValidator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDoubleValidator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDoubleValidator,_c,_id,_a);

    return _id;
}

void *sipKDoubleValidator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDoubleValidator, _clname)) ? this : KDoubleValidator::qt_metacast(_clname);
}

void sipKDoubleValidator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDoubleValidator::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleValidator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDoubleValidator::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleValidator::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDoubleValidator::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleValidator::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDoubleValidator::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleValidator::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDoubleValidator::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDoubleValidator::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDoubleValidator::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDoubleValidator::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDoubleValidator::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleValidator::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        KDoubleValidator::fixup(a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef void (*sipVH_QtGui_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_33)(sipModuleAPI_kdeui_QtGui->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef void (*sipVH_QtGui_34)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_34)(sipModuleAPI_kdeui_QtGui->em_virthandlers[34]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    KDoubleValidator::fixup(a0);
}

void sipKDoubleValidator::setRange(double a0,double a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setRange);

    if (!sipMeth)
    {
        KDoubleValidator::setRange(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double,double,int);

    ((sipVH_QtGui_31)(sipModuleAPI_kdeui_QtGui->em_virthandlers[31]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

QValidator::State sipKDoubleValidator::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_KDoubleValidator,sipName_validate);

    if (!sipMeth)
        return (QValidator::State)0;

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef QValidator::State (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef QValidator::State (*sipVH_QtGui_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_30)(sipModuleAPI_kdeui_QtGui->em_virthandlers[30]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    return (QValidator::State)0;
}


extern "C" {static PyObject *meth_KDoubleValidator_validate(PyObject *, PyObject *);}
static PyObject *meth_KDoubleValidator_validate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        QString* a0;
        int a0State = 0;
        int a1;
        const KDoubleValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_KDoubleValidator, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KDoubleValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        int a1;
        const KDoubleValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KDoubleValidator, &sipCpp, sipType_QString,&a0, &a1))
        {
            QValidator::State sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KDoubleValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(Fi)",sipRes,sipType_QValidator_State,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleValidator, sipName_validate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleValidator_acceptLocalizedNumbers(PyObject *, PyObject *);}
static PyObject *meth_KDoubleValidator_acceptLocalizedNumbers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleValidator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->acceptLocalizedNumbers();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleValidator, sipName_acceptLocalizedNumbers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleValidator_setAcceptLocalizedNumbers(PyObject *, PyObject *);}
static PyObject *meth_KDoubleValidator_setAcceptLocalizedNumbers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDoubleValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDoubleValidator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAcceptLocalizedNumbers(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_KDoubleValidator, sipName_setAcceptLocalizedNumbers, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDoubleValidator(void *, int);}
static void release_KDoubleValidator(void *sipCppV,int)
{
    KDoubleValidator *sipCpp = reinterpret_cast<KDoubleValidator *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDoubleValidator(sipSimpleWrapper *);}
static void dealloc_KDoubleValidator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDoubleValidator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDoubleValidator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDoubleValidator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDoubleValidator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDoubleValidator *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDoubleValidator(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        double a0;
        double a1;
        int a2;
        QObject* a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "ddiJH", &a0, &a1, &a2, sipType_QObject, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDoubleValidator(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDoubleValidator[] = {{97, 2, 1}};


static PyMethodDef methods_KDoubleValidator[] = {
    {SIP_MLNAME_CAST(sipName_acceptLocalizedNumbers), meth_KDoubleValidator_acceptLocalizedNumbers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptLocalizedNumbers), meth_KDoubleValidator_setAcceptLocalizedNumbers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_KDoubleValidator_validate, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KDoubleValidator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDoubleValidator,
        {0}
    },
    {
        sipNameNr_KDoubleValidator,
        {0, 0, 1},
        3, methods_KDoubleValidator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDoubleValidator,
    0,
    init_type_KDoubleValidator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDoubleValidator,
    0,
    0,
    0,
    release_KDoubleValidator,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDoubleValidator::staticMetaObject,
    0,
    0
};

#line 50 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/knumvalidator.sip"
#include <knumvalidator.h>
#line 40769 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 40776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 40779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 40782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40785 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40791 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 40794 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40800 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40803 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40806 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40809 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 40812 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 40815 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 40818 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKFloatValidator : public KFloatValidator
{
public:
    sipKFloatValidator(QWidget*);
    sipKFloatValidator(double,double,QWidget*);
    sipKFloatValidator(double,double,bool,QWidget*);
    virtual ~sipKFloatValidator();

    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*);
    double top() const;
    double bottom() const;
    void setRange(double,double);
    void fixup(QString&) const;
    QValidator::State validate(QString&,int&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKFloatValidator(const sipKFloatValidator &);
    sipKFloatValidator &operator = (const sipKFloatValidator &);

    char sipPyMethods[14];
};

sipKFloatValidator::sipKFloatValidator(QWidget*a0): KFloatValidator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFloatValidator::sipKFloatValidator(double a0,double a1,QWidget*a2): KFloatValidator(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFloatValidator::sipKFloatValidator(double a0,double a1,bool a2,QWidget*a3): KFloatValidator(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKFloatValidator::~sipKFloatValidator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKFloatValidator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KFloatValidator);
}

int sipKFloatValidator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KFloatValidator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KFloatValidator,_c,_id,_a);

    return _id;
}

void *sipKFloatValidator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KFloatValidator, _clname)) ? this : KFloatValidator::qt_metacast(_clname);
}

void sipKFloatValidator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KFloatValidator::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFloatValidator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KFloatValidator::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFloatValidator::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KFloatValidator::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFloatValidator::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KFloatValidator::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKFloatValidator::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KFloatValidator::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKFloatValidator::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KFloatValidator::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKFloatValidator::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KFloatValidator::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

double sipKFloatValidator::top() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_top);

    if (!sipMeth)
        return KFloatValidator::top();

    extern double sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_60(sipGILState, 0, sipPySelf, sipMeth);
}

double sipKFloatValidator::bottom() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_bottom);

    if (!sipMeth)
        return KFloatValidator::bottom();

    extern double sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_60(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKFloatValidator::setRange(double a0,double a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setRange);

    if (!sipMeth)
    {
        KFloatValidator::setRange(a0,a1);
        return;
    }

    extern void sipVH_kdeui_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double,double);

    sipVH_kdeui_61(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKFloatValidator::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        KFloatValidator::fixup(a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef void (*sipVH_QtGui_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_33)(sipModuleAPI_kdeui_QtGui->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef void (*sipVH_QtGui_34)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_34)(sipModuleAPI_kdeui_QtGui->em_virthandlers[34]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    KFloatValidator::fixup(a0);
}

QValidator::State sipKFloatValidator::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,sipName_KFloatValidator,sipName_validate);

    if (!sipMeth)
        return (QValidator::State)0;

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef QValidator::State (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef QValidator::State (*sipVH_QtGui_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_30)(sipModuleAPI_kdeui_QtGui->em_virthandlers[30]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    return (QValidator::State)0;
}


extern "C" {static PyObject *meth_KFloatValidator_validate(PyObject *, PyObject *);}
static PyObject *meth_KFloatValidator_validate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        QString* a0;
        int a0State = 0;
        int a1;
        const KFloatValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_KFloatValidator, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFloatValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        int a1;
        const KFloatValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KFloatValidator, &sipCpp, sipType_QString,&a0, &a1))
        {
            QValidator::State sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KFloatValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(Fi)",sipRes,sipType_QValidator_State,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFloatValidator, sipName_validate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFloatValidator_fixup(PyObject *, PyObject *);}
static PyObject *meth_KFloatValidator_fixup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        QString* a0;
        int a0State = 0;
        const KFloatValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KFloatValidator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFloatValidator::fixup(*a0) : sipCpp->fixup(*a0));
            Py_END_ALLOW_THREADS

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        const KFloatValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KFloatValidator, &sipCpp, sipType_QString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFloatValidator::fixup(*a0) : sipCpp->fixup(*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_KFloatValidator, sipName_fixup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFloatValidator_setRange(PyObject *, PyObject *);}
static PyObject *meth_KFloatValidator_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        double a0;
        double a1;
        KFloatValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_KFloatValidator, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KFloatValidator::setRange(a0,a1) : sipCpp->setRange(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_KFloatValidator, sipName_setRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFloatValidator_bottom(PyObject *, PyObject *);}
static PyObject *meth_KFloatValidator_bottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFloatValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFloatValidator, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFloatValidator::bottom() : sipCpp->bottom());
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFloatValidator, sipName_bottom, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFloatValidator_top(PyObject *, PyObject *);}
static PyObject *meth_KFloatValidator_top(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KFloatValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFloatValidator, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KFloatValidator::top() : sipCpp->top());
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFloatValidator, sipName_top, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFloatValidator_setAcceptLocalizedNumbers(PyObject *, PyObject *);}
static PyObject *meth_KFloatValidator_setAcceptLocalizedNumbers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KFloatValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KFloatValidator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAcceptLocalizedNumbers(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_KFloatValidator, sipName_setAcceptLocalizedNumbers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KFloatValidator_acceptLocalizedNumbers(PyObject *, PyObject *);}
static PyObject *meth_KFloatValidator_acceptLocalizedNumbers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KFloatValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KFloatValidator, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->acceptLocalizedNumbers();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KFloatValidator, sipName_acceptLocalizedNumbers, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KFloatValidator(void *, int);}
static void release_KFloatValidator(void *sipCppV,int)
{
    KFloatValidator *sipCpp = reinterpret_cast<KFloatValidator *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KFloatValidator(sipSimpleWrapper *);}
static void dealloc_KFloatValidator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKFloatValidator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KFloatValidator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KFloatValidator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KFloatValidator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKFloatValidator *sipCpp = 0;

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFloatValidator(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        double a0;
        double a1;
        QWidget* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "ddJH", &a0, &a1, sipType_QWidget, &a2, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFloatValidator(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        double a0;
        double a1;
        bool a2;
        QWidget* a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "ddbJH", &a0, &a1, &a2, sipType_QWidget, &a3, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKFloatValidator(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KFloatValidator[] = {{736, 2, 1}};


static PyMethodDef methods_KFloatValidator[] = {
    {SIP_MLNAME_CAST(sipName_acceptLocalizedNumbers), meth_KFloatValidator_acceptLocalizedNumbers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bottom), meth_KFloatValidator_bottom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fixup), meth_KFloatValidator_fixup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptLocalizedNumbers), meth_KFloatValidator_setAcceptLocalizedNumbers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_KFloatValidator_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_top), meth_KFloatValidator_top, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_KFloatValidator_validate, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KFloatValidator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KFloatValidator,
        {0}
    },
    {
        sipNameNr_KFloatValidator,
        {0, 0, 1},
        7, methods_KFloatValidator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KFloatValidator,
    0,
    init_type_KFloatValidator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KFloatValidator,
    0,
    0,
    0,
    release_KFloatValidator,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KFloatValidator::staticMetaObject,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/knumvalidator.sip"
#include <knumvalidator.h>
#line 41543 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 41547 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 41550 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 41553 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 41556 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41559 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41562 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41565 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 41568 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 41571 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41574 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 41577 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41580 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41583 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 41586 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 41589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 41592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKIntValidator : public KIntValidator
{
public:
    sipKIntValidator(QWidget*,int);
    sipKIntValidator(int,int,QWidget*,int);
    virtual ~sipKIntValidator();

    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 base() const;
    int top() const;
    int bottom() const;
    void setBase(int);
    void setRange(int,int);
    void fixup(QString&) const;
    QValidator::State validate(QString&,int&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIntValidator(const sipKIntValidator &);
    sipKIntValidator &operator = (const sipKIntValidator &);

    char sipPyMethods[16];
};

sipKIntValidator::sipKIntValidator(QWidget*a0,int a1): KIntValidator(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIntValidator::sipKIntValidator(int a0,int a1,QWidget*a2,int a3): KIntValidator(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIntValidator::~sipKIntValidator()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIntValidator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KIntValidator);
}

int sipKIntValidator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIntValidator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KIntValidator,_c,_id,_a);

    return _id;
}

void *sipKIntValidator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KIntValidator, _clname)) ? this : KIntValidator::qt_metacast(_clname);
}

void sipKIntValidator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIntValidator::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntValidator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIntValidator::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntValidator::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIntValidator::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntValidator::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIntValidator::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntValidator::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KIntValidator::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIntValidator::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIntValidator::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKIntValidator::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIntValidator::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIntValidator::base() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_base);

    if (!sipMeth)
        return KIntValidator::base();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIntValidator::top() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_top);

    if (!sipMeth)
        return KIntValidator::top();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIntValidator::bottom() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_bottom);

    if (!sipMeth)
        return KIntValidator::bottom();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIntValidator::setBase(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setBase);

    if (!sipMeth)
    {
        KIntValidator::setBase(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntValidator::setRange(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setRange);

    if (!sipMeth)
    {
        KIntValidator::setRange(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_32)(sipModuleAPI_kdeui_QtGui->em_virthandlers[32]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIntValidator::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        KIntValidator::fixup(a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef void (*sipVH_QtGui_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_33)(sipModuleAPI_kdeui_QtGui->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef void (*sipVH_QtGui_34)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_34)(sipModuleAPI_kdeui_QtGui->em_virthandlers[34]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    KIntValidator::fixup(a0);
}

QValidator::State sipKIntValidator::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,sipName_KIntValidator,sipName_validate);

    if (!sipMeth)
        return (QValidator::State)0;

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef QValidator::State (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef QValidator::State (*sipVH_QtGui_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_30)(sipModuleAPI_kdeui_QtGui->em_virthandlers[30]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    return (QValidator::State)0;
}


extern "C" {static PyObject *meth_KIntValidator_validate(PyObject *, PyObject *);}
static PyObject *meth_KIntValidator_validate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        QString* a0;
        int a0State = 0;
        int a1;
        const KIntValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_KIntValidator, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KIntValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        int a1;
        const KIntValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KIntValidator, &sipCpp, sipType_QString,&a0, &a1))
        {
            QValidator::State sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KIntValidator, sipName_validate);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->validate(*a0,a1);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(Fi)",sipRes,sipType_QValidator_State,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntValidator, sipName_validate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntValidator_fixup(PyObject *, PyObject *);}
static PyObject *meth_KIntValidator_fixup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        QString* a0;
        int a0State = 0;
        const KIntValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIntValidator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntValidator::fixup(*a0) : sipCpp->fixup(*a0));
            Py_END_ALLOW_THREADS

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        QString* a0;
        const KIntValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIntValidator, &sipCpp, sipType_QString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntValidator::fixup(*a0) : sipCpp->fixup(*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_KIntValidator, sipName_fixup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntValidator_setRange(PyObject *, PyObject *);}
static PyObject *meth_KIntValidator_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        KIntValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KIntValidator, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntValidator::setRange(a0,a1) : sipCpp->setRange(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_KIntValidator, sipName_setRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntValidator_setBase(PyObject *, PyObject *);}
static PyObject *meth_KIntValidator_setBase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        KIntValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIntValidator, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntValidator::setBase(a0) : sipCpp->setBase(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_KIntValidator, sipName_setBase, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntValidator_bottom(PyObject *, PyObject *);}
static PyObject *meth_KIntValidator_bottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KIntValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntValidator, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIntValidator::bottom() : sipCpp->bottom());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntValidator, sipName_bottom, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntValidator_top(PyObject *, PyObject *);}
static PyObject *meth_KIntValidator_top(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KIntValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntValidator, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIntValidator::top() : sipCpp->top());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntValidator, sipName_top, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntValidator_base(PyObject *, PyObject *);}
static PyObject *meth_KIntValidator_base(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KIntValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntValidator, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIntValidator::base() : sipCpp->base());
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntValidator, sipName_base, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIntValidator(void *, int);}
static void release_KIntValidator(void *sipCppV,int)
{
    KIntValidator *sipCpp = reinterpret_cast<KIntValidator *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIntValidator(sipSimpleWrapper *);}
static void dealloc_KIntValidator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIntValidator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIntValidator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KIntValidator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIntValidator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKIntValidator *sipCpp = 0;

    {
        QWidget* a0;
        int a1 = 10;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH|i", sipType_QWidget, &a0, sipOwner, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIntValidator(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        QWidget* a2;
        int a3 = 10;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiJH|i", &a0, &a1, sipType_QWidget, &a2, sipOwner, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIntValidator(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIntValidator[] = {{736, 2, 1}};


static PyMethodDef methods_KIntValidator[] = {
    {SIP_MLNAME_CAST(sipName_base), meth_KIntValidator_base, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_bottom), meth_KIntValidator_bottom, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fixup), meth_KIntValidator_fixup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBase), meth_KIntValidator_setBase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_KIntValidator_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_top), meth_KIntValidator_top, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_KIntValidator_validate, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KIntValidator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIntValidator,
        {0}
    },
    {
        sipNameNr_KIntValidator,
        {0, 0, 1},
        7, methods_KIntValidator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIntValidator,
    0,
    init_type_KIntValidator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIntValidator,
    0,
    0,
    0,
    release_KIntValidator,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIntValidator::staticMetaObject,
    0,
    0
};

#line 170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/knuminput.sip"
#include <knuminput.h>
#line 42332 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 42336 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 42339 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocalizedstring.sip"
#include <klocalizedstring.h>
#line 42342 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42345 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 42348 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 42351 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42354 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 1465 "/usr/share/python3-sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 42357 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 42360 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 42363 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 42366 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42369 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42372 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42375 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42378 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42381 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42384 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42387 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42390 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42393 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42396 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42399 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 42402 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42405 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42408 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 42411 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42414 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 42417 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 42420 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 42423 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 42426 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 42429 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 42432 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 42435 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 42438 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 42441 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 42444 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 42447 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 42450 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 42453 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42456 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 42459 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42462 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42465 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42468 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42471 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42474 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42477 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42480 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 42483 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 42486 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 42489 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 42492 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42495 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 42498 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 42501 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 42504 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42507 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 42510 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 42513 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 42516 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 42519 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 42522 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42525 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 42528 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42531 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 42534 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 42537 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 42540 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 42543 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKIntSpinBox : public KIntSpinBox
{
public:
    sipKIntSpinBox(QWidget*);
    sipKIntSpinBox(int,int,int,int,QWidget*,int);
    virtual ~sipKIntSpinBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    QAbstractSpinBox::StepEnabled stepEnabled() const;
    void showEvent(QShowEvent*);
    void paintEvent(QPaintEvent*);
    void timerEvent(QTimerEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void wheelEvent(QWheelEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void resizeEvent(QResizeEvent*);
    void clear();
    void stepBy(int);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    bool event(QEvent*);
    void fixup(QString&) const;
    QValidator::State validate(QString&,int&) const;
    int valueFromText(const QString&) const;
    QString textFromValue(int) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIntSpinBox(const sipKIntSpinBox &);
    sipKIntSpinBox &operator = (const sipKIntSpinBox &);

    char sipPyMethods[56];
};

sipKIntSpinBox::sipKIntSpinBox(QWidget*a0): KIntSpinBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIntSpinBox::sipKIntSpinBox(int a0,int a1,int a2,int a3,QWidget*a4,int a5): KIntSpinBox(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIntSpinBox::~sipKIntSpinBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIntSpinBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KIntSpinBox);
}

int sipKIntSpinBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIntSpinBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KIntSpinBox,_c,_id,_a);

    return _id;
}

void *sipKIntSpinBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KIntSpinBox, _clname)) ? this : KIntSpinBox::qt_metacast(_clname);
}

void sipKIntSpinBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIntSpinBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIntSpinBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIntSpinBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIntSpinBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIntSpinBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIntSpinBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIntSpinBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KIntSpinBox::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIntSpinBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KIntSpinBox::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KIntSpinBox::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KIntSpinBox::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KIntSpinBox::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIntSpinBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KIntSpinBox::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KIntSpinBox::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIntSpinBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KIntSpinBox::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KIntSpinBox::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KIntSpinBox::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KIntSpinBox::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KIntSpinBox::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KIntSpinBox::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KIntSpinBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KIntSpinBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KIntSpinBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KIntSpinBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KIntSpinBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKIntSpinBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KIntSpinBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIntSpinBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KIntSpinBox::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KIntSpinBox::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIntSpinBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KIntSpinBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

QVariant sipKIntSpinBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KIntSpinBox::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QAbstractSpinBox::StepEnabled sipKIntSpinBox::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return KIntSpinBox::stepEnabled();

    typedef QAbstractSpinBox::StepEnabled (*sipVH_QtGui_220)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_220)(sipModuleAPI_kdeui_QtGui->em_virthandlers[220]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIntSpinBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KIntSpinBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KIntSpinBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KIntSpinBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KIntSpinBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KIntSpinBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KIntSpinBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KIntSpinBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KIntSpinBox::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KIntSpinBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KIntSpinBox::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KIntSpinBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KIntSpinBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KIntSpinBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KIntSpinBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KIntSpinBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KIntSpinBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        KIntSpinBox::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIntSpinBox::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
        KIntSpinBox::stepBy(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_kdeui_QtCore->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QSize sipKIntSpinBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KIntSpinBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKIntSpinBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KIntSpinBox::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKIntSpinBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIntSpinBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntSpinBox::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        KIntSpinBox::fixup(a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef void (*sipVH_QtGui_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_33)(sipModuleAPI_kdeui_QtGui->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef void (*sipVH_QtGui_34)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

        ((sipVH_QtGui_34)(sipModuleAPI_kdeui_QtGui->em_virthandlers[34]))(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    KIntSpinBox::fixup(a0);
}

QValidator::State sipKIntSpinBox::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return KIntSpinBox::validate(a0,a1);

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        typedef QValidator::State (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_29)(sipModuleAPI_kdeui_QtGui->em_virthandlers[29]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        typedef QValidator::State (*sipVH_QtGui_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

        return ((sipVH_QtGui_30)(sipModuleAPI_kdeui_QtGui->em_virthandlers[30]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    return KIntSpinBox::validate(a0,a1);
}

int sipKIntSpinBox::valueFromText(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_valueFromText);

    if (!sipMeth)
        return KIntSpinBox::valueFromText(a0);

    typedef int (*sipVH_QtGui_112)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtGui_112)(sipModuleAPI_kdeui_QtGui->em_virthandlers[112]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipKIntSpinBox::textFromValue(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_textFromValue);

    if (!sipMeth)
        return KIntSpinBox::textFromValue(a0);

    typedef QString (*sipVH_QtGui_111)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_111)(sipModuleAPI_kdeui_QtGui->em_virthandlers[111]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KIntSpinBox_setBase(PyObject *, PyObject *);}
static PyObject *meth_KIntSpinBox_setBase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KIntSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIntSpinBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBase(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_KIntSpinBox, sipName_setBase, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntSpinBox_base(PyObject *, PyObject *);}
static PyObject *meth_KIntSpinBox_base(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntSpinBox, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->base();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntSpinBox, sipName_base, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntSpinBox_setEditFocus(PyObject *, PyObject *);}
static PyObject *meth_KIntSpinBox_setEditFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KIntSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KIntSpinBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEditFocus(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_KIntSpinBox, sipName_setEditFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntSpinBox_setSuffix(PyObject *, PyObject *);}
static PyObject *meth_KIntSpinBox_setSuffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KLocalizedString* a0;
        KIntSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIntSpinBox, &sipCpp, sipType_KLocalizedString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSuffix(*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_KIntSpinBox, sipName_setSuffix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntSpinBox_textFromValue(PyObject *, PyObject *);}
static PyObject *meth_KIntSpinBox_textFromValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const KIntSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KIntSpinBox, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->KIntSpinBox::textFromValue(a0) : sipCpp->textFromValue(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntSpinBox, sipName_textFromValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntSpinBox_valueFromText(PyObject *, PyObject *);}
static PyObject *meth_KIntSpinBox_valueFromText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const KIntSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KIntSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KIntSpinBox::valueFromText(*a0) : sipCpp->valueFromText(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntSpinBox, sipName_valueFromText, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KIntSpinBox(void *, const sipTypeDef *);}
static void *cast_KIntSpinBox(void *sipCppV, const sipTypeDef *targetType)
{
    KIntSpinBox *sipCpp = reinterpret_cast<KIntSpinBox *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIntSpinBox(void *, int);}
static void release_KIntSpinBox(void *sipCppV,int)
{
    KIntSpinBox *sipCpp = reinterpret_cast<KIntSpinBox *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIntSpinBox(sipSimpleWrapper *);}
static void dealloc_KIntSpinBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIntSpinBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIntSpinBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KIntSpinBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIntSpinBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKIntSpinBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIntSpinBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;
        QWidget* a4;
        int a5 = 10;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiiiJH|i", &a0, &a1, &a2, &a3, sipType_QWidget, &a4, sipOwner, &a5))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIntSpinBox(a0,a1,a2,a3,a4,a5);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIntSpinBox[] = {{458, 2, 1}};


static PyMethodDef methods_KIntSpinBox[] = {
    {SIP_MLNAME_CAST(sipName_base), meth_KIntSpinBox_base, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBase), meth_KIntSpinBox_setBase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditFocus), meth_KIntSpinBox_setEditFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSuffix), meth_KIntSpinBox_setSuffix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_textFromValue), meth_KIntSpinBox_textFromValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_valueFromText), meth_KIntSpinBox_valueFromText, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KIntSpinBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIntSpinBox,
        {0}
    },
    {
        sipNameNr_KIntSpinBox,
        {0, 0, 1},
        6, methods_KIntSpinBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIntSpinBox,
    0,
    init_type_KIntSpinBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIntSpinBox,
    0,
    0,
    0,
    release_KIntSpinBox,
    cast_KIntSpinBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIntSpinBox::staticMetaObject,
    0,
    0
};

#line 113 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/knuminput.sip"
#include <knuminput.h>
#line 43943 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 43947 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/knuminput.sip"
#include <knuminput.h>
#line 43950 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 43953 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 43956 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 43959 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43962 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qslider.sip"
#include <qslider.h>
#line 43965 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43968 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 43971 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43974 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43977 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 43980 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 43983 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43986 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 43989 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 43992 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 43995 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 43998 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 44001 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 44004 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 44007 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 44010 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 44013 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 44016 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44019 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 44022 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 44025 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44028 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44031 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44034 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44037 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44040 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44043 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44046 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44049 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44052 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44055 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44058 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44061 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44064 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44067 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44070 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44073 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44076 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44079 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 44082 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 44085 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 44088 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 44091 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 44094 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 44097 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 44100 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44103 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 44106 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 44109 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 44112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 44115 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 44118 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44121 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 44127 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 44130 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 44133 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 44136 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 44139 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44142 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKDoubleNumInput : public KDoubleNumInput
{
public:
    sipKDoubleNumInput(QWidget*);
    sipKDoubleNumInput(double,double,double,QWidget*,double,int);
    sipKDoubleNumInput(KNumInput*,double,double,double,QWidget*,double,int);
    virtual ~sipKDoubleNumInput();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QSize sizeHint() const;
    void doLayout();
    QSize minimumSizeHint() const;
    void setLabel(const QString&,Qt::Alignment);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDoubleNumInput(const sipKDoubleNumInput &);
    sipKDoubleNumInput &operator = (const sipKDoubleNumInput &);

    char sipPyMethods[49];
};

sipKDoubleNumInput::sipKDoubleNumInput(QWidget*a0): KDoubleNumInput(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDoubleNumInput::sipKDoubleNumInput(double a0,double a1,double a2,QWidget*a3,double a4,int a5): KDoubleNumInput(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDoubleNumInput::sipKDoubleNumInput(KNumInput*a0,double a1,double a2,double a3,QWidget*a4,double a5,int a6): KDoubleNumInput(a0,a1,a2,a3,a4,a5,a6), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDoubleNumInput::~sipKDoubleNumInput()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKDoubleNumInput::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDoubleNumInput);
}

int sipKDoubleNumInput::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KDoubleNumInput::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDoubleNumInput,_c,_id,_a);

    return _id;
}

void *sipKDoubleNumInput::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDoubleNumInput, _clname)) ? this : KDoubleNumInput::qt_metacast(_clname);
}

void sipKDoubleNumInput::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KDoubleNumInput::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KDoubleNumInput::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDoubleNumInput::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KDoubleNumInput::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDoubleNumInput::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KDoubleNumInput::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDoubleNumInput::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KDoubleNumInput::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KDoubleNumInput::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KDoubleNumInput::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KDoubleNumInput::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDoubleNumInput::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KDoubleNumInput::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKDoubleNumInput::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KDoubleNumInput::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDoubleNumInput::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KDoubleNumInput::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KDoubleNumInput::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDoubleNumInput::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KDoubleNumInput::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKDoubleNumInput::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KDoubleNumInput::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDoubleNumInput::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KDoubleNumInput::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDoubleNumInput::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KDoubleNumInput::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDoubleNumInput::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KDoubleNumInput::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKDoubleNumInput::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KDoubleNumInput::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDoubleNumInput::doLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_doLayout);

    if (!sipMeth)
    {
        KDoubleNumInput::doLayout();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKDoubleNumInput::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KDoubleNumInput::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDoubleNumInput::setLabel(const QString& a0,Qt::Alignment a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setLabel);

    if (!sipMeth)
    {
        KDoubleNumInput::setLabel(a0,a1);
        return;
    }

    extern void sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,Qt::Alignment);

    sipVH_kdeui_62(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KDoubleNumInput_value(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_suffix(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_suffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->suffix());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_suffix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_prefix(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_prefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->prefix());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_prefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_decimals(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_decimals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->decimals();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_decimals, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_specialValueText(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_specialValueText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->specialValueText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_specialValueText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setRange(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        double a1;
        double a2 = 1;
        bool a3 = 1;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd|db", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRange(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_setRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setSliderEnabled(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setSliderEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSliderEnabled(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_KDoubleNumInput, sipName_setSliderEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setMinimum(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimum(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_KDoubleNumInput, sipName_setMinimum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_minimum(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_minimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minimum();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_minimum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setMaximum(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximum(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_KDoubleNumInput, sipName_setMaximum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_maximum(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_maximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maximum();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_maximum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_singleStep(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_singleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->singleStep();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_singleStep, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setSingleStep(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setSingleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSingleStep(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_KDoubleNumInput, sipName_setSingleStep, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setDecimals(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setDecimals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDecimals(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_KDoubleNumInput, sipName_setDecimals, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setPrecision(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setPrecision(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrecision(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_KDoubleNumInput, sipName_setPrecision, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_referencePoint(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_referencePoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->referencePoint();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_referencePoint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_relativeValue(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_relativeValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->relativeValue();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_relativeValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setSpecialValueText(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setSpecialValueText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDoubleNumInput, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpecialValueText(*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_KDoubleNumInput, sipName_setSpecialValueText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setLabel(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        Qt::Alignment a1def = Qt::AlignLeft|Qt::AlignTop;
        Qt::Alignment* a1 = &a1def;
        int a1State = 0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KDoubleNumInput, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_Alignment, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDoubleNumInput::setLabel(*a0,*a1) : sipCpp->setLabel(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_setLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KDoubleNumInput::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_KDoubleNumInput, sipName_minimumSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_exponentRatio(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_exponentRatio(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exponentRatio();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_exponentRatio, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setExponentRatio(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setExponentRatio(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setExponentRatio(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_KDoubleNumInput, sipName_setExponentRatio, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setValue(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setRelativeValue(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setRelativeValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRelativeValue(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_KDoubleNumInput, sipName_setRelativeValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setReferencePoint(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setReferencePoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KDoubleNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReferencePoint(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_KDoubleNumInput, sipName_setReferencePoint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setSuffix(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setSuffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDoubleNumInput, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSuffix(*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_KDoubleNumInput, sipName_setSuffix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_setPrefix(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_setPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDoubleNumInput, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrefix(*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_KDoubleNumInput, sipName_setPrefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_doLayout(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_doLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDoubleNumInput, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDoubleNumInput::doLayout() : sipCpp->doLayout());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_doLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDoubleNumInput_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDoubleNumInput_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        KDoubleNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDoubleNumInput, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KDoubleNumInput::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDoubleNumInput, sipName_resizeEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KDoubleNumInput(void *, const sipTypeDef *);}
static void *cast_KDoubleNumInput(void *sipCppV, const sipTypeDef *targetType)
{
    KDoubleNumInput *sipCpp = reinterpret_cast<KDoubleNumInput *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDoubleNumInput(void *, int);}
static void release_KDoubleNumInput(void *sipCppV,int)
{
    KDoubleNumInput *sipCpp = reinterpret_cast<KDoubleNumInput *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDoubleNumInput(sipSimpleWrapper *);}
static void dealloc_KDoubleNumInput(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKDoubleNumInput *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KDoubleNumInput(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KDoubleNumInput(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDoubleNumInput(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDoubleNumInput *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDoubleNumInput(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        double a0;
        double a1;
        double a2;
        QWidget* a3 = 0;
        double a4 = 0.01;
        int a5 = 2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "ddd|JHdi", &a0, &a1, &a2, sipType_QWidget, &a3, sipOwner, &a4, &a5))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDoubleNumInput(a0,a1,a2,a3,a4,a5);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KNumInput* a0;
        double a1;
        double a2;
        double a3;
        QWidget* a4 = 0;
        double a5 = 0.02;
        int a6 = 2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8ddd|JHdi", sipType_KNumInput, &a0, &a1, &a2, &a3, sipType_QWidget, &a4, sipOwner, &a5, &a6))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDoubleNumInput(a0,a1,a2,a3,a4,a5,a6);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDoubleNumInput[] = {{211, 255, 1}};


static PyMethodDef methods_KDoubleNumInput[] = {
    {SIP_MLNAME_CAST(sipName_decimals), meth_KDoubleNumInput_decimals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doLayout), meth_KDoubleNumInput_doLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exponentRatio), meth_KDoubleNumInput_exponentRatio, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximum), meth_KDoubleNumInput_maximum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimum), meth_KDoubleNumInput_minimum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KDoubleNumInput_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prefix), meth_KDoubleNumInput_prefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_referencePoint), meth_KDoubleNumInput_referencePoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_relativeValue), meth_KDoubleNumInput_relativeValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KDoubleNumInput_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDecimals), meth_KDoubleNumInput_setDecimals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setExponentRatio), meth_KDoubleNumInput_setExponentRatio, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_KDoubleNumInput_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximum), meth_KDoubleNumInput_setMaximum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimum), meth_KDoubleNumInput_setMinimum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrecision), meth_KDoubleNumInput_setPrecision, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrefix), meth_KDoubleNumInput_setPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_KDoubleNumInput_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReferencePoint), meth_KDoubleNumInput_setReferencePoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRelativeValue), meth_KDoubleNumInput_setRelativeValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSingleStep), meth_KDoubleNumInput_setSingleStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSliderEnabled), meth_KDoubleNumInput_setSliderEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpecialValueText), meth_KDoubleNumInput_setSpecialValueText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSuffix), meth_KDoubleNumInput_setSuffix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KDoubleNumInput_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleStep), meth_KDoubleNumInput_singleStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_specialValueText), meth_KDoubleNumInput_specialValueText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suffix), meth_KDoubleNumInput_suffix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KDoubleNumInput_value, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDoubleNumInput[] = {
    {"relativeValueChanged(double)", 0, 0, 0},
    {"valueChanged(double)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KDoubleNumInput = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDoubleNumInput,
        {0}
    },
    {
        sipNameNr_KDoubleNumInput,
        {0, 0, 1},
        29, methods_KDoubleNumInput,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDoubleNumInput,
    0,
    init_type_KDoubleNumInput,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDoubleNumInput,
    0,
    0,
    0,
    release_KDoubleNumInput,
    cast_KDoubleNumInput,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KDoubleNumInput::staticMetaObject,
    0,
    signals_KDoubleNumInput,
};

#line 57 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/knuminput.sip"
#include <knuminput.h>
#line 46124 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 46128 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdeui/knuminput.sip"
#include <knuminput.h>
#line 46131 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46134 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qspinbox.sip"
#include <qspinbox.h>
#line 46137 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 46140 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/klocalizedstring.sip"
#include <klocalizedstring.h>
#line 46143 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 46146 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46149 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qslider.sip"
#include <qslider.h>
#line 46152 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46155 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 46158 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46161 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46164 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 46167 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 46170 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 46173 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 46176 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 46179 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 46182 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 46185 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 46188 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 46191 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 46194 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 46197 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 46200 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 46203 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46206 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 46209 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 46212 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46215 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46218 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46221 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46224 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46227 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46230 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46233 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46236 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46239 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46242 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46245 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46248 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46251 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46254 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46257 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46260 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46263 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 46266 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 46269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 46272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 46275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 46278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 46281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 46284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 46287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 46293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 46296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 46299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 46302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 46305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 46314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 46317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 46320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 46323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 46326 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 46329 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/kdeui/sipkdeuipart3.cpp"


class sipKIntNumInput : public KIntNumInput
{
public:
    sipKIntNumInput(QWidget*);
    sipKIntNumInput(int,QWidget*,int);
    sipKIntNumInput(KNumInput*,int,QWidget*,int);
    virtual ~sipKIntNumInput();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const QFont&);
    void paletteChange(const QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QSize sizeHint() const;
    void doLayout();
    QSize minimumSizeHint() const;
    void setLabel(const QString&,Qt::Alignment);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKIntNumInput(const sipKIntNumInput &);
    sipKIntNumInput &operator = (const sipKIntNumInput &);

    char sipPyMethods[49];
};

sipKIntNumInput::sipKIntNumInput(QWidget*a0): KIntNumInput(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIntNumInput::sipKIntNumInput(int a0,QWidget*a1,int a2): KIntNumInput(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIntNumInput::sipKIntNumInput(KNumInput*a0,int a1,QWidget*a2,int a3): KIntNumInput(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKIntNumInput::~sipKIntNumInput()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipKIntNumInput::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KIntNumInput);
}

int sipKIntNumInput::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KIntNumInput::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KIntNumInput,_c,_id,_a);

    return _id;
}

void *sipKIntNumInput::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KIntNumInput, _clname)) ? this : KIntNumInput::qt_metacast(_clname);
}

void sipKIntNumInput::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        KIntNumInput::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        KIntNumInput::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    ((sipVH_QtCore_24)(sipModuleAPI_kdeui_QtCore->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        KIntNumInput::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        KIntNumInput::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_kdeui_QtCore->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        KIntNumInput::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_kdeui_QtCore->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIntNumInput::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return KIntNumInput::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_18)(sipModuleAPI_kdeui_QtCore->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKIntNumInput::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
        KIntNumInput::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIntNumInput::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
        KIntNumInput::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
        KIntNumInput::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_kdeui_QtGui->em_virthandlers[9]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
        KIntNumInput::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_kdeui_QtGui->em_virthandlers[10]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
        KIntNumInput::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIntNumInput::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return KIntNumInput::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_kdeui_QtGui->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QVariant sipKIntNumInput::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return KIntNumInput::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_kdeui_QtGui->em_virthandlers[12]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        KIntNumInput::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    ((sipVH_QtGui_13)(sipModuleAPI_kdeui_QtGui->em_virthandlers[13]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIntNumInput::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return KIntNumInput::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_kdeui_QtGui->em_virthandlers[14]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        KIntNumInput::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        KIntNumInput::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_kdeui_QtGui->em_virthandlers[0]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        KIntNumInput::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_1)(sipModuleAPI_kdeui_QtGui->em_virthandlers[1]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        KIntNumInput::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    ((sipVH_QtGui_15)(sipModuleAPI_kdeui_QtGui->em_virthandlers[15]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        KIntNumInput::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    ((sipVH_QtGui_16)(sipModuleAPI_kdeui_QtGui->em_virthandlers[16]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        KIntNumInput::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    ((sipVH_QtGui_17)(sipModuleAPI_kdeui_QtGui->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        KIntNumInput::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    ((sipVH_QtGui_18)(sipModuleAPI_kdeui_QtGui->em_virthandlers[18]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        KIntNumInput::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    ((sipVH_QtGui_19)(sipModuleAPI_kdeui_QtGui->em_virthandlers[19]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        KIntNumInput::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_20)(sipModuleAPI_kdeui_QtGui->em_virthandlers[20]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        KIntNumInput::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    ((sipVH_QtGui_21)(sipModuleAPI_kdeui_QtGui->em_virthandlers[21]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        KIntNumInput::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    ((sipVH_QtGui_22)(sipModuleAPI_kdeui_QtGui->em_virthandlers[22]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        KIntNumInput::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_kdeui_QtGui->em_virthandlers[2]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        KIntNumInput::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_23)(sipModuleAPI_kdeui_QtGui->em_virthandlers[23]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        KIntNumInput::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_kdeui_QtGui->em_virthandlers[3]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        KIntNumInput::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        KIntNumInput::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_17)(sipModuleAPI_kdeui_QtCore->em_virthandlers[17]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        KIntNumInput::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        KIntNumInput::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_24)(sipModuleAPI_kdeui_QtGui->em_virthandlers[24]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        KIntNumInput::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        KIntNumInput::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_25)(sipModuleAPI_kdeui_QtGui->em_virthandlers[25]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        KIntNumInput::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_kdeui_QtGui->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        KIntNumInput::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        KIntNumInput::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        KIntNumInput::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        KIntNumInput::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_26)(sipModuleAPI_kdeui_QtGui->em_virthandlers[26]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKIntNumInput::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return KIntNumInput::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_kdeui_QtCore->em_virthandlers[5]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QPaintEngine* sipKIntNumInput::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return KIntNumInput::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_kdeui_QtGui->em_virthandlers[27]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKIntNumInput::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return KIntNumInput::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_28)(sipModuleAPI_kdeui_QtGui->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKIntNumInput::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        KIntNumInput::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    ((sipVH_QtGui_6)(sipModuleAPI_kdeui_QtGui->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKIntNumInput::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return KIntNumInput::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_kdeui_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKIntNumInput::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return KIntNumInput::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIntNumInput::doLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_doLayout);

    if (!sipMeth)
    {
        KIntNumInput::doLayout();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_kdeui_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QSize sipKIntNumInput::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return KIntNumInput::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_kdeui_QtGui->em_virthandlers[4]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKIntNumInput::setLabel(const QString& a0,Qt::Alignment a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setLabel);

    if (!sipMeth)
    {
        KIntNumInput::setLabel(a0,a1);
        return;
    }

    extern void sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,Qt::Alignment);

    sipVH_kdeui_62(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KIntNumInput_value(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->value();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_value, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_relativeValue(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_relativeValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->relativeValue();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_relativeValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_referencePoint(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_referencePoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->referencePoint();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_referencePoint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_suffix(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_suffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->suffix());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_suffix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_prefix(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_prefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->prefix());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_prefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_specialValueText(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_specialValueText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->specialValueText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_specialValueText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setRange(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2 = 1;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|i", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRange(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        bool a3;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiib", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRange(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_setRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setSliderEnabled(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setSliderEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSliderEnabled(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_KIntNumInput, sipName_setSliderEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setMinimum(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimum(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_KIntNumInput, sipName_setMinimum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_minimum(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_minimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minimum();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_minimum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setMaximum(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximum(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_KIntNumInput, sipName_setMaximum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_maximum(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_maximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maximum();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_maximum, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_singleStep(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_singleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->singleStep();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_singleStep, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setSingleStep(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setSingleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSingleStep(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_KIntNumInput, sipName_setSingleStep, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setSpecialValueText(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setSpecialValueText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIntNumInput, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSpecialValueText(*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_KIntNumInput, sipName_setSpecialValueText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setLabel(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        Qt::Alignment a1def = Qt::AlignLeft|Qt::AlignTop;
        Qt::Alignment* a1 = &a1def;
        int a1State = 0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KIntNumInput, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_Alignment, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntNumInput::setLabel(*a0,*a1) : sipCpp->setLabel(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_setLabel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize((sipSelfWasArg ? sipCpp->KIntNumInput::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_KIntNumInput, sipName_minimumSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setValue(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_setValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setRelativeValue(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setRelativeValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRelativeValue(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_KIntNumInput, sipName_setRelativeValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setReferencePoint(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setReferencePoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReferencePoint(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_KIntNumInput, sipName_setReferencePoint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setSuffix(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setSuffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIntNumInput, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSuffix(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KLocalizedString* a0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KIntNumInput, &sipCpp, sipType_KLocalizedString, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSuffix(*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_KIntNumInput, sipName_setSuffix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setPrefix(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KIntNumInput, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrefix(*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_KIntNumInput, sipName_setPrefix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_setEditFocus(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_setEditFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KIntNumInput, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEditFocus(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_KIntNumInput, sipName_setEditFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_spinBox(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_spinBox(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            QSpinBox*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->spinBox();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QSpinBox,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_spinBox, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_doLayout(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_doLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KIntNumInput, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntNumInput::doLayout() : sipCpp->doLayout());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_doLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KIntNumInput_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KIntNumInput_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        KIntNumInput *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KIntNumInput, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KIntNumInput::resizeEvent(a0) : sipCpp->resizeEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KIntNumInput, sipName_resizeEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its multiple inheritance hierarchy. */
extern "C" {static void *cast_KIntNumInput(void *, const sipTypeDef *);}
static void *cast_KIntNumInput(void *sipCppV, const sipTypeDef *targetType)
{
    KIntNumInput *sipCpp = reinterpret_cast<KIntNumInput *>(sipCppV);

    if (targetType == sipType_QPaintDevice)
        return static_cast<QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KIntNumInput(void *, int);}
static void release_KIntNumInput(void *sipCppV,int)
{
    KIntNumInput *sipCpp = reinterpret_cast<KIntNumInput *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KIntNumInput(sipSimpleWrapper *);}
static void dealloc_KIntNumInput(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKIntNumInput *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KIntNumInput(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_KIntNumInput(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KIntNumInput(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKIntNumInput *sipCpp = 0;

    {
        QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIntNumInput(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        int a0;
        QWidget* a1 = 0;
        int a2 = 10;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i|JHi", &a0, sipType_QWidget, &a1, sipOwner, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIntNumInput(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KNumInput* a0;
        int a1;
        QWidget* a2;
        int a3 = 10;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8iJH|i", sipType_KNumInput, &a0, &a1, sipType_QWidget, &a2, sipOwner, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKIntNumInput(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KIntNumInput[] = {{211, 255, 1}};


static PyMethodDef methods_KIntNumInput[] = {
    {SIP_MLNAME_CAST(sipName_doLayout), meth_KIntNumInput_doLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximum), meth_KIntNumInput_maximum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimum), meth_KIntNumInput_minimum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KIntNumInput_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_prefix), meth_KIntNumInput_prefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_referencePoint), meth_KIntNumInput_referencePoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_relativeValue), meth_KIntNumInput_relativeValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KIntNumInput_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditFocus), meth_KIntNumInput_setEditFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_KIntNumInput_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximum), meth_KIntNumInput_setMaximum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimum), meth_KIntNumInput_setMinimum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPrefix), meth_KIntNumInput_setPrefix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRange), meth_KIntNumInput_setRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReferencePoint), meth_KIntNumInput_setReferencePoint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRelativeValue), meth_KIntNumInput_setRelativeValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSingleStep), meth_KIntNumInput_setSingleStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSliderEnabled), meth_KIntNumInput_setSliderEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpecialValueText), meth_KIntNumInput_setSpecialValueText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSuffix), meth_KIntNumInput_setSuffix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setValue), meth_KIntNumInput_setValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleStep), meth_KIntNumInput_singleStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_specialValueText), meth_KIntNumInput_specialValueText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_spinBox), meth_KIntNumInput_spinBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_suffix), meth_KIntNumInput_suffix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_KIntNumInput_value, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KIntNumInput[] = {
    {"relativeValueChanged(double)", 0, 0, 0},
    {"valueChanged(int)", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_kdeui_KIntNumInput = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KIntNumInput,
        {0}
    },
    {
        sipNameNr_KIntNumInput,
        {0, 0, 1},
        26, methods_KIntNumInput,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KIntNumInput,
    0,
    init_type_KIntNumInput,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KIntNumInput,
    0,
    0,
    0,
    release_KIntNumInput,
    cast_KIntNumInput,
    0,
    0,
    0,
    0,
    0,
    0
},
    &KIntNumInput::staticMetaObject,
    0,
    signals_KIntNumInput,
};
