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

#include "sipAPIkdeui.h"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 12 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 16 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static int slot_KDialog_ButtonPopupModes___bool__(PyObject *);}
static int slot_KDialog_ButtonPopupModes___bool__(PyObject *sipSelf)
{
     ::KDialog::ButtonPopupModes *sipCpp = reinterpret_cast< ::KDialog::ButtonPopupModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonPopupModes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::ButtonPopupModes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 38 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDialog_ButtonPopupModes___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_ButtonPopupModes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KDialog::ButtonPopupModes *sipCpp = reinterpret_cast< ::KDialog::ButtonPopupModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonPopupModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KDialog::ButtonPopupModes* a0;
        int a0State = 0;

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

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::ButtonPopupModes::Int() != a0->operator KDialog::ButtonPopupModes::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 72 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KDialog::ButtonPopupModes *>(a0),sipType_KDialog_ButtonPopupModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KDialog_ButtonPopupModes___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_ButtonPopupModes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KDialog::ButtonPopupModes *sipCpp = reinterpret_cast< ::KDialog::ButtonPopupModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonPopupModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KDialog::ButtonPopupModes* a0;
        int a0State = 0;

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

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::ButtonPopupModes::Int() == a0->operator KDialog::ButtonPopupModes::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 112 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KDialog::ButtonPopupModes *>(a0),sipType_KDialog_ButtonPopupModes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KDialog::ButtonPopupModes *sipCpp = reinterpret_cast< ::KDialog::ButtonPopupModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonPopupModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::KDialog::ButtonPopupModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDialog_ButtonPopupModes, &a0, &a0State, &a1))
        {
             ::KDialog::ButtonPopupModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDialog::ButtonPopupModes((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_ButtonPopupModes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KDialog::ButtonPopupModes *sipCpp = reinterpret_cast< ::KDialog::ButtonPopupModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonPopupModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::KDialog::ButtonPopupModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDialog_ButtonPopupModes, &a0, &a0State, &a1))
        {
             ::KDialog::ButtonPopupModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDialog::ButtonPopupModes((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_ButtonPopupModes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KDialog::ButtonPopupModes *sipCpp = reinterpret_cast< ::KDialog::ButtonPopupModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonPopupModes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::KDialog::ButtonPopupModes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDialog_ButtonPopupModes, &a0, &a0State, &a1))
        {
             ::KDialog::ButtonPopupModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDialog::ButtonPopupModes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_ButtonPopupModes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KDialog_ButtonPopupModes___invert__(PyObject *);}
static PyObject *slot_KDialog_ButtonPopupModes___invert__(PyObject *sipSelf)
{
     ::KDialog::ButtonPopupModes *sipCpp = reinterpret_cast< ::KDialog::ButtonPopupModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonPopupModes));

    if (!sipCpp)
        return 0;


    {
        {
             ::KDialog::ButtonPopupModes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDialog::ButtonPopupModes(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KDialog_ButtonPopupModes___int__(PyObject *);}
static PyObject *slot_KDialog_ButtonPopupModes___int__(PyObject *sipSelf)
{
     ::KDialog::ButtonPopupModes *sipCpp = reinterpret_cast< ::KDialog::ButtonPopupModes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonPopupModes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    delete reinterpret_cast< ::KDialog::ButtonPopupModes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KDialog_ButtonPopupModes(SIP_SSIZE_T);}
static void *array_KDialog_ButtonPopupModes(SIP_SSIZE_T sipNrElem)
{
    return new  ::KDialog::ButtonPopupModes[sipNrElem];
}


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


extern "C" {static void dealloc_KDialog_ButtonPopupModes(sipSimpleWrapper *);}
static void dealloc_KDialog_ButtonPopupModes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDialog_ButtonPopupModes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KDialog_ButtonPopupModes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDialog_ButtonPopupModes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KDialog::ButtonPopupModes *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::KDialog::ButtonPopupModes* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KDialog::ButtonPopupModes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDialog_ButtonPopupMode)) ||
            sipCanConvertToType(sipPy, sipType_KDialog_ButtonPopupModes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDialog_ButtonPopupMode)))
{
    *sipCppPtr = new KDialog::ButtonPopupModes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KDialog::ButtonPopupModes *>(sipConvertToType(sipPy, sipType_KDialog_ButtonPopupModes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDialog_ButtonPopupModes[] = {
    {(void *)slot_KDialog_ButtonPopupModes___bool__, bool_slot},
    {(void *)slot_KDialog_ButtonPopupModes___ne__, ne_slot},
    {(void *)slot_KDialog_ButtonPopupModes___eq__, eq_slot},
    {(void *)slot_KDialog_ButtonPopupModes___ixor__, ixor_slot},
    {(void *)slot_KDialog_ButtonPopupModes___xor__, xor_slot},
    {(void *)slot_KDialog_ButtonPopupModes___ior__, ior_slot},
    {(void *)slot_KDialog_ButtonPopupModes___or__, or_slot},
    {(void *)slot_KDialog_ButtonPopupModes___iand__, iand_slot},
    {(void *)slot_KDialog_ButtonPopupModes___and__, and_slot},
    {(void *)slot_KDialog_ButtonPopupModes___invert__, invert_slot},
    {(void *)slot_KDialog_ButtonPopupModes___int__, int_slot},
    {0, (sipPySlotType)0}
};


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


sipClassTypeDef sipTypeDef_kdeui_KDialog_ButtonPopupModes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDialog__ButtonPopupModes,
        {0},
        &plugin_KDialog_ButtonPopupModes
    },
    {
        sipNameNr_ButtonPopupModes,
        {86, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KDialog_ButtonPopupModes,
    init_type_KDialog_ButtonPopupModes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDialog_ButtonPopupModes,
    assign_KDialog_ButtonPopupModes,
    array_KDialog_ButtonPopupModes,
    copy_KDialog_ButtonPopupModes,
    release_KDialog_ButtonPopupModes,
    0,
    convertTo_KDialog_ButtonPopupModes,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static int slot_KDialog_ButtonCodes___bool__(PyObject *);}
static int slot_KDialog_ButtonCodes___bool__(PyObject *sipSelf)
{
     ::KDialog::ButtonCodes *sipCpp = reinterpret_cast< ::KDialog::ButtonCodes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonCodes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::ButtonCodes::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 618 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDialog_ButtonCodes___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_ButtonCodes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KDialog::ButtonCodes *sipCpp = reinterpret_cast< ::KDialog::ButtonCodes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonCodes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KDialog::ButtonCodes* a0;
        int a0State = 0;

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

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::ButtonCodes::Int() != a0->operator KDialog::ButtonCodes::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 652 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KDialog::ButtonCodes *>(a0),sipType_KDialog_ButtonCodes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KDialog_ButtonCodes___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDialog_ButtonCodes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KDialog::ButtonCodes *sipCpp = reinterpret_cast< ::KDialog::ButtonCodes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonCodes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KDialog::ButtonCodes* a0;
        int a0State = 0;

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

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDialog::ButtonCodes::Int() == a0->operator KDialog::ButtonCodes::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KDialog::ButtonCodes *>(a0),sipType_KDialog_ButtonCodes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KDialog::ButtonCodes *sipCpp = reinterpret_cast< ::KDialog::ButtonCodes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonCodes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::KDialog::ButtonCodes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDialog_ButtonCodes, &a0, &a0State, &a1))
        {
             ::KDialog::ButtonCodes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDialog::ButtonCodes((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_ButtonCodes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KDialog::ButtonCodes *sipCpp = reinterpret_cast< ::KDialog::ButtonCodes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonCodes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::KDialog::ButtonCodes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDialog_ButtonCodes, &a0, &a0State, &a1))
        {
             ::KDialog::ButtonCodes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDialog::ButtonCodes((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_ButtonCodes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KDialog::ButtonCodes *sipCpp = reinterpret_cast< ::KDialog::ButtonCodes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonCodes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::KDialog::ButtonCodes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDialog_ButtonCodes, &a0, &a0State, &a1))
        {
             ::KDialog::ButtonCodes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDialog::ButtonCodes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDialog_ButtonCodes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KDialog_ButtonCodes___invert__(PyObject *);}
static PyObject *slot_KDialog_ButtonCodes___invert__(PyObject *sipSelf)
{
     ::KDialog::ButtonCodes *sipCpp = reinterpret_cast< ::KDialog::ButtonCodes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonCodes));

    if (!sipCpp)
        return 0;


    {
        {
             ::KDialog::ButtonCodes*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDialog::ButtonCodes(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KDialog_ButtonCodes___int__(PyObject *);}
static PyObject *slot_KDialog_ButtonCodes___int__(PyObject *sipSelf)
{
     ::KDialog::ButtonCodes *sipCpp = reinterpret_cast< ::KDialog::ButtonCodes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDialog_ButtonCodes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    delete reinterpret_cast< ::KDialog::ButtonCodes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KDialog_ButtonCodes(SIP_SSIZE_T);}
static void *array_KDialog_ButtonCodes(SIP_SSIZE_T sipNrElem)
{
    return new  ::KDialog::ButtonCodes[sipNrElem];
}


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


extern "C" {static void dealloc_KDialog_ButtonCodes(sipSimpleWrapper *);}
static void dealloc_KDialog_ButtonCodes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDialog_ButtonCodes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KDialog_ButtonCodes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDialog_ButtonCodes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KDialog::ButtonCodes *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::KDialog::ButtonCodes* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KDialog::ButtonCodes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDialog_ButtonCode)) ||
            sipCanConvertToType(sipPy, sipType_KDialog_ButtonCodes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDialog_ButtonCode)))
{
    *sipCppPtr = new KDialog::ButtonCodes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KDialog::ButtonCodes *>(sipConvertToType(sipPy, sipType_KDialog_ButtonCodes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 1093 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDialog_ButtonCodes[] = {
    {(void *)slot_KDialog_ButtonCodes___bool__, bool_slot},
    {(void *)slot_KDialog_ButtonCodes___ne__, ne_slot},
    {(void *)slot_KDialog_ButtonCodes___eq__, eq_slot},
    {(void *)slot_KDialog_ButtonCodes___ixor__, ixor_slot},
    {(void *)slot_KDialog_ButtonCodes___xor__, xor_slot},
    {(void *)slot_KDialog_ButtonCodes___ior__, ior_slot},
    {(void *)slot_KDialog_ButtonCodes___or__, or_slot},
    {(void *)slot_KDialog_ButtonCodes___iand__, iand_slot},
    {(void *)slot_KDialog_ButtonCodes___and__, and_slot},
    {(void *)slot_KDialog_ButtonCodes___invert__, invert_slot},
    {(void *)slot_KDialog_ButtonCodes___int__, int_slot},
    {0, (sipPySlotType)0}
};


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


sipClassTypeDef sipTypeDef_kdeui_KDialog_ButtonCodes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDialog__ButtonCodes,
        {0},
        &plugin_KDialog_ButtonCodes
    },
    {
        sipNameNr_ButtonCodes,
        {86, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_KDialog_ButtonCodes,
    init_type_KDialog_ButtonCodes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDialog_ButtonCodes,
    assign_KDialog_ButtonCodes,
    array_KDialog_ButtonCodes,
    copy_KDialog_ButtonCodes,
    release_KDialog_ButtonCodes,
    0,
    convertTo_KDialog_ButtonCodes,
    0,
    0,
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdescendantsproxymodel.sip"
#include <kdescendantsproxymodel.h>
#line 1172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1176 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1179 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1182 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1194 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 1197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1200 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1203 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1206 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1209 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1212 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 139 "/usr/share/sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 1215 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1218 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 1221 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 139 "/usr/share/sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 1224 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1227 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 1230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1245 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1248 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1254 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKDescendantsProxyModel : public  ::KDescendantsProxyModel
{
public:
    sipKDescendantsProxyModel( ::QObject*);
    virtual ~sipKDescendantsProxyModel();

    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 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;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void setSourceModel( ::QAbstractItemModel*);
     ::QModelIndex mapToSource(const  ::QModelIndex&) const;
     ::QModelIndex mapFromSource(const  ::QModelIndex&) const;
     ::QItemSelection mapSelectionToSource(const  ::QItemSelection&) const;
     ::QItemSelection mapSelectionFromSource(const  ::QItemSelection&) const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[40];
};

sipKDescendantsProxyModel::sipKDescendantsProxyModel( ::QObject*a0):  ::KDescendantsProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDescendantsProxyModel::~sipKDescendantsProxyModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKDescendantsProxyModel::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDescendantsProxyModel);
}

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

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

    return _id;
}

void *sipKDescendantsProxyModel::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDescendantsProxyModel, _clname)) ? this :  ::KDescendantsProxyModel::qt_metacast(_clname);
}

void sipKDescendantsProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KDescendantsProxyModel::revert();
        return;
    }

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

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

bool sipKDescendantsProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::submit();

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

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

 ::QSize sipKDescendantsProxyModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::span(a0);

    extern  ::QSize sipVH_kdeui_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

 ::QModelIndexList sipKDescendantsProxyModel::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[3]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::KDescendantsProxyModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_kdeui_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_kdeui_56(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QModelIndex sipKDescendantsProxyModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::buddy(a0);

    extern  ::QModelIndex sipVH_kdeui_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

void sipKDescendantsProxyModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KDescendantsProxyModel::sort(a0,a1);
        return;
    }

    extern void sipVH_kdeui_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

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

 ::Qt::ItemFlags sipKDescendantsProxyModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_kdeui_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

bool sipKDescendantsProxyModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::canFetchMore(a0);

    extern bool sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

void sipKDescendantsProxyModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KDescendantsProxyModel::fetchMore(a0);
        return;
    }

    extern void sipVH_kdeui_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

bool sipKDescendantsProxyModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::removeColumns(a0,a1,a2);

    extern bool sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

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

bool sipKDescendantsProxyModel::removeRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::removeRows(a0,a1,a2);

    extern bool sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

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

bool sipKDescendantsProxyModel::insertColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::insertColumns(a0,a1,a2);

    extern bool sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

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

bool sipKDescendantsProxyModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::insertRows(a0,a1,a2);

    extern bool sipVH_kdeui_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

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

 ::Qt::DropActions sipKDescendantsProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_kdeui_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKDescendantsProxyModel::dropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_kdeui_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_kdeui_64(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QMimeData* sipKDescendantsProxyModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::mimeData(a0);

    extern  ::QMimeData* sipVH_kdeui_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

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

 ::QStringList sipKDescendantsProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::mimeTypes();

    extern  ::QStringList sipVH_kdeui_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

bool sipKDescendantsProxyModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::setItemData(a0,a1);

    extern bool sipVH_kdeui_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

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

QMap<int, ::QVariant> sipKDescendantsProxyModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_kdeui_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

bool sipKDescendantsProxyModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_kdeui_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_kdeui_69(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QVariant sipKDescendantsProxyModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_kdeui_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

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

bool sipKDescendantsProxyModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::setData(a0,a1,a2);

    extern bool sipVH_kdeui_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

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

 ::QVariant sipKDescendantsProxyModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::data(a0,a1);

    extern  ::QVariant sipVH_kdeui_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

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

bool sipKDescendantsProxyModel::hasChildren(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::hasChildren(a0);

    extern bool sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

int sipKDescendantsProxyModel::columnCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::columnCount(a0);

    extern int sipVH_kdeui_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

int sipKDescendantsProxyModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::rowCount(a0);

    extern int sipVH_kdeui_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

 ::QModelIndex sipKDescendantsProxyModel::parent(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::parent(a0);

    extern  ::QModelIndex sipVH_kdeui_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

 ::QModelIndex sipKDescendantsProxyModel::index(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_kdeui_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipKDescendantsProxyModel::setSourceModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KDescendantsProxyModel::setSourceModel(a0);
        return;
    }

    extern void sipVH_kdeui_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

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

 ::QModelIndex sipKDescendantsProxyModel::mapToSource(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::mapToSource(a0);

    extern  ::QModelIndex sipVH_kdeui_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

 ::QModelIndex sipKDescendantsProxyModel::mapFromSource(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::mapFromSource(a0);

    extern  ::QModelIndex sipVH_kdeui_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

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

 ::QItemSelection sipKDescendantsProxyModel::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  ::KDescendantsProxyModel::mapSelectionToSource(a0);

    extern  ::QItemSelection sipVH_kdeui_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

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

 ::QItemSelection sipKDescendantsProxyModel::mapSelectionFromSource(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::KDescendantsProxyModel::mapSelectionFromSource(a0);

    extern  ::QItemSelection sipVH_kdeui_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

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


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

    {
         ::QAbstractItemModel* a0;
         ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::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_KDescendantsProxyModel, sipName_setSourceModel, NULL);

    return NULL;
}


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

    {
        const  ::QModelIndex* a0;
         ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRootIndex(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
         ::KDescendantsProxyModel *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const  ::KDescendantsProxyModel *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->displayAncestorData();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAncestorSeparator(*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_KDescendantsProxyModel, sipName_setAncestorSeparator, NULL);

    return NULL;
}


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

    {
        const  ::KDescendantsProxyModel *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const  ::QModelIndex* a0;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::mapFromSource(*a0) : sipCpp->mapFromSource(*a0)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QModelIndex* a0;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::mapToSource(*a0) : sipCpp->mapToSource(*a0)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QModelIndex* a0;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::Qt::ItemFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Qt::ItemFlags((sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::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_KDescendantsProxyModel, sipName_flags, NULL);

    return NULL;
}


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

    {
        const  ::QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|i", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
             ::QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::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_KDescendantsProxyModel, sipName_data, NULL);

    return NULL;
}


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

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::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_KDescendantsProxyModel, sipName_rowCount, NULL);

    return NULL;
}


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

    {
        int a0;
         ::Qt::Orientation a1;
        int a2;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiEi", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
             ::QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
             ::QMimeData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

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

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

    return NULL;
}


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

    {
        const  ::KDescendantsProxyModel *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList((sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::mimeTypes() : sipCpp->mimeTypes()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|J9", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QModelIndex* a0;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::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_KDescendantsProxyModel, sipName_parent, NULL);

    return NULL;
}


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

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::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_KDescendantsProxyModel, sipName_columnCount, NULL);

    return NULL;
}


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

    {
        const  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDescendantsProxyModel, &sipCpp))
        {
             ::Qt::DropActions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::Qt::DropActions((sipSelfWasArg ? sipCpp-> ::KDescendantsProxyModel::supportedDropActions() : sipCpp->supportedDropActions()));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *meth_KDescendantsProxyModel_match(PyObject *, PyObject *);}
static PyObject *meth_KDescendantsProxyModel_match(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((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  ::KDescendantsProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ1|iJ1", &sipSelf, sipType_KDescendantsProxyModel, &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-> ::KDescendantsProxyModel::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_KDescendantsProxyModel, sipName_match, NULL);

    return NULL;
}


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

    if (targetType == sipType_QAbstractProxyModel)
        return static_cast< ::QAbstractProxyModel *>(sipCpp);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDescendantsProxyModel(sipSimpleWrapper *);}
static void dealloc_KDescendantsProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDescendantsProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
         ::QObject* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KDescendantsProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_ancestorSeparator), meth_KDescendantsProxyModel_ancestorSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_KDescendantsProxyModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_KDescendantsProxyModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_displayAncestorData), meth_KDescendantsProxyModel_displayAncestorData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_KDescendantsProxyModel_flags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasChildren), meth_KDescendantsProxyModel_hasChildren, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_headerData), meth_KDescendantsProxyModel_headerData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_KDescendantsProxyModel_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapFromSource), meth_KDescendantsProxyModel_mapFromSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mapToSource), meth_KDescendantsProxyModel_mapToSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_match), meth_KDescendantsProxyModel_match, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_KDescendantsProxyModel_mimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_KDescendantsProxyModel_mimeTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_KDescendantsProxyModel_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_KDescendantsProxyModel_rowCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAncestorSeparator), meth_KDescendantsProxyModel_setAncestorSeparator, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisplayAncestorData), meth_KDescendantsProxyModel_setDisplayAncestorData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRootIndex), meth_KDescendantsProxyModel_setRootIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSourceModel), meth_KDescendantsProxyModel_setSourceModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_KDescendantsProxyModel_supportedDropActions, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KDescendantsProxyModel = {
    & ::KDescendantsProxyModel::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KDescendantsProxyModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDescendantsProxyModel,
        {0},
        &plugin_KDescendantsProxyModel
    },
    {
        sipNameNr_KDescendantsProxyModel,
        {0, 0, 1},
        20, methods_KDescendantsProxyModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDescendantsProxyModel,
    0,
    init_type_KDescendantsProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDescendantsProxyModel,
    0,
    0,
    0,
    release_KDescendantsProxyModel,
    cast_KDescendantsProxyModel,
    0,
    0,
    0,
    0,
    0,
    0
};


#line 28 "/usr/share/sip/PyQt4/QtGui/qprintdialog.sip"
#include <qprintdialog.h>
#line 2730 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 210 "/usr/share/sip/PyQt4/QtGui/qprinter.sip"
#include <qprinter.h>
#line 2733 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 2736 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2739 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


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

    {
         ::QPrinter* a0;
        const QList< ::QWidget*>* a1;
        int a1State = 0;
         ::QWidget* a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1|J:", sipType_QPrinter, &a0, sipType_QList_0101QWidget,&a1, &a1State, sipType_QWidget, &a2))
        {
             ::QPrintDialog*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KdePrint::createPrintDialog(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList< ::QWidget*> *>(a1),sipType_QList_0101QWidget,a1State);

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

    {
         ::QPrinter* a0;
         ::QWidget* a1 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8|J:", sipType_QPrinter, &a0, sipType_QWidget, &a1))
        {
             ::QPrintDialog*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KdePrint::createPrintDialog(a0,a1);
            Py_END_ALLOW_THREADS

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

    {
         ::QPrinter* a0;
         ::KdePrint::PageSelectPolicy a1;
        const QList< ::QWidget*>* a2;
        int a2State = 0;
         ::QWidget* a3 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8EJ1|J:", sipType_QPrinter, &a0, sipType_KdePrint_PageSelectPolicy, &a1, sipType_QList_0101QWidget,&a2, &a2State, sipType_QWidget, &a3))
        {
             ::QPrintDialog*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KdePrint::createPrintDialog(a0,a1,*a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList< ::QWidget*> *>(a2),sipType_QList_0101QWidget,a2State);

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

    {
         ::QPrinter* a0;
         ::KdePrint::PageSelectPolicy a1;
         ::QWidget* a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8E|J:", sipType_QPrinter, &a0, sipType_KdePrint_PageSelectPolicy, &a1, sipType_QWidget, &a2))
        {
             ::QPrintDialog*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KdePrint::createPrintDialog(a0,a1,a2);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


static PyMethodDef methods_KdePrint[] = {
    {SIP_MLNAME_CAST(sipName_createPrintDialog), meth_KdePrint_createPrintDialog, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KdePrint[] = {
    {sipName_ApplicationSelectsPages, static_cast<int>( ::KdePrint::ApplicationSelectsPages), 366},
    {sipName_SystemSelectsPages, static_cast<int>( ::KdePrint::SystemSelectsPages), 366},
};


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


sipClassTypeDef sipTypeDef_kdeui_KdePrint = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KdePrint,
        {0},
        &plugin_KdePrint
    },
    {
        sipNameNr_KdePrint,
        {0, 0, 1},
        1, methods_KdePrint,
        2, enummembers_KdePrint,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatewidget.sip"
#include <kdatewidget.h>
#line 2894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 2901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 2904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcalendarsystem.sip"
#include <kcalendarsystem.h>
#line 2907 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2910 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2913 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 2916 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2919 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2922 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2925 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2928 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2931 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2934 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2937 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 2940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2943 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2946 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 2952 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 2955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2958 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2961 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 2964 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2967 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2970 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2973 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2976 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2979 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2982 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2985 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2988 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2991 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2994 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 2997 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3000 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3003 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3006 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3009 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3012 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3015 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3018 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3021 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3024 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3027 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3030 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 3033 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 3036 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 3039 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3042 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 3045 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 3048 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3051 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3054 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3057 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3060 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 3063 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 3066 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 3069 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3072 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3075 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 3078 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3081 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3084 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 3087 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3090 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3093 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKDateWidget : public  ::KDateWidget
{
public:
    sipKDateWidget( ::QWidget*);
    sipKDateWidget(const  ::QDate&, ::QWidget*);
    virtual ~sipKDateWidget();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKDateWidget::sipKDateWidget( ::QWidget*a0):  ::KDateWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDateWidget::sipKDateWidget(const  ::QDate& a0, ::QWidget*a1):  ::KDateWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDateWidget::~sipKDateWidget()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKDateWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDateWidget);
}

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

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

    return _id;
}

void *sipKDateWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDateWidget, _clname)) ? this :  ::KDateWidget::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        const  ::KDateWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateWidget, &sipCpp))
        {
             ::QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDate(sipCpp->date());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDateWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setDate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::KDateWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateWidget, &sipCpp))
        {
            const  ::KCalendarSystem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->calendar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast< ::KCalendarSystem *>(sipRes),sipType_KCalendarSystem,NULL);
        }
    }

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

    return NULL;
}


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

    {
         ::KCalendarSystem* a0 = 0;
         ::KDateWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KDateWidget, &sipCpp, sipType_KCalendarSystem, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KDateWidget *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDateWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KDateWidget, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->init(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KDateWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDateWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotDateChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
         ::KLocale::CalendarSystem a0;
         ::KDateWidget *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDateWidget(sipSimpleWrapper *);}
static void dealloc_KDateWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDateWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
         ::QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::QWidget* a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KDateWidget[] = {
    {SIP_MLNAME_CAST(sipName_calendar), meth_KDateWidget_calendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_date), meth_KDateWidget_date, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_KDateWidget_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendar), meth_KDateWidget_setCalendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendarSystem), meth_KDateWidget_setCalendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDate), meth_KDateWidget_setDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotDateChanged), meth_KDateWidget_slotDateChanged, METH_VARARGS, NULL}
};


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


static pyqt4ClassPluginDef plugin_KDateWidget = {
    & ::KDateWidget::staticMetaObject,
    0,
    signals_KDateWidget
};


sipClassTypeDef sipTypeDef_kdeui_KDateWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDateWidget,
        {0},
        &plugin_KDateWidget
    },
    {
        sipNameNr_KDateWidget,
        {0, 0, 1},
        7, methods_KDateWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDateWidget,
    0,
    init_type_KDateWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateWidget,
    0,
    0,
    0,
    release_KDateWidget,
    cast_KDateWidget,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatetimewidget.sip"
#include <kdatetimewidget.h>
#line 4406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4410 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 397 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 4413 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4416 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 4419 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4422 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4425 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4428 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4431 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4434 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4437 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 4440 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4443 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 4446 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4449 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4452 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4455 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 4458 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 4461 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 4464 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 4467 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 4470 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4473 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4476 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4479 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4482 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4485 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4488 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4491 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4494 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4497 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4500 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4503 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4509 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4512 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4515 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4518 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4521 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4527 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4530 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4533 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 4536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 4539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 4542 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 4545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4548 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 4551 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 4554 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4557 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4560 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4563 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4566 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 4569 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 4572 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKDateTimeWidget : public  ::KDateTimeWidget
{
public:
    sipKDateTimeWidget( ::QWidget*);
    sipKDateTimeWidget(const  ::QDateTime&, ::QWidget*);
    virtual ~sipKDateTimeWidget();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKDateTimeWidget::sipKDateTimeWidget( ::QWidget*a0):  ::KDateTimeWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDateTimeWidget::sipKDateTimeWidget(const  ::QDateTime& a0, ::QWidget*a1):  ::KDateTimeWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDateTimeWidget::~sipKDateTimeWidget()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKDateTimeWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDateTimeWidget);
}

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

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

    return _id;
}

void *sipKDateTimeWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDateTimeWidget, _clname)) ? this :  ::KDateTimeWidget::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

    {
        const  ::KDateTimeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeWidget, &sipCpp))
        {
             ::QDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDateTime(sipCpp->dateTime());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const  ::QDateTime* a0;
        int a0State = 0;
         ::KDateTimeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTimeWidget, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateTime(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

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

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

    return sipCppV;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDateTimeWidget(sipSimpleWrapper *);}
static void dealloc_KDateTimeWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDateTimeWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
         ::QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QDateTime* a0;
        int a0State = 0;
         ::QWidget* a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KDateTimeWidget[] = {
    {SIP_MLNAME_CAST(sipName_dateTime), meth_KDateTimeWidget_dateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateTime), meth_KDateTimeWidget_setDateTime, METH_VARARGS, NULL}
};


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


static pyqt4ClassPluginDef plugin_KDateTimeWidget = {
    & ::KDateTimeWidget::staticMetaObject,
    0,
    signals_KDateTimeWidget
};


sipClassTypeDef sipTypeDef_kdeui_KDateTimeWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDateTimeWidget,
        {0},
        &plugin_KDateTimeWidget
    },
    {
        sipNameNr_KDateTimeWidget,
        {0, 0, 1},
        2, methods_KDateTimeWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDateTimeWidget,
    0,
    init_type_KDateTimeWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateTimeWidget,
    0,
    0,
    0,
    release_KDateTimeWidget,
    cast_KDateTimeWidget,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatetimeedit.sip"
#include <kdatetimeedit.h>
#line 5750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatetimeedit.sip"
#include <kdatetimeedit.h>
#line 5754 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static int slot_KDateTimeEdit_Options___bool__(PyObject *);}
static int slot_KDateTimeEdit_Options___bool__(PyObject *sipSelf)
{
     ::KDateTimeEdit::Options *sipCpp = reinterpret_cast< ::KDateTimeEdit::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTimeEdit_Options));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDateTimeEdit::Options::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 5776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDateTimeEdit_Options___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDateTimeEdit_Options___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KDateTimeEdit::Options *sipCpp = reinterpret_cast< ::KDateTimeEdit::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTimeEdit_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit::Options* a0;
        int a0State = 0;

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

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDateTimeEdit::Options::Int() != a0->operator KDateTimeEdit::Options::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 5810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KDateTimeEdit::Options *>(a0),sipType_KDateTimeEdit_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KDateTimeEdit_Options___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDateTimeEdit_Options___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KDateTimeEdit::Options *sipCpp = reinterpret_cast< ::KDateTimeEdit::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTimeEdit_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit::Options* a0;
        int a0State = 0;

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

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDateTimeEdit::Options::Int() == a0->operator KDateTimeEdit::Options::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 5850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KDateTimeEdit::Options *>(a0),sipType_KDateTimeEdit_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KDateTimeEdit::Options *sipCpp = reinterpret_cast< ::KDateTimeEdit::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTimeEdit_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::KDateTimeEdit::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDateTimeEdit_Options, &a0, &a0State, &a1))
        {
             ::KDateTimeEdit::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateTimeEdit::Options((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDateTimeEdit_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KDateTimeEdit::Options *sipCpp = reinterpret_cast< ::KDateTimeEdit::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTimeEdit_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::KDateTimeEdit::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDateTimeEdit_Options, &a0, &a0State, &a1))
        {
             ::KDateTimeEdit::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateTimeEdit::Options((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDateTimeEdit_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

     ::KDateTimeEdit::Options *sipCpp = reinterpret_cast< ::KDateTimeEdit::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTimeEdit_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::KDateTimeEdit::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDateTimeEdit_Options, &a0, &a0State, &a1))
        {
             ::KDateTimeEdit::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateTimeEdit::Options((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDateTimeEdit_Options,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_KDateTimeEdit_Options___invert__(PyObject *);}
static PyObject *slot_KDateTimeEdit_Options___invert__(PyObject *sipSelf)
{
     ::KDateTimeEdit::Options *sipCpp = reinterpret_cast< ::KDateTimeEdit::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTimeEdit_Options));

    if (!sipCpp)
        return 0;


    {
        {
             ::KDateTimeEdit::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateTimeEdit::Options(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


extern "C" {static PyObject *slot_KDateTimeEdit_Options___int__(PyObject *);}
static PyObject *slot_KDateTimeEdit_Options___int__(PyObject *sipSelf)
{
     ::KDateTimeEdit::Options *sipCpp = reinterpret_cast< ::KDateTimeEdit::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateTimeEdit_Options));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    delete reinterpret_cast< ::KDateTimeEdit::Options *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KDateTimeEdit_Options(SIP_SSIZE_T);}
static void *array_KDateTimeEdit_Options(SIP_SSIZE_T sipNrElem)
{
    return new  ::KDateTimeEdit::Options[sipNrElem];
}


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


extern "C" {static void dealloc_KDateTimeEdit_Options(sipSimpleWrapper *);}
static void dealloc_KDateTimeEdit_Options(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDateTimeEdit_Options(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KDateTimeEdit_Options(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDateTimeEdit_Options(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KDateTimeEdit::Options *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        const  ::KDateTimeEdit::Options* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    return NULL;
}


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

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KDateTimeEdit::Options is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDateTimeEdit_Option)) ||
            sipCanConvertToType(sipPy, sipType_KDateTimeEdit_Options, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDateTimeEdit_Option)))
{
    *sipCppPtr = new KDateTimeEdit::Options(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KDateTimeEdit::Options *>(sipConvertToType(sipPy, sipType_KDateTimeEdit_Options, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 6251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDateTimeEdit_Options[] = {
    {(void *)slot_KDateTimeEdit_Options___bool__, bool_slot},
    {(void *)slot_KDateTimeEdit_Options___ne__, ne_slot},
    {(void *)slot_KDateTimeEdit_Options___eq__, eq_slot},
    {(void *)slot_KDateTimeEdit_Options___ixor__, ixor_slot},
    {(void *)slot_KDateTimeEdit_Options___xor__, xor_slot},
    {(void *)slot_KDateTimeEdit_Options___ior__, ior_slot},
    {(void *)slot_KDateTimeEdit_Options___or__, or_slot},
    {(void *)slot_KDateTimeEdit_Options___iand__, iand_slot},
    {(void *)slot_KDateTimeEdit_Options___and__, and_slot},
    {(void *)slot_KDateTimeEdit_Options___invert__, invert_slot},
    {(void *)slot_KDateTimeEdit_Options___int__, int_slot},
    {0, (sipPySlotType)0}
};


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


sipClassTypeDef sipTypeDef_kdeui_KDateTimeEdit_Options = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDateTimeEdit__Options,
        {0},
        &plugin_KDateTimeEdit_Options
    },
    {
        sipNameNr_Options,
        {79, 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_KDateTimeEdit_Options,
    init_type_KDateTimeEdit_Options,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateTimeEdit_Options,
    assign_KDateTimeEdit_Options,
    array_KDateTimeEdit_Options,
    copy_KDateTimeEdit_Options,
    release_KDateTimeEdit_Options,
    0,
    convertTo_KDateTimeEdit_Options,
    0,
    0,
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatetimeedit.sip"
#include <kdatetimeedit.h>
#line 6330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 6337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 6343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 6346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 6349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 6352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatetimeedit.sip"
#include <kdatetimeedit.h>
#line 6358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 241 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 6361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 6364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 6367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 6376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 6385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kdatetime.sip"
#include <kdatetime.h>
#line 6388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcalendarsystem.sip"
#include <kcalendarsystem.h>
#line 6391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 6397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 6406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 6409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 6412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 6415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 6418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 6421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 6424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 6427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 6433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 6436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 6439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 6442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 6445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 6451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 6454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 6502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 6505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 6508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 6511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 6517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 6520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 6523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 6526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 6529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 6532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 6535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 6538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 6541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 6547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 6553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 6556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 6559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 6562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKDateTimeEdit : public  ::KDateTimeEdit
{
public:
    sipKDateTimeEdit( ::QWidget*);
    virtual ~sipKDateTimeEdit();

    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 assignTime(const  ::QTime&);
    void assignDate(const  ::QDate&);
    void assignDateTime(const  ::KDateTime&);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[50];
};

sipKDateTimeEdit::sipKDateTimeEdit( ::QWidget*a0):  ::KDateTimeEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDateTimeEdit::~sipKDateTimeEdit()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKDateTimeEdit::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDateTimeEdit);
}

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

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

    return _id;
}

void *sipKDateTimeEdit::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDateTimeEdit, _clname)) ? this :  ::KDateTimeEdit::qt_metacast(_clname);
}

void sipKDateTimeEdit::assignTime(const  ::QTime& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KDateTimeEdit::assignTime(a0);
        return;
    }

    extern void sipVH_kdeui_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QTime&);

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

void sipKDateTimeEdit::assignDate(const  ::QDate& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KDateTimeEdit::assignDate(a0);
        return;
    }

    extern void sipVH_kdeui_131(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QDate&);

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

void sipKDateTimeEdit::assignDateTime(const  ::KDateTime& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::KDateTimeEdit::assignDateTime(a0);
        return;
    }

    extern void sipVH_kdeui_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::KDateTime&);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDateTimeEdit::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KDateTimeEdit::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDateTimeEdit::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KDateTimeEdit::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDateTimeEdit::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  ::KDateTimeEdit::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKDateTimeEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KDateTimeEdit::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDateTimeEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KDateTimeEdit::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDateTimeEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KDateTimeEdit::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKDateTimeEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KDateTimeEdit::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKDateTimeEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KDateTimeEdit::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDateTimeEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KDateTimeEdit::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KDateTimeEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKDateTimeEdit::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KDateTimeEdit::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDateTimeEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KDateTimeEdit::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KDateTimeEdit::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KDateTimeEdit::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KDateTimeEdit::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KDateTimeEdit::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTimeEdit::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KDateTimeEdit::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KDateTimeEdit_dateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_dateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateTime(sipCpp->dateTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_dateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_date(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_date(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDate(sipCpp->date());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_date, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_time(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_time(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::QTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QTime(sipCpp->time());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_time, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_timeSpec(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_timeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::KDateTime::Spec*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateTime::Spec(sipCpp->timeSpec());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime_Spec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_timeSpec, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_minimumDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_minimumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateTime(sipCpp->minimumDateTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_minimumDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_maximumDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_maximumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::KDateTime*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateTime(sipCpp->maximumDateTime());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_maximumDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_dateMap(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_dateMap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            QMap< ::QDate, ::QString>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap< ::QDate, ::QString>(sipCpp->dateMap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QDate_0100QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_dateMap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_timeList(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_timeList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            QList< ::QTime>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::QTime>(sipCpp->timeList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_timeList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_isValid(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &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_KDateTimeEdit, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_options(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::KDateTimeEdit::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateTimeEdit::Options(sipCpp->options());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateTimeEdit_Options,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_options, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_resetMinimumDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_resetMinimumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetMinimumDateTime();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_resetMinimumDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_resetMaximumDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_resetMaximumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetMaximumDateTime();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_resetMaximumDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_resetDateTimeRange(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_resetDateTimeRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetDateTimeRange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_resetDateTimeRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setCalendar(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setCalendar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCalendarSystem* a0 = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KCalendarSystem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCalendar(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setCalendar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setTimeZones(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setTimeZones(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KTimeZones::ZoneMap* a0;
        int a0State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QMap_0100QString_0100KTimeZone,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeZones(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KTimeZones::ZoneMap *>(a0),sipType_QMap_0100QString_0100KTimeZone,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setTimeZones, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTime* a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KDateTime, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateTime(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setDate(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setCalendarSystem(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setCalendarSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLocale::CalendarSystem a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KLocale_CalendarSystem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCalendarSystem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setCalendarSystem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTime(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setTimeSpec(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setTimeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTime::Spec* a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KDateTime_Spec, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeSpec(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setTimeSpec, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setDateTimeRange(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setDateTimeRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTime* a0;
        const  ::KDateTime* a1;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9|J1J1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KDateTime, &a0, sipType_KDateTime, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateTimeRange(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setDateTimeRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setMinimumDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setMinimumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTime* a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KDateTime, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimumDateTime(*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_KDateTimeEdit, sipName_setMinimumDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setMaximumDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setMaximumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTime* a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KDateTime, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumDateTime(*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_KDateTimeEdit, sipName_setMaximumDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setDateDisplayFormat(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setDateDisplayFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLocale::DateFormat a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KLocale_DateFormat, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateDisplayFormat(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setDateDisplayFormat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setDateMap(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setDateMap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMap< ::QDate, ::QString>* a0;
        int a0State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QMap_0100QDate_0100QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateMap(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QMap_0100QDate_0100QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setDateMap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setTimeDisplayFormat(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setTimeDisplayFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLocale::TimeFormatOptions* a0;
        int a0State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KLocale_TimeFormatOptions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeDisplayFormat(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KLocale_TimeFormatOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setTimeDisplayFormat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setTimeList(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setTimeList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QList< ::QTime>* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1J1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QList_0100QTime,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeList(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QList_0100QTime,a0State);
            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_KDateTimeEdit, sipName_setTimeList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KDateTimeEdit::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTimeEdit::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_KDateTimeEdit, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTimeEdit::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_KDateTimeEdit, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTimeEdit::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_KDateTimeEdit, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_assignDateTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_assignDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KDateTime* a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KDateTime, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTimeEdit::assignDateTime(*a0) : sipCpp->assignDateTime(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_assignDateTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_assignDate(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_assignDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTimeEdit::assignDate(*a0) : sipCpp->assignDate(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_assignDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_assignCalendarSystem(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_assignCalendarSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLocale::CalendarSystem a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KLocale_CalendarSystem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->assignCalendarSystem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_assignCalendarSystem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_assignTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_assignTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QTime* a0;
        int a0State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTimeEdit::assignTime(*a0) : sipCpp->assignTime(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_assignTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_timeListInterval(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_timeListInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->timeListInterval();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_timeListInterval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_isValidDate(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_isValidDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValidDate();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_isValidDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_isValidTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_isValidTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValidTime();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_isValidTime, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setCalendarSystemsList(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setCalendarSystemsList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QList< ::KLocale::CalendarSystem>* a0;
        int a0State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_QList_0100KLocale_CalendarSystem,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCalendarSystemsList(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QList_0100KLocale_CalendarSystem,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setCalendarSystemsList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setTimeListInterval(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setTimeListInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDateTimeEdit, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTimeListInterval(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setTimeListInterval, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_setOptions(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateTimeEdit::Options* a0;
        int a0State = 0;
         ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTimeEdit, &sipCpp, sipType_KDateTimeEdit_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDateTimeEdit_Options,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_setOptions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_calendarSystem(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_calendarSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::KLocale::CalendarSystem sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->calendarSystem();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_CalendarSystem);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_calendarSystem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_calendarSystemsList(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_calendarSystemsList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            QList< ::KLocale::CalendarSystem>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::KLocale::CalendarSystem>(sipCpp->calendarSystemsList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100KLocale_CalendarSystem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_calendarSystemsList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_dateDisplayFormat(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_dateDisplayFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::KLocale::DateFormat sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dateDisplayFormat();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_DateFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_dateDisplayFormat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_timeDisplayFormat(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_timeDisplayFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::KLocale::TimeFormatOptions*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KLocale::TimeFormatOptions(sipCpp->timeDisplayFormat());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KLocale_TimeFormatOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_timeDisplayFormat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_timeZones(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_timeZones(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
             ::KTimeZones::ZoneMap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KTimeZones::ZoneMap(sipCpp->timeZones());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QString_0100KTimeZone,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_timeZones, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_isNull(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_isNull, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_isNullDate(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_isNullDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNullDate();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_isNullDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTimeEdit_isNullTime(PyObject *, PyObject *);}
static PyObject *meth_KDateTimeEdit_isNullTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTimeEdit, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNullTime();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTimeEdit, sipName_isNullTime, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KDateTimeEdit(void *, const sipTypeDef *);}
static void *cast_KDateTimeEdit(void *sipCppV, const sipTypeDef *targetType)
{
     ::KDateTimeEdit *sipCpp = reinterpret_cast< ::KDateTimeEdit *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDateTimeEdit(void *, int);}
static void release_KDateTimeEdit(void *sipCppV, int)
{
     ::KDateTimeEdit *sipCpp = reinterpret_cast< ::KDateTimeEdit *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDateTimeEdit(sipSimpleWrapper *);}
static void dealloc_KDateTimeEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDateTimeEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDateTimeEdit(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KDateTimeEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDateTimeEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDateTimeEdit *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDateTimeEdit(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDateTimeEdit[] = {{131, 2, 1}};


static PyMethodDef methods_KDateTimeEdit[] = {
    {SIP_MLNAME_CAST(sipName_assignCalendarSystem), meth_KDateTimeEdit_assignCalendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignDate), meth_KDateTimeEdit_assignDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignDateTime), meth_KDateTimeEdit_assignDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignTime), meth_KDateTimeEdit_assignTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calendarSystem), meth_KDateTimeEdit_calendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calendarSystemsList), meth_KDateTimeEdit_calendarSystemsList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_date), meth_KDateTimeEdit_date, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateDisplayFormat), meth_KDateTimeEdit_dateDisplayFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateMap), meth_KDateTimeEdit_dateMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateTime), meth_KDateTimeEdit_dateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KDateTimeEdit_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KDateTimeEdit_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KDateTimeEdit_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_KDateTimeEdit_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNullDate), meth_KDateTimeEdit_isNullDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNullTime), meth_KDateTimeEdit_isNullTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KDateTimeEdit_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValidDate), meth_KDateTimeEdit_isValidDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValidTime), meth_KDateTimeEdit_isValidTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumDateTime), meth_KDateTimeEdit_maximumDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumDateTime), meth_KDateTimeEdit_minimumDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_options), meth_KDateTimeEdit_options, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetDateTimeRange), meth_KDateTimeEdit_resetDateTimeRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetMaximumDateTime), meth_KDateTimeEdit_resetMaximumDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetMinimumDateTime), meth_KDateTimeEdit_resetMinimumDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KDateTimeEdit_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendar), meth_KDateTimeEdit_setCalendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendarSystem), meth_KDateTimeEdit_setCalendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendarSystemsList), meth_KDateTimeEdit_setCalendarSystemsList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDate), meth_KDateTimeEdit_setDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateDisplayFormat), meth_KDateTimeEdit_setDateDisplayFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateMap), meth_KDateTimeEdit_setDateMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateTime), meth_KDateTimeEdit_setDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateTimeRange), meth_KDateTimeEdit_setDateTimeRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumDateTime), meth_KDateTimeEdit_setMaximumDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimumDateTime), meth_KDateTimeEdit_setMinimumDateTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_KDateTimeEdit_setOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTime), meth_KDateTimeEdit_setTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeDisplayFormat), meth_KDateTimeEdit_setTimeDisplayFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeList), meth_KDateTimeEdit_setTimeList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeListInterval), meth_KDateTimeEdit_setTimeListInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeSpec), meth_KDateTimeEdit_setTimeSpec, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTimeZones), meth_KDateTimeEdit_setTimeZones, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_time), meth_KDateTimeEdit_time, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeDisplayFormat), meth_KDateTimeEdit_timeDisplayFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeList), meth_KDateTimeEdit_timeList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeListInterval), meth_KDateTimeEdit_timeListInterval, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeSpec), meth_KDateTimeEdit_timeSpec, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timeZones), meth_KDateTimeEdit_timeZones, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDateTimeEdit[] = {
    {sipName_DateKeywords, static_cast<int>( ::KDateTimeEdit::DateKeywords), 80},
    {sipName_DatePicker, static_cast<int>( ::KDateTimeEdit::DatePicker), 80},
    {sipName_EditDate, static_cast<int>( ::KDateTimeEdit::EditDate), 80},
    {sipName_EditTime, static_cast<int>( ::KDateTimeEdit::EditTime), 80},
    {sipName_ForceTime, static_cast<int>( ::KDateTimeEdit::ForceTime), 80},
    {sipName_SelectCalendar, static_cast<int>( ::KDateTimeEdit::SelectCalendar), 80},
    {sipName_SelectDate, static_cast<int>( ::KDateTimeEdit::SelectDate), 80},
    {sipName_SelectTime, static_cast<int>( ::KDateTimeEdit::SelectTime), 80},
    {sipName_SelectTimeSpec, static_cast<int>( ::KDateTimeEdit::SelectTimeSpec), 80},
    {sipName_ShowCalendar, static_cast<int>( ::KDateTimeEdit::ShowCalendar), 80},
    {sipName_ShowDate, static_cast<int>( ::KDateTimeEdit::ShowDate), 80},
    {sipName_ShowTime, static_cast<int>( ::KDateTimeEdit::ShowTime), 80},
    {sipName_ShowTimeSpec, static_cast<int>( ::KDateTimeEdit::ShowTimeSpec), 80},
    {sipName_WarnOnInvalid, static_cast<int>( ::KDateTimeEdit::WarnOnInvalid), 80},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDateTimeEdit[] = {
    {"calendarChanged(KLocale::CalendarSystem)", 0, 0, 0},
    {"calendarEntered(KLocale::CalendarSystem)", 0, 0, 0},
    {"timeSpecChanged(KDateTime::Spec)", 0, 0, 0},
    {"timeSpecEntered(KDateTime::Spec)", 0, 0, 0},
    {"timeEdited(QTime)", 0, 0, 0},
    {"timeChanged(QTime)", 0, 0, 0},
    {"timeEntered(QTime)", 0, 0, 0},
    {"dateEdited(QDate)", 0, 0, 0},
    {"dateChanged(QDate)", 0, 0, 0},
    {"dateEntered(QDate)", 0, 0, 0},
    {"dateTimeEdited(KDateTime)", 0, 0, 0},
    {"dateTimeChanged(KDateTime)", 0, 0, 0},
    {"dateTimeEntered(KDateTime)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KDateTimeEdit = {
    & ::KDateTimeEdit::staticMetaObject,
    0,
    signals_KDateTimeEdit
};


sipClassTypeDef sipTypeDef_kdeui_KDateTimeEdit = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDateTimeEdit,
        {0},
        &plugin_KDateTimeEdit
    },
    {
        sipNameNr_KDateTimeEdit,
        {0, 0, 1},
        49, methods_KDateTimeEdit,
        14, enummembers_KDateTimeEdit,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDateTimeEdit,
    0,
    init_type_KDateTimeEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateTimeEdit,
    0,
    0,
    0,
    release_KDateTimeEdit,
    cast_KDateTimeEdit,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 76 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatetable.sip"
#include <kdatetable.h>
#line 9140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9144 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 9147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 9150 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9153 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kmenu.sip"
#include <kmenu.h>
#line 9156 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9159 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9162 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9165 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9168 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9171 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 9174 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcalendarsystem.sip"
#include <kcalendarsystem.h>
#line 9177 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 9180 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 9183 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 9189 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9192 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9195 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 9198 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 9201 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9204 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 9207 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9210 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 9213 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9216 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 9219 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 9225 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 9228 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 9231 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 9234 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9237 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 9240 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9243 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9246 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9249 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9252 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9255 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9258 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9261 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9264 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9267 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9270 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9273 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9276 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9279 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 9282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 9285 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 9288 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 9291 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9294 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 9297 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 9300 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 9303 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9306 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 9309 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 9312 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 9315 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 9318 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 9321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9324 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9327 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 9330 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9333 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 9336 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 9339 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9342 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9345 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKDateTable : public  ::KDateTable
{
public:
    sipKDateTable( ::QWidget*);
    sipKDateTable(const  ::QDate&, ::QWidget*);
    virtual ~sipKDateTable();

    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:
     ::QDate dateFromPos(int);
    int posFromDate(const  ::QDate&);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDateTable(const sipKDateTable &);
    sipKDateTable &operator = (const sipKDateTable &);

    char sipPyMethods[49];
};

sipKDateTable::sipKDateTable( ::QWidget*a0):  ::KDateTable(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDateTable::sipKDateTable(const  ::QDate& a0, ::QWidget*a1):  ::KDateTable(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDateTable::~sipKDateTable()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKDateTable::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDateTable);
}

int sipKDateTable::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KDateTable::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDateTable,_c,_id,_a);

    return _id;
}

void *sipKDateTable::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDateTable, _clname)) ? this :  ::KDateTable::qt_metacast(_clname);
}

 ::QDate sipKDateTable::dateFromPos(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_dateFromPos);

    if (!sipMeth)
        return  ::KDateTable::dateFromPos(a0);

    extern  ::QDate sipVH_kdeui_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_138(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDateTable::posFromDate(const  ::QDate& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_posFromDate);

    if (!sipMeth)
        return  ::KDateTable::posFromDate(a0);

    extern int sipVH_kdeui_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QDate&);

    return sipVH_kdeui_137(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KDateTable::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KDateTable::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KDateTable::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KDateTable::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KDateTable::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDateTable::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KDateTable::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDateTable::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KDateTable::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDateTable::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KDateTable::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKDateTable::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KDateTable::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDateTable::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KDateTable::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDateTable::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KDateTable::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKDateTable::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KDateTable::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKDateTable::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KDateTable::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDateTable::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KDateTable::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KDateTable::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KDateTable::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KDateTable::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KDateTable::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KDateTable::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KDateTable::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KDateTable::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KDateTable::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KDateTable::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KDateTable::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KDateTable::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KDateTable::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KDateTable::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KDateTable::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KDateTable::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KDateTable::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KDateTable::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KDateTable::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KDateTable::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KDateTable::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KDateTable::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KDateTable::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KDateTable::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KDateTable::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KDateTable::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KDateTable::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKDateTable::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KDateTable::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDateTable::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KDateTable::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KDateTable::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KDateTable::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KDateTable::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KDateTable::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateTable::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KDateTable::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KDateTable_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTable, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KDateTable::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_KDateTable, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_setFontSize(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_setFontSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDateTable, &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_KDateTable, sipName_setFontSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_setDate(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_setDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setDate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_setDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_date(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_date(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTable, &sipCpp))
        {
             ::QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDate(sipCpp->date());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_date, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_calendar(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_calendar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTable, &sipCpp))
        {
            const  ::KCalendarSystem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->calendar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast< ::KCalendarSystem *>(sipRes),sipType_KCalendarSystem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_calendar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_setCalendar(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_setCalendar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCalendarSystem* a0 = 0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KDateTable, &sipCpp, sipType_KCalendarSystem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setCalendar(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setCalendar(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_setCalendar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_setPopupMenuEnabled(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_setPopupMenuEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDateTable, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPopupMenuEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_setPopupMenuEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_popupMenuEnabled(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_popupMenuEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateTable, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->popupMenuEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_popupMenuEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_setCustomDatePainting(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_setCustomDatePainting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
        const  ::QColor* a1;
        int a1State = 0;
         ::KDateTable::BackgroundMode a2 = KDateTable::NoBgMode;
        const  ::QColor& a3def = QColor();
        const  ::QColor* a3 = &a3def;
        int a3State = 0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|EJ1", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QDate, &a0, &a0State, sipType_QColor, &a1, &a1State, sipType_KDateTable_BackgroundMode, &a2, sipType_QColor, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomDatePainting(*a0,*a1,a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);
            sipReleaseType(const_cast< ::QColor *>(a3),sipType_QColor,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_setCustomDatePainting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_unsetCustomDatePainting(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_unsetCustomDatePainting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unsetCustomDatePainting(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_unsetCustomDatePainting, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_posFromDate(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_posFromDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KDateTable::posFromDate(*a0) : sipCpp->posFromDate(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_posFromDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_dateFromPos(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_dateFromPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KDateTable, &sipCpp, &a0))
        {
             ::QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDate((sipSelfWasArg ? sipCpp-> ::KDateTable::dateFromPos(a0) : sipCpp->dateFromPos(a0)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_dateFromPos, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTable::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_KDateTable, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTable::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_KDateTable, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTable::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_KDateTable, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTable::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_KDateTable, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTable::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_KDateTable, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateTable::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_KDateTable, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_event(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateTable, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KDateTable::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_KDateTable, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateTable_setCalendarSystem(PyObject *, PyObject *);}
static PyObject *meth_KDateTable_setCalendarSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLocale::CalendarSystem a0;
         ::KDateTable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDateTable, &sipCpp, sipType_KLocale_CalendarSystem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setCalendarSystem(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateTable, sipName_setCalendarSystem, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KDateTable(void *, const sipTypeDef *);}
static void *cast_KDateTable(void *sipCppV, const sipTypeDef *targetType)
{
     ::KDateTable *sipCpp = reinterpret_cast< ::KDateTable *>(sipCppV);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDateTable(void *, int);}
static void release_KDateTable(void *sipCppV, int)
{
     ::KDateTable *sipCpp = reinterpret_cast< ::KDateTable *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDateTable(sipSimpleWrapper *);}
static void dealloc_KDateTable(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDateTable *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDateTable(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KDateTable(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDateTable(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDateTable *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDateTable(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QDate, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDateTable(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDateTable[] = {{131, 2, 1}};


static PyMethodDef methods_KDateTable[] = {
    {SIP_MLNAME_CAST(sipName_calendar), meth_KDateTable_calendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_date), meth_KDateTable_date, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateFromPos), meth_KDateTable_dateFromPos, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KDateTable_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KDateTable_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KDateTable_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KDateTable_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KDateTable_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KDateTable_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popupMenuEnabled), meth_KDateTable_popupMenuEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_posFromDate), meth_KDateTable_posFromDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendar), meth_KDateTable_setCalendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendarSystem), meth_KDateTable_setCalendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomDatePainting), meth_KDateTable_setCustomDatePainting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDate), meth_KDateTable_setDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFontSize), meth_KDateTable_setFontSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPopupMenuEnabled), meth_KDateTable_setPopupMenuEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KDateTable_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unsetCustomDatePainting), meth_KDateTable_unsetCustomDatePainting, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KDateTable_wheelEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDateTable[] = {
    {sipName_CircleMode, static_cast<int>( ::KDateTable::CircleMode), 78},
    {sipName_NoBgMode, static_cast<int>( ::KDateTable::NoBgMode), 78},
    {sipName_RectangleMode, static_cast<int>( ::KDateTable::RectangleMode), 78},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDateTable[] = {
    {"aboutToShowContextMenu(KMenu*,QDate)", 0, 0, 0},
    {"tableClicked()", 0, 0, 0},
    {"dateChanged(QDate)", 0, 0, 0},
    {"dateChanged(QDate,QDate)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KDateTable = {
    & ::KDateTable::staticMetaObject,
    0,
    signals_KDateTable
};


sipClassTypeDef sipTypeDef_kdeui_KDateTable = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDateTable,
        {0},
        &plugin_KDateTable
    },
    {
        sipNameNr_KDateTable,
        {0, 0, 1},
        20, methods_KDateTable,
        3, enummembers_KDateTable,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDateTable,
    0,
    init_type_KDateTable,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateTable,
    0,
    0,
    0,
    release_KDateTable,
    cast_KDateTable,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatetable.sip"
#include <kdatetable.h>
#line 11089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11093 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 11096 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11099 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 11102 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11105 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11108 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11111 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11114 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11117 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11120 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11123 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11126 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11129 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11132 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11135 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11138 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11141 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKDateValidator : public  ::KDateValidator
{
public:
    sipKDateValidator( ::QWidget*);
    virtual ~sipKDateValidator();

    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 fixup( ::QString&) const;
     ::QValidator::State validate( ::QString&,int&) const;
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDateValidator(const sipKDateValidator &);
    sipKDateValidator &operator = (const sipKDateValidator &);

    char sipPyMethods[11];
};

sipKDateValidator::sipKDateValidator( ::QWidget*a0):  ::KDateValidator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDateValidator::~sipKDateValidator()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKDateValidator::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDateValidator);
}

int sipKDateValidator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KDateValidator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDateValidator,_c,_id,_a);

    return _id;
}

void *sipKDateValidator::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDateValidator, _clname)) ? this :  ::KDateValidator::qt_metacast(_clname);
}

void sipKDateValidator::fixup( ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
         ::KDateValidator::fixup(a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        extern void sipVH_kdeui_136(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

        sipVH_kdeui_136(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        extern void sipVH_kdeui_135(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&);

        sipVH_kdeui_135(sipGILState, 0, sipPySelf, sipMeth, a0);
        return;
    }

     ::KDateValidator::fixup(a0);
}

 ::QValidator::State sipKDateValidator::validate( ::QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_KDateValidator,sipName_validate);

    if (!sipMeth)
        return ( ::QValidator::State)0;

    if (sipIsAPIEnabled(sipName_QString, 0, 2))
    {
        extern  ::QValidator::State sipVH_kdeui_134(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

        return sipVH_kdeui_134(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
        extern  ::QValidator::State sipVH_kdeui_133(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString&,int&);

        return sipVH_kdeui_133(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
    }

    return ( ::QValidator::State)0;
}

void sipKDateValidator::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KDateValidator::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateValidator::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KDateValidator::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateValidator::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KDateValidator::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateValidator::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KDateValidator::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateValidator::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KDateValidator::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDateValidator::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KDateValidator::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDateValidator::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KDateValidator::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KDateValidator_validate(PyObject *, PyObject *);}
static PyObject *meth_KDateValidator_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  ::KDateValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_KDateValidator, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
             ::QValidator::State sipRes;
            PyObject *sipResObj;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KDateValidator, 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  ::KDateValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KDateValidator, &sipCpp, sipType_QString,&a0, &a1))
        {
             ::QValidator::State sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KDateValidator, 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_KDateValidator, sipName_validate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateValidator_fixup(PyObject *, PyObject *);}
static PyObject *meth_KDateValidator_fixup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    if (sipIsAPIEnabled(sipName_QString, 2, 0))
    {
         ::QString* a0;
        int a0State = 0;
        const  ::KDateValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateValidator, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateValidator::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  ::KDateValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KDateValidator, &sipCpp, sipType_QString,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateValidator::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_KDateValidator, sipName_fixup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateValidator_date(PyObject *, PyObject *);}
static PyObject *meth_KDateValidator_date(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QDate* a1;
        int a1State = 0;
        const  ::KDateValidator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_KDateValidator, &sipCpp, sipType_QString,&a0, &a0State, sipType_QDate, &a1, &a1State))
        {
             ::QValidator::State sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->date(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QDate,a1State);

            return sipConvertFromEnum(sipRes,sipType_QValidator_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateValidator, sipName_date, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KDateValidator(void *, const sipTypeDef *);}
static void *cast_KDateValidator(void *sipCppV, const sipTypeDef *targetType)
{
     ::KDateValidator *sipCpp = reinterpret_cast< ::KDateValidator *>(sipCppV);

    if (targetType == sipType_QValidator)
        return static_cast< ::QValidator *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDateValidator(void *, int);}
static void release_KDateValidator(void *sipCppV, int)
{
     ::KDateValidator *sipCpp = reinterpret_cast< ::KDateValidator *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDateValidator(sipSimpleWrapper *);}
static void dealloc_KDateValidator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDateValidator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDateValidator(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KDateValidator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDateValidator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDateValidator *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDateValidator(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDateValidator[] = {{127, 2, 1}};


static PyMethodDef methods_KDateValidator[] = {
    {SIP_MLNAME_CAST(sipName_date), meth_KDateValidator_date, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fixup), meth_KDateValidator_fixup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_KDateValidator_validate, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KDateValidator = {
    & ::KDateValidator::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KDateValidator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDateValidator,
        {0},
        &plugin_KDateValidator
    },
    {
        sipNameNr_KDateValidator,
        {0, 0, 1},
        3, methods_KDateValidator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDateValidator,
    0,
    init_type_KDateValidator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateValidator,
    0,
    0,
    0,
    release_KDateValidator,
    cast_KDateValidator,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatetable.sip"
#include <kdatetable.h>
#line 11677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11681 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11684 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11687 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11690 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 11693 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11696 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11699 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 11702 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 11705 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 11708 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11711 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 11714 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 11723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 11726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 11729 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 11735 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 11738 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 11741 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 11744 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 11747 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 11750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 11753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 11759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 11762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 11807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 11810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 11813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 11816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 11822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 11825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 11828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 11831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 11834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 11837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 11840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 11843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 11846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 11852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 11855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 11861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 11864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 11867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 11870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKPopupFrame : public  ::KPopupFrame
{
public:
    sipKPopupFrame( ::QWidget*);
    virtual ~sipKPopupFrame();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const  ::QFont&);
    void paletteChange(const  ::QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKPopupFrame(const sipKPopupFrame &);
    sipKPopupFrame &operator = (const sipKPopupFrame &);

    char sipPyMethods[47];
};

sipKPopupFrame::sipKPopupFrame( ::QWidget*a0):  ::KPopupFrame(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKPopupFrame::~sipKPopupFrame()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKPopupFrame::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KPopupFrame);
}

int sipKPopupFrame::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KPopupFrame::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KPopupFrame,_c,_id,_a);

    return _id;
}

void *sipKPopupFrame::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KPopupFrame, _clname)) ? this :  ::KPopupFrame::qt_metacast(_clname);
}

void sipKPopupFrame::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KPopupFrame::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPopupFrame::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KPopupFrame::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KPopupFrame::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KPopupFrame::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KPopupFrame::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPopupFrame::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KPopupFrame::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKPopupFrame::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KPopupFrame::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPopupFrame::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KPopupFrame::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKPopupFrame::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KPopupFrame::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKPopupFrame::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KPopupFrame::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKPopupFrame::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KPopupFrame::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKPopupFrame::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KPopupFrame::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKPopupFrame::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KPopupFrame::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKPopupFrame::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KPopupFrame::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPopupFrame::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KPopupFrame::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKPopupFrame::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KPopupFrame::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKPopupFrame::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KPopupFrame::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KPopupFrame::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKPopupFrame::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KPopupFrame::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KPopupFrame_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KPopupFrame_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
         ::KPopupFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KPopupFrame, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KPopupFrame::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_KPopupFrame, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPopupFrame_close(PyObject *, PyObject *);}
static PyObject *meth_KPopupFrame_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KPopupFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KPopupFrame, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->close(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPopupFrame, sipName_close, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPopupFrame_setMainWidget(PyObject *, PyObject *);}
static PyObject *meth_KPopupFrame_setMainWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
         ::KPopupFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPopupFrame, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMainWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPopupFrame, sipName_setMainWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPopupFrame_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KPopupFrame_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KPopupFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KPopupFrame, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KPopupFrame::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_KPopupFrame, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPopupFrame_popup(PyObject *, PyObject *);}
static PyObject *meth_KPopupFrame_popup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::KPopupFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPopupFrame, &sipCpp, sipType_QPoint, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->popup(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPopupFrame, sipName_popup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KPopupFrame_exec_(PyObject *, PyObject *);}
static PyObject *meth_KPopupFrame_exec_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::KPopupFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KPopupFrame, &sipCpp, sipType_QPoint, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec(*a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
         ::KPopupFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_KPopupFrame, &sipCpp, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KPopupFrame, sipName_exec_, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KPopupFrame(void *, const sipTypeDef *);}
static void *cast_KPopupFrame(void *sipCppV, const sipTypeDef *targetType)
{
     ::KPopupFrame *sipCpp = reinterpret_cast< ::KPopupFrame *>(sipCppV);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KPopupFrame(void *, int);}
static void release_KPopupFrame(void *sipCppV, int)
{
     ::KPopupFrame *sipCpp = reinterpret_cast< ::KPopupFrame *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KPopupFrame(sipSimpleWrapper *);}
static void dealloc_KPopupFrame(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKPopupFrame *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KPopupFrame(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KPopupFrame(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KPopupFrame(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKPopupFrame *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKPopupFrame(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KPopupFrame[] = {{37, 2, 1}};


static PyMethodDef methods_KPopupFrame[] = {
    {SIP_MLNAME_CAST(sipName_close), meth_KPopupFrame_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exec_), meth_KPopupFrame_exec_, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KPopupFrame_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popup), meth_KPopupFrame_popup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KPopupFrame_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMainWidget), meth_KPopupFrame_setMainWidget, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KPopupFrame[] = {
    {"leaveModality()", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KPopupFrame = {
    & ::KPopupFrame::staticMetaObject,
    0,
    signals_KPopupFrame
};


sipClassTypeDef sipTypeDef_kdeui_KPopupFrame = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KPopupFrame,
        {0},
        &plugin_KPopupFrame
    },
    {
        sipNameNr_KPopupFrame,
        {0, 0, 1},
        6, methods_KPopupFrame,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KPopupFrame,
    0,
    init_type_KPopupFrame,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KPopupFrame,
    0,
    0,
    0,
    release_KPopupFrame,
    cast_KPopupFrame,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatepicker.sip"
#include <kdatepicker.h>
#line 13130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 13137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 13140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 13146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 76 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatetable.sip"
#include <kdatetable.h>
#line 13152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcalendarsystem.sip"
#include <kcalendarsystem.h>
#line 13155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 13158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 13161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 13164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 13170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 13173 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13176 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 13179 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13182 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 13188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 13191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 13194 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 13197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 13200 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 13203 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 13206 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13209 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 13212 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 13215 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 13218 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13221 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 13224 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13227 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13239 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13245 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13248 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13251 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13254 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13257 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13260 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13263 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13266 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13269 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13272 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 13275 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 13278 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 13281 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 13284 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13287 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 13290 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 13293 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 13296 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13299 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 13302 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 13305 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 13308 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 13311 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 13314 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13317 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13320 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13323 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 13326 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 13329 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13332 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13335 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKDatePicker : public  ::KDatePicker
{
public:
    sipKDatePicker( ::QWidget*);
    sipKDatePicker(const  ::QDate&, ::QWidget*);
    virtual ~sipKDatePicker();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const  ::QFont&);
    void paletteChange(const  ::QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDatePicker(const sipKDatePicker &);
    sipKDatePicker &operator = (const sipKDatePicker &);

    char sipPyMethods[47];
};

sipKDatePicker::sipKDatePicker( ::QWidget*a0):  ::KDatePicker(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDatePicker::sipKDatePicker(const  ::QDate& a0, ::QWidget*a1):  ::KDatePicker(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDatePicker::~sipKDatePicker()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKDatePicker::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDatePicker);
}

int sipKDatePicker::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KDatePicker::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDatePicker,_c,_id,_a);

    return _id;
}

void *sipKDatePicker::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDatePicker, _clname)) ? this :  ::KDatePicker::qt_metacast(_clname);
}

void sipKDatePicker::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KDatePicker::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDatePicker::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KDatePicker::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KDatePicker::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KDatePicker::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KDatePicker::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDatePicker::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KDatePicker::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKDatePicker::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KDatePicker::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KDatePicker::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KDatePicker::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KDatePicker::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KDatePicker::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KDatePicker::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KDatePicker::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KDatePicker::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KDatePicker::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KDatePicker::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KDatePicker::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KDatePicker::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KDatePicker::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KDatePicker::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KDatePicker::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KDatePicker::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KDatePicker::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KDatePicker::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KDatePicker::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KDatePicker::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KDatePicker::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KDatePicker::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KDatePicker::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KDatePicker::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KDatePicker::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KDatePicker::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KDatePicker::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDatePicker::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KDatePicker::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKDatePicker::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KDatePicker::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKDatePicker::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KDatePicker::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDatePicker::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KDatePicker::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDatePicker::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KDatePicker::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKDatePicker::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KDatePicker::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDatePicker::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KDatePicker::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDatePicker::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KDatePicker::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDatePicker::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KDatePicker::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDatePicker::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KDatePicker::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KDatePicker::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KDatePicker::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KDatePicker::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDatePicker::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KDatePicker::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KDatePicker_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KDatePicker::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_KDatePicker, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_setDate(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_setDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDatePicker, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setDate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_setDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_date(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_date(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
             ::QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDate(sipCpp->date());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_date, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_calendar(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_calendar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            const  ::KCalendarSystem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->calendar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast< ::KCalendarSystem *>(sipRes),sipType_KCalendarSystem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_calendar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_setCalendar(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_setCalendar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCalendarSystem* a0 = 0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KDatePicker, &sipCpp, sipType_KCalendarSystem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setCalendar(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDatePicker, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setCalendar(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_setCalendar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDatePicker, &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_KDatePicker, sipName_setEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_dateTable(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_dateTable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
             ::KDateTable*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dateTable();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KDateTable,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_dateTable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_setFontSize(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_setFontSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KDatePicker, &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_KDatePicker, sipName_setFontSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_fontSize(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_fontSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fontSize();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_fontSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_setCloseButton(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_setCloseButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KDatePicker, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCloseButton(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_setCloseButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_hasCloseButton(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_hasCloseButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasCloseButton();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_hasCloseButton, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KDatePicker, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KDatePicker::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDatePicker, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDatePicker::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_KDatePicker, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_dateChangedSlot(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_dateChangedSlot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KDatePicker, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dateChangedSlot(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_dateChangedSlot, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_tableClickedSlot(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_tableClickedSlot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->tableClickedSlot();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_tableClickedSlot, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_monthForwardClicked(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_monthForwardClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->monthForwardClicked();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_monthForwardClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_monthBackwardClicked(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_monthBackwardClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->monthBackwardClicked();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_monthBackwardClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_yearForwardClicked(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_yearForwardClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->yearForwardClicked();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_yearForwardClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_yearBackwardClicked(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_yearBackwardClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->yearBackwardClicked();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_yearBackwardClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_selectMonthClicked(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_selectMonthClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->selectMonthClicked();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_selectMonthClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_selectYearClicked(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_selectYearClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->selectYearClicked();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_selectYearClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_uncheckYearSelector(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_uncheckYearSelector(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->uncheckYearSelector();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_uncheckYearSelector, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_lineEnterPressed(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_lineEnterPressed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->lineEnterPressed();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_lineEnterPressed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_todayButtonClicked(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_todayButtonClicked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDatePicker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->todayButtonClicked();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_todayButtonClicked, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_weekSelected(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_weekSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KDatePicker, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->weekSelected(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_weekSelected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDatePicker_setCalendarSystem(PyObject *, PyObject *);}
static PyObject *meth_KDatePicker_setCalendarSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLocale::CalendarSystem a0;
         ::KDatePicker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDatePicker, &sipCpp, sipType_KLocale_CalendarSystem, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setCalendarSystem(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDatePicker, sipName_setCalendarSystem, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KDatePicker(void *, const sipTypeDef *);}
static void *cast_KDatePicker(void *sipCppV, const sipTypeDef *targetType)
{
     ::KDatePicker *sipCpp = reinterpret_cast< ::KDatePicker *>(sipCppV);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDatePicker(void *, int);}
static void release_KDatePicker(void *sipCppV, int)
{
     ::KDatePicker *sipCpp = reinterpret_cast< ::KDatePicker *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDatePicker(sipSimpleWrapper *);}
static void dealloc_KDatePicker(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDatePicker *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDatePicker(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KDatePicker(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDatePicker(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDatePicker *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDatePicker(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_QDate, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDatePicker(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDatePicker[] = {{37, 2, 1}};


static PyMethodDef methods_KDatePicker[] = {
    {SIP_MLNAME_CAST(sipName_calendar), meth_KDatePicker_calendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_date), meth_KDatePicker_date, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateChangedSlot), meth_KDatePicker_dateChangedSlot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateTable), meth_KDatePicker_dateTable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KDatePicker_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontSize), meth_KDatePicker_fontSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasCloseButton), meth_KDatePicker_hasCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEnterPressed), meth_KDatePicker_lineEnterPressed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_monthBackwardClicked), meth_KDatePicker_monthBackwardClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_monthForwardClicked), meth_KDatePicker_monthForwardClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KDatePicker_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectMonthClicked), meth_KDatePicker_selectMonthClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectYearClicked), meth_KDatePicker_selectYearClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendar), meth_KDatePicker_setCalendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendarSystem), meth_KDatePicker_setCalendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCloseButton), meth_KDatePicker_setCloseButton, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDate), meth_KDatePicker_setDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_KDatePicker_setEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFontSize), meth_KDatePicker_setFontSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KDatePicker_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tableClickedSlot), meth_KDatePicker_tableClickedSlot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_todayButtonClicked), meth_KDatePicker_todayButtonClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uncheckYearSelector), meth_KDatePicker_uncheckYearSelector, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_weekSelected), meth_KDatePicker_weekSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yearBackwardClicked), meth_KDatePicker_yearBackwardClicked, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yearForwardClicked), meth_KDatePicker_yearForwardClicked, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDatePicker[] = {
    {"tableClicked()", 0, 0, 0},
    {"dateEntered(QDate)", 0, 0, 0},
    {"dateSelected(QDate)", 0, 0, 0},
    {"dateChanged(QDate)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KDatePicker = {
    & ::KDatePicker::staticMetaObject,
    0,
    signals_KDatePicker
};


sipClassTypeDef sipTypeDef_kdeui_KDatePicker = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDatePicker,
        {0},
        &plugin_KDatePicker
    },
    {
        sipNameNr_KDatePicker,
        {0, 0, 1},
        26, methods_KDatePicker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDatePicker,
    0,
    init_type_KDatePicker,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDatePicker,
    0,
    0,
    0,
    release_KDatePicker,
    cast_KDatePicker,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatecombobox.sip"
#include <kdatecombobox.h>
#line 15182 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatecombobox.sip"
#include <kdatecombobox.h>
#line 15186 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static int slot_KDateComboBox_Options___bool__(PyObject *);}
static int slot_KDateComboBox_Options___bool__(PyObject *sipSelf)
{
     ::KDateComboBox::Options *sipCpp = reinterpret_cast< ::KDateComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateComboBox_Options));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDateComboBox::Options::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 15208 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDateComboBox_Options___ne__(PyObject *,PyObject *);}
static PyObject *slot_KDateComboBox_Options___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KDateComboBox::Options *sipCpp = reinterpret_cast< ::KDateComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDateComboBox_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDateComboBox::Options::Int() != a0->operator KDateComboBox::Options::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 15242 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KDateComboBox::Options *>(a0),sipType_KDateComboBox_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, ne_slot, sipType_KDateComboBox_Options, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KDateComboBox_Options___eq__(PyObject *,PyObject *);}
static PyObject *slot_KDateComboBox_Options___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KDateComboBox::Options *sipCpp = reinterpret_cast< ::KDateComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KDateComboBox_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KDateComboBox::Options::Int() == a0->operator KDateComboBox::Options::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 15282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KDateComboBox::Options *>(a0),sipType_KDateComboBox_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, eq_slot, sipType_KDateComboBox_Options, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KDateComboBox_Options___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KDateComboBox_Options___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDateComboBox_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KDateComboBox::Options *sipCpp = reinterpret_cast< ::KDateComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KDateComboBox::Options(*sipCpp ^ a0);
#line 15321 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDateComboBox_Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_KDateComboBox_Options___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateComboBox::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDateComboBox_Options, &a0, &a0State, &a1))
        {
             ::KDateComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateComboBox::Options((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDateComboBox_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDateComboBox_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_KDateComboBox_Options___ior__(PyObject *,PyObject *);}
static PyObject *slot_KDateComboBox_Options___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDateComboBox_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KDateComboBox::Options *sipCpp = reinterpret_cast< ::KDateComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KDateComboBox::Options(*sipCpp | a0);
#line 15395 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDateComboBox_Options___or__(PyObject *,PyObject *);}
static PyObject *slot_KDateComboBox_Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateComboBox::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDateComboBox_Options, &a0, &a0State, &a1))
        {
             ::KDateComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateComboBox::Options((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDateComboBox_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDateComboBox_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_KDateComboBox_Options___iand__(PyObject *,PyObject *);}
static PyObject *slot_KDateComboBox_Options___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KDateComboBox_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KDateComboBox::Options *sipCpp = reinterpret_cast< ::KDateComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateComboBox_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::KDateComboBox::Options::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KDateComboBox_Options___and__(PyObject *,PyObject *);}
static PyObject *slot_KDateComboBox_Options___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateComboBox::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KDateComboBox_Options, &a0, &a0State, &a1))
        {
             ::KDateComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateComboBox::Options((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDateComboBox_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_KDateComboBox_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_KDateComboBox_Options___invert__(PyObject *);}
static PyObject *slot_KDateComboBox_Options___invert__(PyObject *sipSelf)
{
     ::KDateComboBox::Options *sipCpp = reinterpret_cast< ::KDateComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateComboBox_Options));

    if (!sipCpp)
        return 0;


    {
        {
             ::KDateComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateComboBox::Options(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateComboBox_Options,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KDateComboBox_Options___int__(PyObject *);}
static PyObject *slot_KDateComboBox_Options___int__(PyObject *sipSelf)
{
     ::KDateComboBox::Options *sipCpp = reinterpret_cast< ::KDateComboBox::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KDateComboBox_Options));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDateComboBox_Options(void *, int);}
static void release_KDateComboBox_Options(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KDateComboBox::Options *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KDateComboBox_Options(void *, SIP_SSIZE_T, const void *);}
static void assign_KDateComboBox_Options(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KDateComboBox::Options *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KDateComboBox::Options *>(sipSrc);
}


extern "C" {static void *array_KDateComboBox_Options(SIP_SSIZE_T);}
static void *array_KDateComboBox_Options(SIP_SSIZE_T sipNrElem)
{
    return new  ::KDateComboBox::Options[sipNrElem];
}


extern "C" {static void *copy_KDateComboBox_Options(const void *, SIP_SSIZE_T);}
static void *copy_KDateComboBox_Options(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KDateComboBox::Options(reinterpret_cast<const  ::KDateComboBox::Options *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KDateComboBox_Options(sipSimpleWrapper *);}
static void dealloc_KDateComboBox_Options(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDateComboBox_Options(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KDateComboBox_Options(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDateComboBox_Options(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KDateComboBox::Options *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KDateComboBox::Options();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KDateComboBox::Options(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::KDateComboBox::Options* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KDateComboBox_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KDateComboBox::Options(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KDateComboBox::Options *>(a0),sipType_KDateComboBox_Options,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KDateComboBox_Options(PyObject *, void **, int *, PyObject *);}
static int convertTo_KDateComboBox_Options(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::KDateComboBox::Options **sipCppPtr = reinterpret_cast< ::KDateComboBox::Options **>(sipCppPtrV);

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KDateComboBox::Options is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDateComboBox_Option)) ||
            sipCanConvertToType(sipPy, sipType_KDateComboBox_Options, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KDateComboBox_Option)))
{
    *sipCppPtr = new KDateComboBox::Options(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KDateComboBox::Options *>(sipConvertToType(sipPy, sipType_KDateComboBox_Options, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 15683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KDateComboBox_Options[] = {
    {(void *)slot_KDateComboBox_Options___bool__, bool_slot},
    {(void *)slot_KDateComboBox_Options___ne__, ne_slot},
    {(void *)slot_KDateComboBox_Options___eq__, eq_slot},
    {(void *)slot_KDateComboBox_Options___ixor__, ixor_slot},
    {(void *)slot_KDateComboBox_Options___xor__, xor_slot},
    {(void *)slot_KDateComboBox_Options___ior__, ior_slot},
    {(void *)slot_KDateComboBox_Options___or__, or_slot},
    {(void *)slot_KDateComboBox_Options___iand__, iand_slot},
    {(void *)slot_KDateComboBox_Options___and__, and_slot},
    {(void *)slot_KDateComboBox_Options___invert__, invert_slot},
    {(void *)slot_KDateComboBox_Options___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KDateComboBox_Options = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KDateComboBox_Options = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KDateComboBox__Options,
        {0},
        &plugin_KDateComboBox_Options
    },
    {
        sipNameNr_Options,
        {73, 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_KDateComboBox_Options,
    init_type_KDateComboBox_Options,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateComboBox_Options,
    assign_KDateComboBox_Options,
    array_KDateComboBox_Options,
    copy_KDateComboBox_Options,
    release_KDateComboBox_Options,
    0,
    convertTo_KDateComboBox_Options,
    0,
    0,
    0,
    0,
    0
};

#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatecombobox.sip"
#include <kdatecombobox.h>
#line 15762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15766 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/klocale.sip"
#include <klocale.h>
#line 15769 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 15772 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 15775 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15778 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 15781 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15784 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15787 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15790 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15793 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 15799 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15802 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 23 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdatecombobox.sip"
#include <kdatecombobox.h>
#line 15805 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcalendarsystem.sip"
#include <kcalendarsystem.h>
#line 15808 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 15811 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 15817 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 15820 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 15823 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 15826 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 15829 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 15832 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 15835 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 15838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15841 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15844 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15847 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15850 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15853 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15856 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15859 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 1576 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 15862 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 15865 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 15868 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15871 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15874 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 15877 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 15880 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 15883 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15886 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15889 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 15892 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15895 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 15898 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 15901 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 15904 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 15907 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 15910 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 15913 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 15916 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 15919 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15922 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 15925 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 15928 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 15931 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 15934 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15937 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 15940 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15943 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15946 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15949 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15952 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15958 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15961 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 15964 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 15967 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 15970 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 15973 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 15976 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 15979 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 15982 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 15985 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15988 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 15991 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 15994 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 15997 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 16000 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16003 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 16006 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16009 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 16012 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 16015 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 16018 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 16021 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 16024 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 16027 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 16030 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKDateComboBox : public  ::KDateComboBox
{
public:
    sipKDateComboBox( ::QWidget*);
    virtual ~sipKDateComboBox();

    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 assignCalendarSystem( ::KLocale::CalendarSystem);
    void assignDate(const  ::QDate&);
    void hidePopup();
    void showPopup();
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCompletedItems(const  ::QStringList&,bool);
    void setCompletedText(const  ::QString&);
    void setCompletionMode( ::KGlobalSettings::Completion);
    void setHandleSignals(bool);
    void setCompletionObject( ::KCompletion*,bool);
    void setAutoCompletion(bool);
    void setContextMenuEnabled(bool);
    void setLineEdit( ::QLineEdit*);
    void makeCompletion(const  ::QString&);
    void setCompletedText(const  ::QString&,bool);
    void create( ::WId,bool,bool);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKDateComboBox(const sipKDateComboBox &);
    sipKDateComboBox &operator = (const sipKDateComboBox &);

    char sipPyMethods[62];
};

sipKDateComboBox::sipKDateComboBox( ::QWidget*a0):  ::KDateComboBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKDateComboBox::~sipKDateComboBox()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKDateComboBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KDateComboBox);
}

int sipKDateComboBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KDateComboBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KDateComboBox,_c,_id,_a);

    return _id;
}

void *sipKDateComboBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KDateComboBox, _clname)) ? this :  ::KDateComboBox::qt_metacast(_clname);
}

void sipKDateComboBox::assignCalendarSystem( ::KLocale::CalendarSystem a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_assignCalendarSystem);

    if (!sipMeth)
    {
         ::KDateComboBox::assignCalendarSystem(a0);
        return;
    }

    extern void sipVH_kdeui_132(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KLocale::CalendarSystem);

    sipVH_kdeui_132(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::assignDate(const  ::QDate& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_assignDate);

    if (!sipMeth)
    {
         ::KDateComboBox::assignDate(a0);
        return;
    }

    extern void sipVH_kdeui_131(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QDate&);

    sipVH_kdeui_131(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_hidePopup);

    if (!sipMeth)
    {
         ::KDateComboBox::hidePopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDateComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
         ::KDateComboBox::showPopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDateComboBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KDateComboBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KDateComboBox::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDateComboBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KDateComboBox::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKDateComboBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KDateComboBox::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKDateComboBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KDateComboBox::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKDateComboBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KDateComboBox::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDateComboBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KDateComboBox::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDateComboBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KDateComboBox::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKDateComboBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KDateComboBox::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKDateComboBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KDateComboBox::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKDateComboBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KDateComboBox::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KDateComboBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKDateComboBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KDateComboBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKDateComboBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KDateComboBox::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KDateComboBox::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KDateComboBox::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KDateComboBox::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KDateComboBox::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KDateComboBox::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKDateComboBox::setCompletedItems(const  ::QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCompletedItems);

    if (!sipMeth)
    {
         ::KDateComboBox::setCompletedItems(a0,a1);
        return;
    }

    extern void sipVH_kdeui_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStringList&,bool);

    sipVH_kdeui_114(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDateComboBox::setCompletedText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KDateComboBox::setCompletedText(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::setCompletionMode( ::KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
         ::KDateComboBox::setCompletionMode(a0);
        return;
    }

    extern void sipVH_kdeui_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KGlobalSettings::Completion);

    sipVH_kdeui_113(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setHandleSignals);

    if (!sipMeth)
    {
         ::KDateComboBox::setHandleSignals(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::setCompletionObject( ::KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setCompletionObject);

    if (!sipMeth)
    {
         ::KDateComboBox::setCompletionObject(a0,a1);
        return;
    }

    extern void sipVH_kdeui_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KCompletion*,bool);

    sipVH_kdeui_112(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDateComboBox::setAutoCompletion(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_setAutoCompletion);

    if (!sipMeth)
    {
         ::KDateComboBox::setAutoCompletion(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!sipMeth)
    {
         ::KDateComboBox::setContextMenuEnabled(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::setLineEdit( ::QLineEdit*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setLineEdit);

    if (!sipMeth)
    {
         ::KDateComboBox::setLineEdit(a0);
        return;
    }

    extern void sipVH_kdeui_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLineEdit*);

    sipVH_kdeui_115(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::makeCompletion(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
    {
         ::KDateComboBox::makeCompletion(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKDateComboBox::setCompletedText(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KDateComboBox::setCompletedText(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKDateComboBox::create( ::WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
    {
         ::KDateComboBox::create(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::WId,bool,bool);

    sipVH_kdeui_116(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


extern "C" {static PyObject *meth_KDateComboBox_date(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_date(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
             ::QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDate(sipCpp->date());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_date, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_calendar(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_calendar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
            const  ::KCalendarSystem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->calendar();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(const_cast< ::KCalendarSystem *>(sipRes),sipType_KCalendarSystem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_calendar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_isValid(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &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_KDateComboBox, sipName_isValid, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_options(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
             ::KDateComboBox::Options*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KDateComboBox::Options(sipCpp->options());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KDateComboBox_Options,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_options, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_minimumDate(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_minimumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
             ::QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDate(sipCpp->minimumDate());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_minimumDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_maximumDate(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_maximumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
             ::QDate*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QDate(sipCpp->maximumDate());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_maximumDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_resetMaximumDate(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_resetMaximumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetMaximumDate();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_resetMaximumDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_setDateRange(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_setDateRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
        const  ::QDate* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QDate, &a0, &a0State, sipType_QDate, &a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateRange(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);
            sipReleaseType(const_cast< ::QDate *>(a1),sipType_QDate,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_setDateRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_resetDateRange(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_resetDateRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetDateRange();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_resetDateRange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_setCalendar(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_setCalendar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCalendarSystem* a0 = 0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J8", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_KCalendarSystem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCalendar(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_setCalendar, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_setDate(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_setDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_setDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_setCalendarSystem(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_setCalendarSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLocale::CalendarSystem a0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_KLocale_CalendarSystem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCalendarSystem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_setCalendarSystem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_setOptions(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateComboBox::Options* a0;
        int a0State = 0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_KDateComboBox_Options, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOptions(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KDateComboBox_Options,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_setOptions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_setDisplayFormat(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_setDisplayFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KLocale::DateFormat a0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_KLocale_DateFormat, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDisplayFormat(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_setDisplayFormat, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_setMinimumDate(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_setMinimumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QDate, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMinimumDate(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,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_KDateComboBox, sipName_setMinimumDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_resetMinimumDate(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_resetMinimumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->resetMinimumDate();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_resetMinimumDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_setMaximumDate(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_setMaximumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QDate, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumDate(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,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_KDateComboBox, sipName_setMaximumDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_setDateMap(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_setDateMap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMap< ::QDate, ::QString>* a0;
        int a0State = 0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QMap_0100QDate_0100QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDateMap(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QMap_0100QDate_0100QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_setDateMap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KDateComboBox::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_showPopup(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_showPopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::showPopup() : sipCpp->showPopup());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_showPopup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_hidePopup(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_hidePopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::hidePopup() : sipCpp->hidePopup());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_hidePopup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::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_KDateComboBox, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::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_KDateComboBox, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::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_KDateComboBox, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::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_KDateComboBox, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::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_KDateComboBox, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::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_KDateComboBox, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_assignDate(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_assignDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::assignDate(*a0) : sipCpp->assignDate(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_assignDate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_assignCalendarSystem(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_assignCalendarSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KLocale::CalendarSystem a0;
         ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE", &sipSelf, sipType_KDateComboBox, &sipCpp, sipType_KLocale_CalendarSystem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KDateComboBox::assignCalendarSystem(a0) : sipCpp->assignCalendarSystem(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_assignCalendarSystem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_dateMap(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_dateMap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
            QMap< ::QDate, ::QString>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap< ::QDate, ::QString>(sipCpp->dateMap());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QDate_0100QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_dateMap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_calendarSystem(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_calendarSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
             ::KLocale::CalendarSystem sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->calendarSystem();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_CalendarSystem);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_calendarSystem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_isNull(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_isNull, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KDateComboBox_displayFormat(PyObject *, PyObject *);}
static PyObject *meth_KDateComboBox_displayFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KDateComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KDateComboBox, &sipCpp))
        {
             ::KLocale::DateFormat sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->displayFormat();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KLocale_DateFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KDateComboBox, sipName_displayFormat, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KDateComboBox(void *, const sipTypeDef *);}
static void *cast_KDateComboBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::KDateComboBox *sipCpp = reinterpret_cast< ::KDateComboBox *>(sipCppV);

    if (targetType == sipType_KComboBox)
        return static_cast< ::KComboBox *>(sipCpp);

    if (targetType == sipType_QComboBox)
        return static_cast< ::QComboBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    if (targetType == sipType_KCompletionBase)
        return static_cast< ::KCompletionBase *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KDateComboBox(void *, int);}
static void release_KDateComboBox(void *sipCppV, int)
{
     ::KDateComboBox *sipCpp = reinterpret_cast< ::KDateComboBox *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KDateComboBox(sipSimpleWrapper *);}
static void dealloc_KDateComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKDateComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KDateComboBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KDateComboBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KDateComboBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKDateComboBox *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKDateComboBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KDateComboBox[] = {{58, 255, 1}};


static PyMethodDef methods_KDateComboBox[] = {
    {SIP_MLNAME_CAST(sipName_assignCalendarSystem), meth_KDateComboBox_assignCalendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_assignDate), meth_KDateComboBox_assignDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calendar), meth_KDateComboBox_calendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calendarSystem), meth_KDateComboBox_calendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_date), meth_KDateComboBox_date, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dateMap), meth_KDateComboBox_dateMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_displayFormat), meth_KDateComboBox_displayFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KDateComboBox_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KDateComboBox_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KDateComboBox_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hidePopup), meth_KDateComboBox_hidePopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isNull), meth_KDateComboBox_isNull, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_KDateComboBox_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KDateComboBox_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumDate), meth_KDateComboBox_maximumDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumDate), meth_KDateComboBox_minimumDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KDateComboBox_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_options), meth_KDateComboBox_options, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetDateRange), meth_KDateComboBox_resetDateRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetMaximumDate), meth_KDateComboBox_resetMaximumDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetMinimumDate), meth_KDateComboBox_resetMinimumDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KDateComboBox_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendar), meth_KDateComboBox_setCalendar, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendarSystem), meth_KDateComboBox_setCalendarSystem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDate), meth_KDateComboBox_setDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateMap), meth_KDateComboBox_setDateMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDateRange), meth_KDateComboBox_setDateRange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisplayFormat), meth_KDateComboBox_setDisplayFormat, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumDate), meth_KDateComboBox_setMaximumDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMinimumDate), meth_KDateComboBox_setMinimumDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_KDateComboBox_setOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showPopup), meth_KDateComboBox_showPopup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KDateComboBox_wheelEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KDateComboBox[] = {
    {sipName_DateKeywords, static_cast<int>( ::KDateComboBox::DateKeywords), 74},
    {sipName_DatePicker, static_cast<int>( ::KDateComboBox::DatePicker), 74},
    {sipName_EditDate, static_cast<int>( ::KDateComboBox::EditDate), 74},
    {sipName_SelectDate, static_cast<int>( ::KDateComboBox::SelectDate), 74},
    {sipName_WarnOnInvalid, static_cast<int>( ::KDateComboBox::WarnOnInvalid), 74},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KDateComboBox[] = {
    {"dateEdited(QDate)", 0, 0, 0},
    {"dateChanged(QDate)", 0, 0, 0},
    {"dateEntered(QDate)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KDateComboBox = {
    & ::KDateComboBox::staticMetaObject,
    0,
    signals_KDateComboBox
};


sipClassTypeDef sipTypeDef_kdeui_KDateComboBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KDateComboBox,
        {0},
        &plugin_KDateComboBox
    },
    {
        sipNameNr_KDateComboBox,
        {0, 0, 1},
        33, methods_KDateComboBox,
        5, enummembers_KDateComboBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KDateComboBox,
    0,
    init_type_KDateComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KDateComboBox,
    0,
    0,
    0,
    release_KDateComboBox,
    cast_KDateComboBox,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcursor.sip"
#include <kcursor.h>
#line 18368 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 18372 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 18375 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 18378 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 18381 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18384 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 18387 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 18390 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 18393 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 18396 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static PyObject *meth_KCursor_setAutoHideCursor(PyObject *, PyObject *);}
static PyObject *meth_KCursor_setAutoHideCursor(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        bool a1;
        bool a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8b|b", sipType_QWidget, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KCursor::setAutoHideCursor(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_KCursor, sipName_setAutoHideCursor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCursor_setHideCursorDelay(PyObject *, PyObject *);}
static PyObject *meth_KCursor_setHideCursorDelay(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KCursor::setHideCursorDelay(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCursor, sipName_setHideCursorDelay, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCursor_hideCursorDelay(PyObject *, PyObject *);}
static PyObject *meth_KCursor_hideCursorDelay(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KCursor::hideCursorDelay();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCursor, sipName_hideCursorDelay, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCursor_autoHideEventFilter(PyObject *, PyObject *);}
static PyObject *meth_KCursor_autoHideEventFilter(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::QEvent* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J8", sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KCursor::autoHideEventFilter(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_KCursor, sipName_autoHideEventFilter, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KCursor(void *, const sipTypeDef *);}
static void *cast_KCursor(void *sipCppV, const sipTypeDef *targetType)
{
     ::KCursor *sipCpp = reinterpret_cast< ::KCursor *>(sipCppV);

    if (targetType == sipType_QCursor)
        return static_cast< ::QCursor *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCursor(void *, int);}
static void release_KCursor(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KCursor *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCursor(sipSimpleWrapper *);}
static void dealloc_KCursor(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KCursor(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KCursor(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCursor(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KCursor *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Qt::CursorShape a1 = Qt::ArrowCursor;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|E", sipType_QString,&a0, &a0State, sipType_Qt_CursorShape, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KCursor(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QCursor* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QCursor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KCursor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QCursor *>(a0),sipType_QCursor,a0State);

            return sipCpp;
        }
    }

    {
        const  ::KCursor* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KCursor, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KCursor(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCursor[] = {{24, 2, 1}};


static PyMethodDef methods_KCursor[] = {
    {SIP_MLNAME_CAST(sipName_autoHideEventFilter), meth_KCursor_autoHideEventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideCursorDelay), meth_KCursor_hideCursorDelay, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoHideCursor), meth_KCursor_setAutoHideCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHideCursorDelay), meth_KCursor_setHideCursorDelay, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KCursor = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KCursor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCursor,
        {0},
        &plugin_KCursor
    },
    {
        sipNameNr_KCursor,
        {0, 0, 1},
        4, methods_KCursor,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCursor,
    0,
    init_type_KCursor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCursor,
    0,
    0,
    0,
    release_KCursor,
    cast_KCursor,
    0,
    0,
    0,
    0,
    0,
    0
};




extern "C" {static int slot_KCrash_CrashFlags___bool__(PyObject *);}
static int slot_KCrash_CrashFlags___bool__(PyObject *sipSelf)
{
     ::KCrash::CrashFlags *sipCpp = reinterpret_cast< ::KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 381 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCrash::CrashFlags::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 18683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_KCrash_CrashFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KCrash::CrashFlags *sipCpp = reinterpret_cast< ::KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KCrash::CrashFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCrash_CrashFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 372 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCrash::CrashFlags::Int() != a0->operator KCrash::CrashFlags::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 18717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KCrash::CrashFlags *>(a0),sipType_KCrash_CrashFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, ne_slot, sipType_KCrash_CrashFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_KCrash_CrashFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::KCrash::CrashFlags *sipCpp = reinterpret_cast< ::KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::KCrash::CrashFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_KCrash_CrashFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 363 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator KCrash::CrashFlags::Int() == a0->operator KCrash::CrashFlags::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 18757 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
            sipReleaseType(const_cast< ::KCrash::CrashFlags *>(a0),sipType_KCrash_CrashFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, eq_slot, sipType_KCrash_CrashFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_KCrash_CrashFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KCrash::CrashFlags *sipCpp = reinterpret_cast< ::KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 357 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KCrash::CrashFlags(*sipCpp ^ a0);
#line 18796 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_KCrash_CrashFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCrash::CrashFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCrash_CrashFlags, &a0, &a0State, &a1))
        {
             ::KCrash::CrashFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KCrash::CrashFlags((*a0 ^ a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCrash_CrashFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_KCrash_CrashFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KCrash::CrashFlags *sipCpp = reinterpret_cast< ::KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 351 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
        *sipCpp = KCrash::CrashFlags(*sipCpp | a0);
#line 18870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_KCrash_CrashFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCrash::CrashFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCrash_CrashFlags, &a0, &a0State, &a1))
        {
             ::KCrash::CrashFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KCrash::CrashFlags((*a0 | a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCrash_CrashFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_KCrash_CrashFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::KCrash::CrashFlags *sipCpp = reinterpret_cast< ::KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp-> ::KCrash::CrashFlags::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_KCrash_CrashFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCrash::CrashFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_KCrash_CrashFlags, &a0, &a0State, &a1))
        {
             ::KCrash::CrashFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KCrash::CrashFlags((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_KCrash_CrashFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_kdeui, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___invert__(PyObject *);}
static PyObject *slot_KCrash_CrashFlags___invert__(PyObject *sipSelf)
{
     ::KCrash::CrashFlags *sipCpp = reinterpret_cast< ::KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::KCrash::CrashFlags*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KCrash::CrashFlags(~(*sipCpp));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KCrash_CrashFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_KCrash_CrashFlags___int__(PyObject *);}
static PyObject *slot_KCrash_CrashFlags___int__(PyObject *sipSelf)
{
     ::KCrash::CrashFlags *sipCpp = reinterpret_cast< ::KCrash::CrashFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_KCrash_CrashFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCrash_CrashFlags(void *, int);}
static void release_KCrash_CrashFlags(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KCrash::CrashFlags *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KCrash_CrashFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_KCrash_CrashFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KCrash::CrashFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KCrash::CrashFlags *>(sipSrc);
}


extern "C" {static void *array_KCrash_CrashFlags(SIP_SSIZE_T);}
static void *array_KCrash_CrashFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::KCrash::CrashFlags[sipNrElem];
}


extern "C" {static void *copy_KCrash_CrashFlags(const void *, SIP_SSIZE_T);}
static void *copy_KCrash_CrashFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KCrash::CrashFlags(reinterpret_cast<const  ::KCrash::CrashFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KCrash_CrashFlags(sipSimpleWrapper *);}
static void dealloc_KCrash_CrashFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KCrash_CrashFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KCrash_CrashFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCrash_CrashFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KCrash::CrashFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KCrash::CrashFlags();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KCrash::CrashFlags(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const  ::KCrash::CrashFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_KCrash_CrashFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KCrash::CrashFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::KCrash::CrashFlags *>(a0),sipType_KCrash_CrashFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_KCrash_CrashFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_KCrash_CrashFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::KCrash::CrashFlags **sipCppPtr = reinterpret_cast< ::KCrash::CrashFlags **>(sipCppPtrV);

#line 390 "/usr/share/sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a KCrash::CrashFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlag)) ||
            sipCanConvertToType(sipPy, sipType_KCrash_CrashFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_KCrash_CrashFlag)))
{
    *sipCppPtr = new KCrash::CrashFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<KCrash::CrashFlags *>(sipConvertToType(sipPy, sipType_KCrash_CrashFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 19158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_KCrash_CrashFlags[] = {
    {(void *)slot_KCrash_CrashFlags___bool__, bool_slot},
    {(void *)slot_KCrash_CrashFlags___ne__, ne_slot},
    {(void *)slot_KCrash_CrashFlags___eq__, eq_slot},
    {(void *)slot_KCrash_CrashFlags___ixor__, ixor_slot},
    {(void *)slot_KCrash_CrashFlags___xor__, xor_slot},
    {(void *)slot_KCrash_CrashFlags___ior__, ior_slot},
    {(void *)slot_KCrash_CrashFlags___or__, or_slot},
    {(void *)slot_KCrash_CrashFlags___iand__, iand_slot},
    {(void *)slot_KCrash_CrashFlags___and__, and_slot},
    {(void *)slot_KCrash_CrashFlags___invert__, invert_slot},
    {(void *)slot_KCrash_CrashFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};


static pyqt4ClassPluginDef plugin_KCrash_CrashFlags = {
    0,
    1,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KCrash_CrashFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KCrash__CrashFlags,
        {0},
        &plugin_KCrash_CrashFlags
    },
    {
        sipNameNr_CrashFlags,
        {69, 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_KCrash_CrashFlags,
    init_type_KCrash_CrashFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCrash_CrashFlags,
    assign_KCrash_CrashFlags,
    array_KCrash_CrashFlags,
    copy_KCrash_CrashFlags,
    release_KCrash_CrashFlags,
    0,
    convertTo_KCrash_CrashFlags,
    0,
    0,
    0,
    0,
    0
};


#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static PyObject *meth_KCrash_isDrKonqiEnabled(PyObject *, PyObject *);}
static PyObject *meth_KCrash_isDrKonqiEnabled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KCrash::isDrKonqiEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_isDrKonqiEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrash_setDrKonqiEnabled(PyObject *, PyObject *);}
static PyObject *meth_KCrash_setDrKonqiEnabled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "b", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KCrash::setDrKonqiEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_setDrKonqiEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrash_setApplicationName(PyObject *, PyObject *);}
static PyObject *meth_KCrash_setApplicationName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KCrash::setApplicationName(*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. */
    sipNoFunction(sipParseErr, sipName_setApplicationName, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrash_setApplicationPath(PyObject *, PyObject *);}
static PyObject *meth_KCrash_setApplicationPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KCrash::setApplicationPath(*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. */
    sipNoFunction(sipParseErr, sipName_setApplicationPath, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrash_setFlags(PyObject *, PyObject *);}
static PyObject *meth_KCrash_setFlags(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCrash::CrashFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_KCrash_CrashFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KCrash::setFlags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KCrash_CrashFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_setFlags, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCrash_defaultCrashHandler(PyObject *, PyObject *);}
static PyObject *meth_KCrash_defaultCrashHandler(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KCrash::defaultCrashHandler(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_defaultCrashHandler, NULL);

    return NULL;
}


static PyMethodDef methods_KCrash[] = {
    {SIP_MLNAME_CAST(sipName_defaultCrashHandler), meth_KCrash_defaultCrashHandler, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDrKonqiEnabled), meth_KCrash_isDrKonqiEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setApplicationName), meth_KCrash_setApplicationName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setApplicationPath), meth_KCrash_setApplicationPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDrKonqiEnabled), meth_KCrash_setDrKonqiEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_KCrash_setFlags, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCrash[] = {
    {sipName_AlwaysDirectly, static_cast<int>( ::KCrash::AlwaysDirectly), 70},
    {sipName_AutoRestart, static_cast<int>( ::KCrash::AutoRestart), 70},
    {sipName_KeepFDs, static_cast<int>( ::KCrash::KeepFDs), 70},
    {sipName_SaferDialog, static_cast<int>( ::KCrash::SaferDialog), 70},
};


static pyqt4ClassPluginDef plugin_KCrash = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KCrash = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KCrash,
        {0},
        &plugin_KCrash
    },
    {
        sipNameNr_KCrash,
        {0, 0, 1},
        6, methods_KCrash,
        4, enummembers_KCrash,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 19477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 19484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 36 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 19490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 19493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKConfigSkeleton_ItemFont : public  ::KConfigSkeleton::ItemFont
{
public:
    sipKConfigSkeleton_ItemFont(const  ::QString&,const  ::QString&, ::QFont&,const  ::QFont&);
    virtual ~sipKConfigSkeleton_ItemFont();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void readConfig( ::KConfig*);
    void writeConfig( ::KConfig*);
    void readDefault( ::KConfig*);
    void setProperty(const  ::QVariant&);
    bool isEqual(const  ::QVariant&) const;
     ::QVariant property() const;
     ::QVariant minValue() const;
     ::QVariant maxValue() const;
    void setDefault();
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKConfigSkeleton_ItemFont(const sipKConfigSkeleton_ItemFont &);
    sipKConfigSkeleton_ItemFont &operator = (const sipKConfigSkeleton_ItemFont &);

    char sipPyMethods[10];
};

sipKConfigSkeleton_ItemFont::sipKConfigSkeleton_ItemFont(const  ::QString& a0,const  ::QString& a1, ::QFont& a2,const  ::QFont& a3):  ::KConfigSkeleton::ItemFont(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigSkeleton_ItemFont::~sipKConfigSkeleton_ItemFont()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipKConfigSkeleton_ItemFont::readConfig( ::KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
         ::KConfigSkeleton::ItemFont::readConfig(a0);
        return;
    }

    extern void sipVH_kdeui_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfig*);

    sipVH_kdeui_130(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton_ItemFont::writeConfig( ::KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_ItemFont,sipName_writeConfig);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfig*);

    sipVH_kdeui_130(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton_ItemFont::readDefault( ::KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_ItemFont,sipName_readDefault);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfig*);

    sipVH_kdeui_130(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton_ItemFont::setProperty(const  ::QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setProperty);

    if (!sipMeth)
    {
         ::KConfigSkeleton::ItemFont::setProperty(a0);
        return;
    }

    extern void sipVH_kdeui_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&);

    sipVH_kdeui_129(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKConfigSkeleton_ItemFont::isEqual(const  ::QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isEqual);

    if (!sipMeth)
        return  ::KConfigSkeleton::ItemFont::isEqual(a0);

    extern bool sipVH_kdeui_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&);

    return sipVH_kdeui_128(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKConfigSkeleton_ItemFont::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_property);

    if (!sipMeth)
        return  ::KConfigSkeleton::ItemFont::property();

    extern  ::QVariant sipVH_kdeui_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_127(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QVariant sipKConfigSkeleton_ItemFont::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_minValue);

    if (!sipMeth)
        return  ::KConfigSkeleton::ItemFont::minValue();

    extern  ::QVariant sipVH_kdeui_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_127(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QVariant sipKConfigSkeleton_ItemFont::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_maxValue);

    if (!sipMeth)
        return  ::KConfigSkeleton::ItemFont::maxValue();

    extern  ::QVariant sipVH_kdeui_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_127(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigSkeleton_ItemFont::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_ItemFont,sipName_setDefault);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigSkeleton_ItemFont::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_ItemFont,sipName_swapDefault);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KConfigSkeleton_ItemFont_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_ItemFont_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfig* a0;
         ::KConfigSkeleton::ItemFont *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KConfigSkeleton_ItemFont, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KConfigSkeleton::ItemFont::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemFont, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeleton_ItemFont_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_ItemFont_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVariant* a0;
        int a0State = 0;
         ::KConfigSkeleton::ItemFont *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeleton_ItemFont, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KConfigSkeleton::ItemFont::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemFont, sipName_setProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeleton_ItemFont_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_ItemFont_isEqual(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVariant* a0;
        int a0State = 0;
        const  ::KConfigSkeleton::ItemFont *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeleton_ItemFont, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KConfigSkeleton::ItemFont::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemFont, sipName_isEqual, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeleton_ItemFont_property(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_ItemFont_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KConfigSkeleton::ItemFont *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeleton_ItemFont, &sipCpp))
        {
             ::QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::KConfigSkeleton::ItemFont::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemFont, sipName_property, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KConfigSkeleton_ItemFont(void *, const sipTypeDef *);}
static void *cast_KConfigSkeleton_ItemFont(void *sipCppV, const sipTypeDef *targetType)
{
     ::KConfigSkeleton::ItemFont *sipCpp = reinterpret_cast< ::KConfigSkeleton::ItemFont *>(sipCppV);

    if (targetType == sipType_KConfigSkeletonItem)
        return static_cast< ::KConfigSkeletonItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfigSkeleton_ItemFont(void *, int);}
static void release_KConfigSkeleton_ItemFont(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKConfigSkeleton_ItemFont *>(sipCppV);
    else
        delete reinterpret_cast< ::KConfigSkeleton::ItemFont *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KConfigSkeleton_ItemFont(sipSimpleWrapper *);}
static void dealloc_KConfigSkeleton_ItemFont(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKConfigSkeleton_ItemFont *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KConfigSkeleton_ItemFont(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KConfigSkeleton_ItemFont(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfigSkeleton_ItemFont(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKConfigSkeleton_ItemFont *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QFont* a2;
        const  ::QFont& a3def = QFont();
        const  ::QFont* a3 = &a3def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J9|J9", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QFont, &a2, sipType_QFont, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigSkeleton_ItemFont(*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;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KConfigSkeleton_ItemFont[] = {{8, 3, 1}};


static PyMethodDef methods_KConfigSkeleton_ItemFont[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KConfigSkeleton_ItemFont_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KConfigSkeleton_ItemFont_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KConfigSkeleton_ItemFont_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KConfigSkeleton_ItemFont_setProperty, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KConfigSkeleton_ItemFont = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KConfigSkeleton_ItemFont = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KConfigSkeleton__ItemFont,
        {0},
        &plugin_KConfigSkeleton_ItemFont
    },
    {
        sipNameNr_ItemFont,
        {66, 255, 0},
        4, methods_KConfigSkeleton_ItemFont,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KConfigSkeleton_ItemFont,
    0,
    init_type_KConfigSkeleton_ItemFont,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigSkeleton_ItemFont,
    0,
    0,
    0,
    release_KConfigSkeleton_ItemFont,
    cast_KConfigSkeleton_ItemFont,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 19955 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 19962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 36 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 19968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 19971 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKConfigSkeleton_ItemColor : public  ::KConfigSkeleton::ItemColor
{
public:
    sipKConfigSkeleton_ItemColor(const  ::QString&,const  ::QString&, ::QColor&,const  ::QColor&);
    virtual ~sipKConfigSkeleton_ItemColor();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void readConfig( ::KConfig*);
    void writeConfig( ::KConfig*);
    void readDefault( ::KConfig*);
    void setProperty(const  ::QVariant&);
    bool isEqual(const  ::QVariant&) const;
     ::QVariant property() const;
     ::QVariant minValue() const;
     ::QVariant maxValue() const;
    void setDefault();
    void swapDefault();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKConfigSkeleton_ItemColor(const sipKConfigSkeleton_ItemColor &);
    sipKConfigSkeleton_ItemColor &operator = (const sipKConfigSkeleton_ItemColor &);

    char sipPyMethods[10];
};

sipKConfigSkeleton_ItemColor::sipKConfigSkeleton_ItemColor(const  ::QString& a0,const  ::QString& a1, ::QColor& a2,const  ::QColor& a3):  ::KConfigSkeleton::ItemColor(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigSkeleton_ItemColor::~sipKConfigSkeleton_ItemColor()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipKConfigSkeleton_ItemColor::readConfig( ::KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
         ::KConfigSkeleton::ItemColor::readConfig(a0);
        return;
    }

    extern void sipVH_kdeui_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfig*);

    sipVH_kdeui_130(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton_ItemColor::writeConfig( ::KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_ItemColor,sipName_writeConfig);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfig*);

    sipVH_kdeui_130(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton_ItemColor::readDefault( ::KConfig*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_ItemColor,sipName_readDefault);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KConfig*);

    sipVH_kdeui_130(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton_ItemColor::setProperty(const  ::QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setProperty);

    if (!sipMeth)
    {
         ::KConfigSkeleton::ItemColor::setProperty(a0);
        return;
    }

    extern void sipVH_kdeui_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&);

    sipVH_kdeui_129(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKConfigSkeleton_ItemColor::isEqual(const  ::QVariant& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_isEqual);

    if (!sipMeth)
        return  ::KConfigSkeleton::ItemColor::isEqual(a0);

    extern bool sipVH_kdeui_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&);

    return sipVH_kdeui_128(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKConfigSkeleton_ItemColor::property() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_property);

    if (!sipMeth)
        return  ::KConfigSkeleton::ItemColor::property();

    extern  ::QVariant sipVH_kdeui_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_127(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QVariant sipKConfigSkeleton_ItemColor::minValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_minValue);

    if (!sipMeth)
        return  ::KConfigSkeleton::ItemColor::minValue();

    extern  ::QVariant sipVH_kdeui_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_127(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QVariant sipKConfigSkeleton_ItemColor::maxValue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_maxValue);

    if (!sipMeth)
        return  ::KConfigSkeleton::ItemColor::maxValue();

    extern  ::QVariant sipVH_kdeui_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_127(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigSkeleton_ItemColor::setDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_ItemColor,sipName_setDefault);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigSkeleton_ItemColor::swapDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_ItemColor,sipName_swapDefault);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KConfigSkeleton_ItemColor_readConfig(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_ItemColor_readConfig(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfig* a0;
         ::KConfigSkeleton::ItemColor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KConfigSkeleton_ItemColor, &sipCpp, sipType_KConfig, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KConfigSkeleton::ItemColor::readConfig(a0) : sipCpp->readConfig(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemColor, sipName_readConfig, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeleton_ItemColor_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_ItemColor_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVariant* a0;
        int a0State = 0;
         ::KConfigSkeleton::ItemColor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeleton_ItemColor, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KConfigSkeleton::ItemColor::setProperty(*a0) : sipCpp->setProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemColor, sipName_setProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeleton_ItemColor_isEqual(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_ItemColor_isEqual(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVariant* a0;
        int a0State = 0;
        const  ::KConfigSkeleton::ItemColor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KConfigSkeleton_ItemColor, &sipCpp, sipType_QVariant,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KConfigSkeleton::ItemColor::isEqual(*a0) : sipCpp->isEqual(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemColor, sipName_isEqual, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeleton_ItemColor_property(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_ItemColor_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KConfigSkeleton::ItemColor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigSkeleton_ItemColor, &sipCpp))
        {
             ::QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::KConfigSkeleton::ItemColor::property() : sipCpp->property()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_ItemColor, sipName_property, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KConfigSkeleton_ItemColor(void *, const sipTypeDef *);}
static void *cast_KConfigSkeleton_ItemColor(void *sipCppV, const sipTypeDef *targetType)
{
     ::KConfigSkeleton::ItemColor *sipCpp = reinterpret_cast< ::KConfigSkeleton::ItemColor *>(sipCppV);

    if (targetType == sipType_KConfigSkeletonItem)
        return static_cast< ::KConfigSkeletonItem *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfigSkeleton_ItemColor(void *, int);}
static void release_KConfigSkeleton_ItemColor(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKConfigSkeleton_ItemColor *>(sipCppV);
    else
        delete reinterpret_cast< ::KConfigSkeleton::ItemColor *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KConfigSkeleton_ItemColor(sipSimpleWrapper *);}
static void dealloc_KConfigSkeleton_ItemColor(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKConfigSkeleton_ItemColor *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KConfigSkeleton_ItemColor(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KConfigSkeleton_ItemColor(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfigSkeleton_ItemColor(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKConfigSkeleton_ItemColor *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QColor* a2;
        int a2State = 0;
        const  ::QColor& a3def = QColor(128,128,128);
        const  ::QColor* a3 = &a3def;
        int a3State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QColor, &a2, &a2State, sipType_QColor, &a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigSkeleton_ItemColor(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QColor,a2State);
            sipReleaseType(const_cast< ::QColor *>(a3),sipType_QColor,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KConfigSkeleton_ItemColor[] = {{8, 3, 1}};


static PyMethodDef methods_KConfigSkeleton_ItemColor[] = {
    {SIP_MLNAME_CAST(sipName_isEqual), meth_KConfigSkeleton_ItemColor_isEqual, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KConfigSkeleton_ItemColor_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_readConfig), meth_KConfigSkeleton_ItemColor_readConfig, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KConfigSkeleton_ItemColor_setProperty, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KConfigSkeleton_ItemColor = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KConfigSkeleton_ItemColor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KConfigSkeleton__ItemColor,
        {0},
        &plugin_KConfigSkeleton_ItemColor
    },
    {
        sipNameNr_ItemColor,
        {66, 255, 0},
        4, methods_KConfigSkeleton_ItemColor,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KConfigSkeleton_ItemColor,
    0,
    init_type_KConfigSkeleton_ItemColor,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigSkeleton_ItemColor,
    0,
    0,
    0,
    release_KConfigSkeleton_ItemColor,
    cast_KConfigSkeleton_ItemColor,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 20437 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 20441 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 20444 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <ksharedptr.h>
#line 20447 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 20450 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 20453 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 20456 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 20459 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 20462 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20465 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20468 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 36 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfig.sip"
#include <kconfig.h>
#line 20471 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20474 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 623 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20477 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20480 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 20483 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20486 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 397 "/usr/share/sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 20489 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20492 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 20495 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20498 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20501 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20504 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 20507 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20510 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20513 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20516 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20519 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20522 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20528 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20531 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20534 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20537 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 20540 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20543 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20546 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20549 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20552 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20555 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20558 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 20561 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 20564 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20567 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20570 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKConfigSkeleton : public  ::KConfigSkeleton
{
public:
    sipKConfigSkeleton(const  ::QString&, ::QObject*);
    sipKConfigSkeleton( ::KSharedConfig::Ptr, ::QObject*);
    virtual ~sipKConfigSkeleton();

    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 setDefaults();
    void readConfig();
    void writeConfig();
    bool useDefaults(bool);
    bool usrUseDefaults(bool);
    void usrSetDefaults();
    void usrReadConfig();
    void usrWriteConfig();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKConfigSkeleton(const sipKConfigSkeleton &);
    sipKConfigSkeleton &operator = (const sipKConfigSkeleton &);

    char sipPyMethods[15];
};

sipKConfigSkeleton::sipKConfigSkeleton(const  ::QString& a0, ::QObject*a1):  ::KConfigSkeleton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigSkeleton::sipKConfigSkeleton( ::KSharedConfig::Ptr a0, ::QObject*a1):  ::KConfigSkeleton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigSkeleton::~sipKConfigSkeleton()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKConfigSkeleton::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KConfigSkeleton);
}

int sipKConfigSkeleton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KConfigSkeleton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KConfigSkeleton,_c,_id,_a);

    return _id;
}

void *sipKConfigSkeleton::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KConfigSkeleton, _clname)) ? this :  ::KConfigSkeleton::qt_metacast(_clname);
}

void sipKConfigSkeleton::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KConfigSkeleton::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KConfigSkeleton::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KConfigSkeleton::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KConfigSkeleton::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KConfigSkeleton::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKConfigSkeleton::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KConfigSkeleton::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKConfigSkeleton::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KConfigSkeleton::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton::setDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setDefaults);

    if (!sipMeth)
    {
         ::KConfigSkeleton::setDefaults();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigSkeleton::readConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_readConfig);

    if (!sipMeth)
    {
         ::KConfigSkeleton::readConfig();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigSkeleton::writeConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_writeConfig);

    if (!sipMeth)
    {
         ::KConfigSkeleton::writeConfig();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKConfigSkeleton::useDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_useDefaults);

    if (!sipMeth)
        return  ::KConfigSkeleton::useDefaults(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKConfigSkeleton::usrUseDefaults(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_usrUseDefaults);

    if (!sipMeth)
        return  ::KConfigSkeleton::usrUseDefaults(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigSkeleton::usrSetDefaults()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_usrSetDefaults);

    if (!sipMeth)
    {
         ::KConfigSkeleton::usrSetDefaults();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigSkeleton::usrReadConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_usrReadConfig);

    if (!sipMeth)
    {
         ::KConfigSkeleton::usrReadConfig();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigSkeleton::usrWriteConfig()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_usrWriteConfig);

    if (!sipMeth)
    {
         ::KConfigSkeleton::usrWriteConfig();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KConfigSkeleton_addItemColor(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_addItemColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QColor* a1;
        int a1State = 0;
        const  ::QColor& a2def = QColor(128,128,128);
        const  ::QColor* a2 = &a2def;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1|J1J1", &sipSelf, sipType_KConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QColor, &a1, &a1State, sipType_QColor, &a2, &a2State, sipType_QString,&a3, &a3State))
        {
             ::KConfigSkeleton::ItemColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemColor(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QColor,a1State);
            sipReleaseType(const_cast< ::QColor *>(a2),sipType_QColor,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KConfigSkeleton_ItemColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeleton, sipName_addItemColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigSkeleton_addItemFont(PyObject *, PyObject *);}
static PyObject *meth_KConfigSkeleton_addItemFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFont* a1;
        const  ::QFont& a2def = QFont();
        const  ::QFont* a2 = &a2def;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::KConfigSkeleton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9|J9J1", &sipSelf, sipType_KConfigSkeleton, &sipCpp, sipType_QString,&a0, &a0State, sipType_QFont, &a1, sipType_QFont, &a2, sipType_QString,&a3, &a3State))
        {
             ::KConfigSkeleton::ItemFont*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addItemFont(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KConfigSkeleton_ItemFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigSkeleton, sipName_addItemFont, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KConfigSkeleton(void *, const sipTypeDef *);}
static void *cast_KConfigSkeleton(void *sipCppV, const sipTypeDef *targetType)
{
     ::KConfigSkeleton *sipCpp = reinterpret_cast< ::KConfigSkeleton *>(sipCppV);

    if (targetType == sipType_KCoreConfigSkeleton)
        return static_cast< ::KCoreConfigSkeleton *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfigSkeleton(void *, int);}
static void release_KConfigSkeleton(void *sipCppV, int)
{
     ::KConfigSkeleton *sipCpp = reinterpret_cast< ::KConfigSkeleton *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KConfigSkeleton(sipSimpleWrapper *);}
static void dealloc_KConfigSkeleton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKConfigSkeleton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KConfigSkeleton(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KConfigSkeleton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfigSkeleton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKConfigSkeleton *sipCpp = 0;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigSkeleton(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::KSharedConfig::Ptr* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|JH", sipType_KSharedPtr_0100KSharedConfig,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigSkeleton(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KSharedPtr_0100KSharedConfig,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KConfigSkeleton[] = {{9, 3, 1}};


static PyMethodDef methods_KConfigSkeleton[] = {
    {SIP_MLNAME_CAST(sipName_addItemColor), meth_KConfigSkeleton_addItemColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addItemFont), meth_KConfigSkeleton_addItemFont, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KConfigSkeleton = {
    & ::KConfigSkeleton::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KConfigSkeleton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KConfigSkeleton,
        {0},
        &plugin_KConfigSkeleton
    },
    {
        sipNameNr_KConfigSkeleton,
        {0, 0, 1},
        2, methods_KConfigSkeleton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KConfigSkeleton,
    0,
    init_type_KConfigSkeleton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigSkeleton,
    0,
    0,
    0,
    release_KConfigSkeleton,
    cast_KConfigSkeleton,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigdialogmanager.sip"
#include <kconfigdialogmanager.h>
#line 21147 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 21151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 21154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 21157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 21160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 21169 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 68 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21172 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 21175 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21178 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21181 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21184 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 21187 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21190 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21193 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 21196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 21199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21202 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21205 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKConfigDialogManager : public  ::KConfigDialogManager
{
public:
    sipKConfigDialogManager( ::QWidget*, ::KConfigSkeleton*);
    sipKConfigDialogManager( ::QWidget*, ::KCoreConfigSkeleton*);
    virtual ~sipKConfigDialogManager();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKConfigDialogManager(const sipKConfigDialogManager &);
    sipKConfigDialogManager &operator = (const sipKConfigDialogManager &);

    char sipPyMethods[7];
};

sipKConfigDialogManager::sipKConfigDialogManager( ::QWidget*a0, ::KConfigSkeleton*a1):  ::KConfigDialogManager(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigDialogManager::sipKConfigDialogManager( ::QWidget*a0, ::KCoreConfigSkeleton*a1):  ::KConfigDialogManager(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigDialogManager::~sipKConfigDialogManager()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKConfigDialogManager::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KConfigDialogManager);
}

int sipKConfigDialogManager::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KConfigDialogManager::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KConfigDialogManager,_c,_id,_a);

    return _id;
}

void *sipKConfigDialogManager::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KConfigDialogManager, _clname)) ? this :  ::KConfigDialogManager::qt_metacast(_clname);
}

bool sipKConfigDialogManager::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KConfigDialogManager::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKConfigDialogManager::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KConfigDialogManager::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKConfigDialogManager::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KConfigDialogManager::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialogManager::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KConfigDialogManager::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialogManager::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KConfigDialogManager::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialogManager::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KConfigDialogManager::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialogManager::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KConfigDialogManager::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KConfigDialogManager_addWidget(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_addWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
         ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KConfigDialogManager, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_addWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_hasChanged(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_hasChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigDialogManager, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasChanged();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_hasChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_isDefault(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_isDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigDialogManager, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDefault();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_isDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_propertyMap(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_propertyMap(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QHash< ::QString, ::QByteArray>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KConfigDialogManager::propertyMap();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QHash_0100QString_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_propertyMap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_changedMap(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_changedMap(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QHash< ::QString, ::QByteArray>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KConfigDialogManager::changedMap();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QHash_0100QString_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_changedMap, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_updateSettings(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_updateSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigDialogManager, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateSettings();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_updateSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_updateWidgets(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_updateWidgets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigDialogManager, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateWidgets();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_updateWidgets, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_updateWidgetsDefault(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_updateWidgetsDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KConfigDialogManager, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateWidgetsDefault();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_updateWidgetsDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_init(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_init(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pb", &sipSelf, sipType_KConfigDialogManager, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->init(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_init, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_parseChildren(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_parseChildren(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QWidget* a0;
        bool a1;
         ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8b", &sipSelf, sipType_KConfigDialogManager, &sipCpp, sipType_QWidget, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parseChildren(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_parseChildren, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_getUserProperty(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_getUserProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QWidget* a0;
        const  ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KConfigDialogManager, &sipCpp, sipType_QWidget, &a0))
        {
             ::QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QByteArray(sipCpp->getUserProperty(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_getUserProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_getCustomProperty(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_getCustomProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QWidget* a0;
        const  ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KConfigDialogManager, &sipCpp, sipType_QWidget, &a0))
        {
             ::QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QByteArray(sipCpp->getCustomProperty(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_getCustomProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_setProperty(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J1", &sipSelf, sipType_KConfigDialogManager, &sipCpp, sipType_QWidget, &a0, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProperty(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_setProperty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_property(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KConfigDialogManager, &sipCpp, sipType_QWidget, &a0))
        {
             ::QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QVariant(sipCpp->property(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_property, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_setupWidget(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_setupWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
         ::KConfigSkeletonItem* a1;
         ::KConfigDialogManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KConfigDialogManager, &sipCpp, sipType_QWidget, &a0, sipType_KConfigSkeletonItem, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setupWidget(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_KConfigDialogManager, sipName_setupWidget, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialogManager_initMaps(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialogManager_initMaps(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KConfigDialogManager::initMaps();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialogManager, sipName_initMaps, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KConfigDialogManager(void *, const sipTypeDef *);}
static void *cast_KConfigDialogManager(void *sipCppV, const sipTypeDef *targetType)
{
     ::KConfigDialogManager *sipCpp = reinterpret_cast< ::KConfigDialogManager *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfigDialogManager(void *, int);}
static void release_KConfigDialogManager(void *sipCppV, int)
{
     ::KConfigDialogManager *sipCpp = reinterpret_cast< ::KConfigDialogManager *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KConfigDialogManager(sipSimpleWrapper *);}
static void dealloc_KConfigDialogManager(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKConfigDialogManager *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KConfigDialogManager(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KConfigDialogManager(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfigDialogManager(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKConfigDialogManager *sipCpp = 0;

    {
         ::QWidget* a0;
         ::KConfigSkeleton* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ8", sipType_QWidget, &a0, sipOwner, sipType_KConfigSkeleton, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigDialogManager(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QWidget* a0;
         ::KCoreConfigSkeleton* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ8", sipType_QWidget, &a0, sipOwner, sipType_KCoreConfigSkeleton, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigDialogManager(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KConfigDialogManager[] = {{19, 0, 1}};


static PyMethodDef methods_KConfigDialogManager[] = {
    {SIP_MLNAME_CAST(sipName_addWidget), meth_KConfigDialogManager_addWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changedMap), meth_KConfigDialogManager_changedMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getCustomProperty), meth_KConfigDialogManager_getCustomProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getUserProperty), meth_KConfigDialogManager_getUserProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasChanged), meth_KConfigDialogManager_hasChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_init), meth_KConfigDialogManager_init, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initMaps), meth_KConfigDialogManager_initMaps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDefault), meth_KConfigDialogManager_isDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parseChildren), meth_KConfigDialogManager_parseChildren, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_KConfigDialogManager_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyMap), meth_KConfigDialogManager_propertyMap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_KConfigDialogManager_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupWidget), meth_KConfigDialogManager_setupWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSettings), meth_KConfigDialogManager_updateSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateWidgets), meth_KConfigDialogManager_updateWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateWidgetsDefault), meth_KConfigDialogManager_updateWidgetsDefault, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KConfigDialogManager[] = {
    {"widgetModified()", 0, 0, 0},
    {"settingsChanged()", 0, 0, 0},
    {"settingsChanged(QWidget*)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KConfigDialogManager = {
    & ::KConfigDialogManager::staticMetaObject,
    0,
    signals_KConfigDialogManager
};


sipClassTypeDef sipTypeDef_kdeui_KConfigDialogManager = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KConfigDialogManager,
        {0},
        &plugin_KConfigDialogManager
    },
    {
        sipNameNr_KConfigDialogManager,
        {0, 0, 1},
        16, methods_KConfigDialogManager,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KConfigDialogManager,
    0,
    init_type_KConfigDialogManager,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigDialogManager,
    0,
    0,
    0,
    release_KConfigDialogManager,
    cast_KConfigDialogManager,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigdialog.sip"
#include <kconfigdialog.h>
#line 22004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kconfigskeleton.sip"
#include <kconfigskeleton.h>
#line 22014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kcoreconfigskeleton.sip"
#include <kcoreconfigskeleton.h>
#line 22017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpagewidgetmodel.sip"
#include <kpagewidgetmodel.h>
#line 22023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpagewidget.sip"
#include <kpagewidget.h>
#line 22026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpagedialog.sip"
#include <kpagedialog.h>
#line 22029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 22041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 22044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 22047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 22050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 22053 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 22056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 22059 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 22062 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 22065 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 22068 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 22071 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22074 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 22077 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 22080 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 22095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 22101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 22104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 22107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 22110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 22113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 22116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 22119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 22122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 22125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 22128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 22131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 22134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 22140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 22143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22173 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22176 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 22179 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 22182 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 22185 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 22188 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22191 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 22194 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 22197 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 22200 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 22203 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 22206 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 22209 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 22212 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 22215 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22218 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 22221 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22224 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 22227 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 22230 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 22233 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 22236 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKConfigDialog : public  ::KConfigDialog
{
public:
    sipKConfigDialog( ::QWidget*,const  ::QString&, ::KConfigSkeleton*);
    sipKConfigDialog( ::QWidget*,const  ::QString&, ::KCoreConfigSkeleton*);
    virtual ~sipKConfigDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool isDefault();
    bool hasChanged();
    void updateWidgetsDefault();
    void updateWidgets();
    void updateSettings();
    void slotButtonClicked(int);
    void setPlainCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setCaption(const  ::QString&);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const  ::QFont&);
    void paletteChange(const  ::QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void done(int);
    void accept();
    void reject();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKConfigDialog(const sipKConfigDialog &);
    sipKConfigDialog &operator = (const sipKConfigDialog &);

    char sipPyMethods[59];
};

sipKConfigDialog::sipKConfigDialog( ::QWidget*a0,const  ::QString& a1, ::KConfigSkeleton*a2):  ::KConfigDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigDialog::sipKConfigDialog( ::QWidget*a0,const  ::QString& a1, ::KCoreConfigSkeleton*a2):  ::KConfigDialog(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKConfigDialog::~sipKConfigDialog()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKConfigDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KConfigDialog);
}

int sipKConfigDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KConfigDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KConfigDialog,_c,_id,_a);

    return _id;
}

void *sipKConfigDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KConfigDialog, _clname)) ? this :  ::KConfigDialog::qt_metacast(_clname);
}

bool sipKConfigDialog::isDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_isDefault);

    if (!sipMeth)
        return  ::KConfigDialog::isDefault();

    extern bool sipVH_kdeui_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_54(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKConfigDialog::hasChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_hasChanged);

    if (!sipMeth)
        return  ::KConfigDialog::hasChanged();

    extern bool sipVH_kdeui_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_54(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigDialog::updateWidgetsDefault()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_updateWidgetsDefault);

    if (!sipMeth)
    {
         ::KConfigDialog::updateWidgetsDefault();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigDialog::updateWidgets()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_updateWidgets);

    if (!sipMeth)
    {
         ::KConfigDialog::updateWidgets();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigDialog::updateSettings()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_updateSettings);

    if (!sipMeth)
    {
         ::KConfigDialog::updateSettings();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
         ::KConfigDialog::slotButtonClicked(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
         ::KConfigDialog::setPlainCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::setCaption(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KConfigDialog::setCaption(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKConfigDialog::setCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KConfigDialog::setCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KConfigDialog::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KConfigDialog::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KConfigDialog::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KConfigDialog::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KConfigDialog::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKConfigDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KConfigDialog::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKConfigDialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KConfigDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKConfigDialog::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  ::KConfigDialog::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKConfigDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KConfigDialog::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKConfigDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KConfigDialog::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KConfigDialog::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKConfigDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KConfigDialog::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKConfigDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KConfigDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKConfigDialog::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KConfigDialog::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKConfigDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KConfigDialog::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKConfigDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KConfigDialog::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKConfigDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KConfigDialog::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KConfigDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KConfigDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::KConfigDialog::done(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKConfigDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::KConfigDialog::accept();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKConfigDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::KConfigDialog::reject();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KConfigDialog_addPage(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_addPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        bool a4 = 1;
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1|J1J1b", &sipSelf, sipType_KConfigDialog, &sipCpp, sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, &a4))
        {
             ::KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addPage(a0,*a1,*a2,*a3,a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    {
         ::QWidget* a0;
         ::KConfigSkeleton* a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::QString& a4def = QString();
        const  ::QString* a4 = &a4def;
        int a4State = 0;
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J1|J1J1", &sipSelf, sipType_KConfigDialog, &sipCpp, sipType_QWidget, &a0, sipType_KConfigSkeleton, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
             ::KPageWidgetItem*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->addPage(a0,a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);

            return sipConvertFromType(sipRes,sipType_KPageWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_addPage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_exists(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_exists(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::KConfigDialog*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KConfigDialog::exists(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_KConfigDialog,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_exists, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_showDialog(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_showDialog(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KConfigDialog::showDialog(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_showDialog, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_updateSettings(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_updateSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KConfigDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KConfigDialog::updateSettings() : sipCpp->updateSettings());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_updateSettings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_updateWidgets(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_updateWidgets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KConfigDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KConfigDialog::updateWidgets() : sipCpp->updateWidgets());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_updateWidgets, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_updateWidgetsDefault(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_updateWidgetsDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KConfigDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KConfigDialog::updateWidgetsDefault() : sipCpp->updateWidgetsDefault());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_updateWidgetsDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_updateButtons(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_updateButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KConfigDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateButtons();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_updateButtons, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_settingsChangedSlot(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_settingsChangedSlot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KConfigDialog, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->settingsChangedSlot();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_settingsChangedSlot, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_hasChanged(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_hasChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KConfigDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KConfigDialog::hasChanged() : sipCpp->hasChanged());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_hasChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_isDefault(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_isDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KConfigDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KConfigDialog::isDefault() : sipCpp->isDefault());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KConfigDialog, sipName_isDefault, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KConfigDialog_showEvent(PyObject *, PyObject *);}
static PyObject *meth_KConfigDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QShowEvent* a0;
         ::KConfigDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KConfigDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KConfigDialog::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_KConfigDialog, sipName_showEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KConfigDialog(void *, const sipTypeDef *);}
static void *cast_KConfigDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::KConfigDialog *sipCpp = reinterpret_cast< ::KConfigDialog *>(sipCppV);

    if (targetType == sipType_KPageDialog)
        return static_cast< ::KPageDialog *>(sipCpp);

    if (targetType == sipType_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KConfigDialog(void *, int);}
static void release_KConfigDialog(void *sipCppV, int)
{
     ::KConfigDialog *sipCpp = reinterpret_cast< ::KConfigDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KConfigDialog(sipSimpleWrapper *);}
static void dealloc_KConfigDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKConfigDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KConfigDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KConfigDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KConfigDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKConfigDialog *sipCpp = 0;

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::KConfigSkeleton* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1J8", sipType_QWidget, &a0, sipOwner, sipType_QString,&a1, &a1State, sipType_KConfigSkeleton, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigDialog(a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QWidget* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::KCoreConfigSkeleton* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1J8", sipType_QWidget, &a0, sipOwner, sipType_QString,&a1, &a1State, sipType_KCoreConfigSkeleton, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKConfigDialog(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_KConfigDialog[] = {{212, 255, 1}};


static PyMethodDef methods_KConfigDialog[] = {
    {SIP_MLNAME_CAST(sipName_addPage), meth_KConfigDialog_addPage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exists), meth_KConfigDialog_exists, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasChanged), meth_KConfigDialog_hasChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDefault), meth_KConfigDialog_isDefault, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_settingsChangedSlot), meth_KConfigDialog_settingsChangedSlot, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showDialog), meth_KConfigDialog_showDialog, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KConfigDialog_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateButtons), meth_KConfigDialog_updateButtons, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSettings), meth_KConfigDialog_updateSettings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateWidgets), meth_KConfigDialog_updateWidgets, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateWidgetsDefault), meth_KConfigDialog_updateWidgetsDefault, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KConfigDialog[] = {
    {"settingsChanged(QString)", 0, 0, 0},
    {"widgetModified()", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KConfigDialog = {
    & ::KConfigDialog::staticMetaObject,
    0,
    signals_KConfigDialog
};


sipClassTypeDef sipTypeDef_kdeui_KConfigDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KConfigDialog,
        {0},
        &plugin_KConfigDialog
    },
    {
        sipNameNr_KConfigDialog,
        {0, 0, 1},
        11, methods_KConfigDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KConfigDialog,
    0,
    init_type_KConfigDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KConfigDialog,
    0,
    0,
    0,
    release_KConfigDialog,
    cast_KConfigDialog,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 23920 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23924 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 23927 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 23930 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 23933 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23936 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 23939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 23942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 23945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 23948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 23963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 23972 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23975 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23978 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 23981 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23984 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 23987 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 23990 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 23993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 23996 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23999 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24002 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 1126 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 24005 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24008 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24011 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24014 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24017 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 24020 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24023 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24026 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 24029 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24032 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 24035 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 24038 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24041 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24044 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 24047 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24050 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24053 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 24056 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 24059 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 24062 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24065 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24068 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 24071 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 24074 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 24077 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 24080 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 24083 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24086 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 24089 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 24092 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 24095 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24098 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24104 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24107 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24110 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24113 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24116 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 24119 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 24122 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 24125 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 24128 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24131 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 24134 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 24137 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24140 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24143 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 24146 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 24149 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 24152 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 24155 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 24158 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24164 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 24167 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 24170 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24173 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24176 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKCompletionBox : public  ::KCompletionBox
{
public:
    sipKCompletionBox( ::QWidget*);
    virtual ~sipKCompletionBox();

    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 slotActivated( ::QListWidgetItem*);
     ::QPoint globalPositionHint() const;
    void popup();
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData(int,const  ::QMimeData*, ::Qt::DropAction);
     ::QMimeData* mimeData(const QList< ::QListWidgetItem*>) const;
     ::QStringList mimeTypes() const;
     ::QStyleOptionViewItem viewOptions() const;
    void startDrag( ::Qt::DropActions);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QModelIndexList selectedIndexes() const;
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
    bool isIndexHidden(const  ::QModelIndex&) const;
    int verticalOffset() const;
    int horizontalOffset() const;
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    void editorDestroyed( ::QObject*);
    void commitData( ::QWidget*);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateGeometries();
    void updateEditorGeometries();
    void updateEditorData();
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void selectAll();
    void setRootIndex(const  ::QModelIndex&);
    void reset();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
     ::QModelIndex indexAt(const  ::QPoint&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void keyboardSearch(const  ::QString&);
    void setSelectionModel( ::QItemSelectionModel*);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCompletionBox(const sipKCompletionBox &);
    sipKCompletionBox &operator = (const sipKCompletionBox &);

    char sipPyMethods[92];
};

sipKCompletionBox::sipKCompletionBox( ::QWidget*a0):  ::KCompletionBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCompletionBox::~sipKCompletionBox()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKCompletionBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCompletionBox);
}

int sipKCompletionBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KCompletionBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCompletionBox,_c,_id,_a);

    return _id;
}

void *sipKCompletionBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCompletionBox, _clname)) ? this :  ::KCompletionBox::qt_metacast(_clname);
}

void sipKCompletionBox::slotActivated( ::QListWidgetItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_slotActivated);

    if (!sipMeth)
    {
         ::KCompletionBox::slotActivated(a0);
        return;
    }

    extern void sipVH_kdeui_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QListWidgetItem*);

    sipVH_kdeui_126(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPoint sipKCompletionBox::globalPositionHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_globalPositionHint);

    if (!sipMeth)
        return  ::KCompletionBox::globalPositionHint();

    extern  ::QPoint sipVH_kdeui_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_125(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCompletionBox::popup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_popup);

    if (!sipMeth)
    {
         ::KCompletionBox::popup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipKCompletionBox::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::KCompletionBox::supportedDropActions();

    extern  ::Qt::DropActions sipVH_kdeui_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_63(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCompletionBox::dropMimeData(int a0,const  ::QMimeData*a1, ::Qt::DropAction a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::KCompletionBox::dropMimeData(a0,a1,a2);

    extern bool sipVH_kdeui_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QMimeData*, ::Qt::DropAction);

    return sipVH_kdeui_123(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QMimeData* sipKCompletionBox::mimeData(const QList< ::QListWidgetItem*> a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::KCompletionBox::mimeData(a0);

    extern  ::QMimeData* sipVH_kdeui_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList< ::QListWidgetItem*>);

    return sipVH_kdeui_124(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QStringList sipKCompletionBox::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::KCompletionBox::mimeTypes();

    extern  ::QStringList sipVH_kdeui_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_66(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QStyleOptionViewItem sipKCompletionBox::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::KCompletionBox::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_kdeui_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_95(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCompletionBox::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::KCompletionBox::startDrag(a0);
        return;
    }

    extern void sipVH_kdeui_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_kdeui_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QItemSelectionModel::SelectionFlags sipKCompletionBox::selectionCommand(const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::KCompletionBox::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_kdeui_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_kdeui_93(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCompletionBox::edit(const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::KCompletionBox::edit(a0,a1,a2);

    extern bool sipVH_kdeui_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_kdeui_92(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndexList sipKCompletionBox::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::KCompletionBox::selectedIndexes();

    extern  ::QModelIndexList sipVH_kdeui_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_91(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QRegion sipKCompletionBox::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::KCompletionBox::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_kdeui_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_kdeui_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::KCompletionBox::setSelection(a0,a1);
        return;
    }

    extern void sipVH_kdeui_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_kdeui_89(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCompletionBox::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::KCompletionBox::isIndexHidden(a0);

    extern bool sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_60(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCompletionBox::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::KCompletionBox::verticalOffset();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCompletionBox::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::KCompletionBox::horizontalOffset();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QModelIndex sipKCompletionBox::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::KCompletionBox::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_kdeui_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);

    return sipVH_kdeui_88(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCompletionBox::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::KCompletionBox::editorDestroyed(a0);
        return;
    }

    extern void sipVH_kdeui_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_kdeui_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::KCompletionBox::commitData(a0);
        return;
    }

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::KCompletionBox::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_kdeui_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_kdeui_86(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCompletionBox::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KCompletionBox::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KCompletionBox::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::KCompletionBox::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::KCompletionBox::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::KCompletionBox::updateGeometries();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCompletionBox::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::KCompletionBox::updateEditorGeometries();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCompletionBox::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::KCompletionBox::updateEditorData();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCompletionBox::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::KCompletionBox::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_kdeui_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kdeui_83(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCompletionBox::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::KCompletionBox::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_kdeui_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_kdeui_85(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCompletionBox::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::KCompletionBox::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kdeui_84(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCompletionBox::rowsInserted(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::KCompletionBox::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kdeui_84(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCompletionBox::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::KCompletionBox::dataChanged(a0,a1);
        return;
    }

    extern void sipVH_kdeui_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kdeui_83(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCompletionBox::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::KCompletionBox::selectAll();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCompletionBox::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::KCompletionBox::setRootIndex(a0);
        return;
    }

    extern void sipVH_kdeui_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_kdeui_61(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::KCompletionBox::reset();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCompletionBox::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return  ::KCompletionBox::sizeHintForColumn(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCompletionBox::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::KCompletionBox::sizeHintForRow(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipKCompletionBox::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::KCompletionBox::indexAt(a0);

    extern  ::QModelIndex sipVH_kdeui_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_kdeui_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::KCompletionBox::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_kdeui_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_kdeui_81(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QRect sipKCompletionBox::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::KCompletionBox::visualRect(a0);

    extern  ::QRect sipVH_kdeui_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::KCompletionBox::keyboardSearch(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::KCompletionBox::setSelectionModel(a0);
        return;
    }

    extern void sipVH_kdeui_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_kdeui_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KCompletionBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KCompletionBox::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCompletionBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KCompletionBox::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKCompletionBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KCompletionBox::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKCompletionBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KCompletionBox::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKCompletionBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KCompletionBox::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCompletionBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KCompletionBox::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCompletionBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KCompletionBox::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKCompletionBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KCompletionBox::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKCompletionBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KCompletionBox::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKCompletionBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KCompletionBox::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KCompletionBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKCompletionBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KCompletionBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCompletionBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KCompletionBox::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KCompletionBox::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KCompletionBox::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KCompletionBox::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KCompletionBox::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[89],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KCompletionBox::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKCompletionBox::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[90],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::KCompletionBox::viewportEvent(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBox::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[91],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::KCompletionBox::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_kdeui_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_kdeui_78(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KCompletionBox_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KCompletionBox::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_KCompletionBox, sipName_sizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_activateOnSelect(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_activateOnSelect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->activateOnSelect();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_activateOnSelect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_items(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->items());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_insertItems(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_insertItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
        int a1 = -1;
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|i", &sipSelf, sipType_KCompletionBox, &sipCpp, sipType_QStringList,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertItems(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_insertItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_setItems(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_setItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletionBox, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setItems(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_setItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_popup(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_popup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletionBox::popup() : sipCpp->popup());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_popup, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_setTabHandling(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_setTabHandling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCompletionBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTabHandling(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_setTabHandling, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_isTabHandling(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_isTabHandling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isTabHandling();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_isTabHandling, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_setCancelledText(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_setCancelledText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletionBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCancelledText(*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_KCompletionBox, sipName_setCancelledText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_cancelledText(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_cancelledText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->cancelledText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_cancelledText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_setActivateOnSelect(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_setActivateOnSelect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCompletionBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActivateOnSelect(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_setActivateOnSelect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_down(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_down(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->down();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_down, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_up(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_up(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->up();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_up, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_pageDown(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_pageDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->pageDown();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_pageDown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_pageUp(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_pageUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->pageUp();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_pageUp, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_home(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_home(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->home();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_home, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_end(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_end(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->end();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_end, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_setVisible(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCompletionBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletionBox::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_KCompletionBox, sipName_setVisible, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_calculateGeometry(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_calculateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
             ::QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QRect(sipCpp->calculateGeometry());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_calculateGeometry, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_sizeAndPosition(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_sizeAndPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sizeAndPosition();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_sizeAndPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KCompletionBox, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KCompletionBox::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_globalPositionHint(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_globalPositionHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCompletionBox, &sipCpp))
        {
             ::QPoint*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QPoint((sipSelfWasArg ? sipCpp-> ::KCompletionBox::globalPositionHint() : sipCpp->globalPositionHint()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_globalPositionHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBox_slotActivated(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBox_slotActivated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QListWidgetItem* a0;
         ::KCompletionBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCompletionBox, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletionBox::slotActivated(a0) : sipCpp->slotActivated(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBox, sipName_slotActivated, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KCompletionBox(void *, const sipTypeDef *);}
static void *cast_KCompletionBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::KCompletionBox *sipCpp = reinterpret_cast< ::KCompletionBox *>(sipCppV);

    if (targetType == sipType_KListWidget)
        return static_cast< ::KListWidget *>(sipCpp);

    if (targetType == sipType_QListWidget)
        return static_cast< ::QListWidget *>(sipCpp);

    if (targetType == sipType_QListView)
        return static_cast< ::QListView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCompletionBox(void *, int);}
static void release_KCompletionBox(void *sipCppV, int)
{
     ::KCompletionBox *sipCpp = reinterpret_cast< ::KCompletionBox *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCompletionBox(sipSimpleWrapper *);}
static void dealloc_KCompletionBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKCompletionBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KCompletionBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KCompletionBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCompletionBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCompletionBox *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCompletionBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCompletionBox[] = {{182, 255, 1}};


static PyMethodDef methods_KCompletionBox[] = {
    {SIP_MLNAME_CAST(sipName_activateOnSelect), meth_KCompletionBox_activateOnSelect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_calculateGeometry), meth_KCompletionBox_calculateGeometry, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cancelledText), meth_KCompletionBox_cancelledText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_down), meth_KCompletionBox_down, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_end), meth_KCompletionBox_end, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KCompletionBox_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_globalPositionHint), meth_KCompletionBox_globalPositionHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_home), meth_KCompletionBox_home, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertItems), meth_KCompletionBox_insertItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTabHandling), meth_KCompletionBox_isTabHandling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KCompletionBox_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pageDown), meth_KCompletionBox_pageDown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pageUp), meth_KCompletionBox_pageUp, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_popup), meth_KCompletionBox_popup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActivateOnSelect), meth_KCompletionBox_setActivateOnSelect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCancelledText), meth_KCompletionBox_setCancelledText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KCompletionBox_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTabHandling), meth_KCompletionBox_setTabHandling, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_KCompletionBox_setVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeAndPosition), meth_KCompletionBox_sizeAndPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KCompletionBox_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotActivated), meth_KCompletionBox_slotActivated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_up), meth_KCompletionBox_up, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KCompletionBox[] = {
    {"userCancelled(QString)", 0, 0, 0},
    {"activated(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KCompletionBox = {
    & ::KCompletionBox::staticMetaObject,
    0,
    signals_KCompletionBox
};


sipClassTypeDef sipTypeDef_kdeui_KCompletionBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCompletionBox,
        {0},
        &plugin_KCompletionBox
    },
    {
        sipNameNr_KCompletionBox,
        {0, 0, 1},
        23, methods_KCompletionBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCompletionBox,
    0,
    init_type_KCompletionBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCompletionBox,
    0,
    0,
    0,
    release_KCompletionBox,
    cast_KCompletionBox,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/klistwidget.sip"
#include <klistwidget.h>
#line 26713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26717 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26720 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26723 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26726 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26729 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 26732 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 26735 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 26738 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26741 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 26744 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26747 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 26750 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26753 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26756 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 26759 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 26762 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 26765 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26768 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 26771 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 26774 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 26777 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26780 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 26783 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26786 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26789 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 1126 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 26792 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26795 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26798 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26801 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26804 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlistview.sip"
#include <qlistview.h>
#line 26807 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 26810 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26813 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 26816 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 26819 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26822 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 26825 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 26828 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 26831 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26834 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26837 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 26840 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26843 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26846 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 26849 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 26852 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 26855 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26858 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26861 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 26864 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 26867 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 26870 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 26873 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 26876 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 26879 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 26882 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 26885 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 26888 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26891 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 26894 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26897 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26900 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26903 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26906 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26909 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 26912 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 26915 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 26918 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 26921 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26924 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 26927 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 26930 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 26933 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 26936 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 26939 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 26942 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 26945 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 26948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 26951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 26954 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26957 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 26960 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 26963 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 26966 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 26969 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKListWidget : public  ::KListWidget
{
public:
    sipKListWidget( ::QWidget*);
    virtual ~sipKListWidget();

    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 scrollContentsBy(int,int);
    bool viewportEvent( ::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*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void setSelectionModel( ::QItemSelectionModel*);
    void keyboardSearch(const  ::QString&);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QModelIndex indexAt(const  ::QPoint&) const;
    int sizeHintForRow(int) const;
    int sizeHintForColumn(int) const;
    void reset();
    void setRootIndex(const  ::QModelIndex&);
    void selectAll();
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void updateEditorData();
    void updateEditorGeometries();
    void updateGeometries();
    void verticalScrollbarAction(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarValueChanged(int);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void commitData( ::QWidget*);
    void editorDestroyed( ::QObject*);
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    int horizontalOffset() const;
    int verticalOffset() const;
    bool isIndexHidden(const  ::QModelIndex&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
     ::QModelIndexList selectedIndexes() const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    void startDrag( ::Qt::DropActions);
     ::QStyleOptionViewItem viewOptions() const;
     ::QStringList mimeTypes() const;
     ::QMimeData* mimeData(const QList< ::QListWidgetItem*>) const;
    bool dropMimeData(int,const  ::QMimeData*, ::Qt::DropAction);
     ::Qt::DropActions supportedDropActions() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKListWidget(const sipKListWidget &);
    sipKListWidget &operator = (const sipKListWidget &);

    char sipPyMethods[89];
};

sipKListWidget::sipKListWidget( ::QWidget*a0):  ::KListWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKListWidget::~sipKListWidget()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKListWidget::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KListWidget);
}

int sipKListWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KListWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KListWidget,_c,_id,_a);

    return _id;
}

void *sipKListWidget::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KListWidget, _clname)) ? this :  ::KListWidget::qt_metacast(_clname);
}

void sipKListWidget::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::KListWidget::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_kdeui_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_kdeui_78(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKListWidget::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::KListWidget::viewportEvent(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KListWidget::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KListWidget::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KListWidget::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KListWidget::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KListWidget::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKListWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KListWidget::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKListWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KListWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KListWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KListWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KListWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KListWidget::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KListWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KListWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KListWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KListWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KListWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KListWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KListWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KListWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KListWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KListWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KListWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KListWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KListWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KListWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KListWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KListWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KListWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KListWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KListWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KListWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KListWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KListWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKListWidget::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  ::KListWidget::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKListWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KListWidget::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKListWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KListWidget::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KListWidget::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKListWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KListWidget::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKListWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KListWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKListWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KListWidget::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKListWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KListWidget::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKListWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KListWidget::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKListWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KListWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KListWidget::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KListWidget::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KListWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KListWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::KListWidget::setSelectionModel(a0);
        return;
    }

    extern void sipVH_kdeui_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_kdeui_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::KListWidget::keyboardSearch(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRect sipKListWidget::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::KListWidget::visualRect(a0);

    extern  ::QRect sipVH_kdeui_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::KListWidget::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_kdeui_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_kdeui_81(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipKListWidget::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::KListWidget::indexAt(a0);

    extern  ::QModelIndex sipVH_kdeui_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_kdeui_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKListWidget::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::KListWidget::sizeHintForRow(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKListWidget::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return  ::KListWidget::sizeHintForColumn(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::KListWidget::reset();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidget::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::KListWidget::setRootIndex(a0);
        return;
    }

    extern void sipVH_kdeui_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_kdeui_61(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::KListWidget::selectAll();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidget::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::KListWidget::dataChanged(a0,a1);
        return;
    }

    extern void sipVH_kdeui_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kdeui_83(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKListWidget::rowsInserted(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::KListWidget::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kdeui_84(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKListWidget::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::KListWidget::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kdeui_84(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKListWidget::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::KListWidget::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_kdeui_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_kdeui_85(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKListWidget::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::KListWidget::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_kdeui_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kdeui_83(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKListWidget::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::KListWidget::updateEditorData();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidget::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::KListWidget::updateEditorGeometries();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidget::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::KListWidget::updateGeometries();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKListWidget::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::KListWidget::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::KListWidget::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KListWidget::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KListWidget::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::KListWidget::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_kdeui_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_kdeui_86(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKListWidget::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::KListWidget::commitData(a0);
        return;
    }

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::KListWidget::editorDestroyed(a0);
        return;
    }

    extern void sipVH_kdeui_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_kdeui_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipKListWidget::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::KListWidget::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_kdeui_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);

    return sipVH_kdeui_88(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipKListWidget::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[75]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::KListWidget::horizontalOffset();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKListWidget::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[76]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::KListWidget::verticalOffset();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKListWidget::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::KListWidget::isIndexHidden(a0);

    extern bool sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_60(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKListWidget::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::KListWidget::setSelection(a0,a1);
        return;
    }

    extern void sipVH_kdeui_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_kdeui_89(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QRegion sipKListWidget::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::KListWidget::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_kdeui_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_kdeui_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipKListWidget::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::KListWidget::selectedIndexes();

    extern  ::QModelIndexList sipVH_kdeui_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_91(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKListWidget::edit(const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::KListWidget::edit(a0,a1,a2);

    extern bool sipVH_kdeui_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_kdeui_92(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QItemSelectionModel::SelectionFlags sipKListWidget::selectionCommand(const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::KListWidget::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_kdeui_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_kdeui_93(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKListWidget::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::KListWidget::startDrag(a0);
        return;
    }

    extern void sipVH_kdeui_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_kdeui_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QStyleOptionViewItem sipKListWidget::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::KListWidget::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_kdeui_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_95(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QStringList sipKListWidget::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[85]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::KListWidget::mimeTypes();

    extern  ::QStringList sipVH_kdeui_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_66(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QMimeData* sipKListWidget::mimeData(const QList< ::QListWidgetItem*> a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::KListWidget::mimeData(a0);

    extern  ::QMimeData* sipVH_kdeui_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList< ::QListWidgetItem*>);

    return sipVH_kdeui_124(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKListWidget::dropMimeData(int a0,const  ::QMimeData*a1, ::Qt::DropAction a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::KListWidget::dropMimeData(a0,a1,a2);

    extern bool sipVH_kdeui_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QMimeData*, ::Qt::DropAction);

    return sipVH_kdeui_123(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::Qt::DropActions sipKListWidget::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[88]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::KListWidget::supportedDropActions();

    extern  ::Qt::DropActions sipVH_kdeui_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_63(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KListWidget_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KListWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
         ::KListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KListWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KListWidget::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_KListWidget, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidget_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_KListWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
         ::KListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KListWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KListWidget::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_KListWidget, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidget_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_KListWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::KListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KListWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KListWidget::leaveEvent(a0) : sipCpp->leaveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KListWidget, sipName_leaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidget_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KListWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KListWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KListWidget::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_KListWidget, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KListWidget_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KListWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KListWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KListWidget::mouseDoubleClickEvent(a0) : sipCpp->mouseDoubleClickEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KListWidget, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KListWidget(void *, const sipTypeDef *);}
static void *cast_KListWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::KListWidget *sipCpp = reinterpret_cast< ::KListWidget *>(sipCppV);

    if (targetType == sipType_QListWidget)
        return static_cast< ::QListWidget *>(sipCpp);

    if (targetType == sipType_QListView)
        return static_cast< ::QListView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KListWidget(void *, int);}
static void release_KListWidget(void *sipCppV, int)
{
     ::KListWidget *sipCpp = reinterpret_cast< ::KListWidget *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KListWidget(sipSimpleWrapper *);}
static void dealloc_KListWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKListWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KListWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KListWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KListWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKListWidget *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKListWidget(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KListWidget[] = {{60, 2, 1}};


static PyMethodDef methods_KListWidget[] = {
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KListWidget_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KListWidget_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KListWidget_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KListWidget_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KListWidget_mousePressEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KListWidget[] = {
    {"doubleClicked(QListWidgetItem*,QPoint)", 0, 0, 0},
    {"executed(QListWidgetItem*)", 0, 0, 0},
    {"executed(QListWidgetItem*,QPoint)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KListWidget = {
    & ::KListWidget::staticMetaObject,
    0,
    signals_KListWidget
};


sipClassTypeDef sipTypeDef_kdeui_KListWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KListWidget,
        {0},
        &plugin_KListWidget
    },
    {
        sipNameNr_KListWidget,
        {0, 0, 1},
        5, methods_KListWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KListWidget,
    0,
    init_type_KListWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KListWidget,
    0,
    0,
    0,
    release_KListWidget,
    cast_KListWidget,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 28944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 28948 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 28951 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static void assign_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(void *, SIP_SSIZE_T, const void *);}
static void assign_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut> *>(sipSrc);
}


extern "C" {static void *array_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(SIP_SSIZE_T);}
static void *array_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut>[sipNrElem];
}


extern "C" {static void *copy_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(const void *, SIP_SSIZE_T);}
static void *copy_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut>(reinterpret_cast<const  ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(void *, int);}
static void release_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast< ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut> **sipCppPtr = reinterpret_cast< ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut> **>(sipCppPtrV);

#line 206 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
    PyObject *kobj, *tobj;
    SIP_SSIZE_T i = 0;

    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
    {
        if (!PyDict_Check(sipPy))
            return 0;

        while (PyDict_Next(sipPy, &i, &kobj, &tobj))
            if (!sipCanConvertToType(tobj, sipType_KShortcut, SIP_NOT_NONE))
                return 0;

        return 1;
    }

    QMap<KCompletionBase::KeyBindingType, KShortcut> *qm = new QMap<KCompletionBase::KeyBindingType, KShortcut>;
 
    while (PyDict_Next(sipPy, &i, &kobj, &tobj))
    {
        int state;
#if PY_MAJOR_VERSION >= 3
        int k = PyLong_AsLong(kobj);
#else
        int k = PyInt_AsLong(kobj);
#endif
        KShortcut *t = reinterpret_cast<KShortcut *>(sipConvertToType(tobj, sipType_KShortcut, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
 
        if (*sipIsErr)
        {
            sipReleaseType(t, sipType_KShortcut, state);

            delete qm;
            return 0;
        }

        qm->insert((KCompletionBase::KeyBindingType)k, *t);

        sipReleaseType(t, sipType_KShortcut, state);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 29036 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
}


extern "C" {static PyObject *convertFrom_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(void *, PyObject *);}
static PyObject *convertFrom_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut(void *sipCppV, PyObject *sipTransferObj)
{
    ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut> *sipCpp = reinterpret_cast< ::QMap< ::KCompletionBase::KeyBindingType, ::KShortcut> *>(sipCppV);

#line 161 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
    // Create the dictionary.
    PyObject *d = PyDict_New();

    if (!d)
        return NULL;

    // Set the dictionary elements.
    QMap<KCompletionBase::KeyBindingType, KShortcut>::const_iterator i = sipCpp->constBegin();

    while (i != sipCpp->constEnd())
    {
        KShortcut *t = new KShortcut(i.value());

#if PY_MAJOR_VERSION >= 3
        PyObject *kobj = PyLong_FromLong((int)i.key());
#else
        PyObject *kobj = PyInt_FromLong((int)i.key());
#endif
        PyObject *tobj = sipConvertFromNewType(t, sipType_KShortcut, sipTransferObj);

        if (kobj == NULL || tobj == NULL || PyDict_SetItem(d, kobj, tobj) < 0)
        {
            Py_DECREF(d);

            if (kobj)
                Py_DECREF(kobj);

            if (tobj)
                Py_DECREF(tobj);
            else
                delete t;

            return NULL;
        }

        Py_DECREF(kobj);
        Py_DECREF(tobj);

        ++i;
    }

    return d;
#line 29088 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
}


sipMappedTypeDef sipTypeDef_kdeui_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_50,     /* QMap<KCompletionBase::KeyBindingType,KShortcut> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut,
    array_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut,
    copy_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut,
    release_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut,
    convertTo_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut,
    convertFrom_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut
};

#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 29120 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 29124 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 29127 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 29130 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29133 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29136 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29139 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 29142 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 29145 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29148 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 29151 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29154 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 29157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 29160 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 29163 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 29166 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKCompletion : public  ::KCompletion
{
public:
    sipKCompletion();
    virtual ~sipKCompletion();

    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 postProcessMatches( ::QStringList*) const;
    void postProcessMatch( ::QString*) const;
    void clear();
    void setItems(const  ::QStringList&);
    void setSoundsEnabled(bool);
    void setIgnoreCase(bool);
    void setOrder( ::KCompletion::CompOrder);
    void setCompletionMode( ::KGlobalSettings::Completion);
    const  ::QString& lastMatch() const;
     ::QString makeCompletion(const  ::QString&);
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCompletion(const sipKCompletion &);
    sipKCompletion &operator = (const sipKCompletion &);

    char sipPyMethods[17];
};

sipKCompletion::sipKCompletion():  ::KCompletion(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCompletion::~sipKCompletion()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKCompletion::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KCompletion);
}

int sipKCompletion::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KCompletion::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KCompletion,_c,_id,_a);

    return _id;
}

void *sipKCompletion::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KCompletion, _clname)) ? this :  ::KCompletion::qt_metacast(_clname);
}

void sipKCompletion::postProcessMatches( ::QStringList*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_postProcessMatches);

    if (!sipMeth)
    {
         ::KCompletion::postProcessMatches(a0);
        return;
    }

    extern void sipVH_kdeui_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QStringList*);

    sipVH_kdeui_122(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::postProcessMatch( ::QString*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_postProcessMatch);

    if (!sipMeth)
    {
         ::KCompletion::postProcessMatch(a0);
        return;
    }

    extern void sipVH_kdeui_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QString*);

    sipVH_kdeui_121(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::KCompletion::clear();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKCompletion::setItems(const  ::QStringList& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setItems);

    if (!sipMeth)
    {
         ::KCompletion::setItems(a0);
        return;
    }

    extern void sipVH_kdeui_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStringList&);

    sipVH_kdeui_120(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::setSoundsEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setSoundsEnabled);

    if (!sipMeth)
    {
         ::KCompletion::setSoundsEnabled(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::setIgnoreCase(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setIgnoreCase);

    if (!sipMeth)
    {
         ::KCompletion::setIgnoreCase(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::setOrder( ::KCompletion::CompOrder a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setOrder);

    if (!sipMeth)
    {
         ::KCompletion::setOrder(a0);
        return;
    }

    extern void sipVH_kdeui_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KCompletion::CompOrder);

    sipVH_kdeui_119(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::setCompletionMode( ::KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
         ::KCompletion::setCompletionMode(a0);
        return;
    }

    extern void sipVH_kdeui_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KGlobalSettings::Completion);

    sipVH_kdeui_113(sipGILState, 0, sipPySelf, sipMeth, a0);
}

const  ::QString& sipKCompletion::lastMatch() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_lastMatch);

    if (!sipMeth)
        return  ::KCompletion::lastMatch();

    extern const  ::QString& sipVH_kdeui_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_118(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QString sipKCompletion::makeCompletion(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
        return  ::KCompletion::makeCompletion(a0);

    extern  ::QString sipVH_kdeui_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_kdeui_117(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCompletion::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KCompletion::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKCompletion::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KCompletion::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCompletion::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KCompletion::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KCompletion::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KCompletion::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KCompletion::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletion::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KCompletion::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KCompletion_makeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_makeCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::KCompletion::makeCompletion(*a0) : sipCpp->makeCompletion(*a0)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_makeCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_substringCompletion(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_substringCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->substringCompletion(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_substringCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_previousMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_previousMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->previousMatch());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_previousMatch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_nextMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_nextMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->nextMatch());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_nextMatch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_lastMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_lastMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::KCompletion::lastMatch() : sipCpp->lastMatch()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_lastMatch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_items(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->items());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_items, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &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_KCompletion, sipName_isEmpty, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setCompletionMode(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setCompletionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KGlobalSettings::Completion a0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KCompletion, &sipCpp, sipType_KGlobalSettings_Completion, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletion::setCompletionMode(a0) : sipCpp->setCompletionMode(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_setCompletionMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_completionMode(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_completionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
             ::KGlobalSettings::Completion sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KGlobalSettings_Completion);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_completionMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setOrder(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KCompletion::CompOrder a0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KCompletion, &sipCpp, sipType_KCompletion_CompOrder, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletion::setOrder(a0) : sipCpp->setOrder(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_setOrder, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_order(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_order(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
             ::KCompletion::CompOrder sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->order();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KCompletion_CompOrder);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_order, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setIgnoreCase(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setIgnoreCase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCompletion, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletion::setIgnoreCase(a0) : sipCpp->setIgnoreCase(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_setIgnoreCase, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_ignoreCase(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_ignoreCase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ignoreCase();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_ignoreCase, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_allMatches(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_allMatches(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->allMatches());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QStringList(sipCpp->allMatches(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_allMatches, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setSoundsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setSoundsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCompletion, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletion::setSoundsEnabled(a0) : sipCpp->setSoundsEnabled(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_setSoundsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_soundsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_soundsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->soundsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_soundsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_hasMultipleMatches(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_hasMultipleMatches(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasMultipleMatches();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_hasMultipleMatches, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_slotMakeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_slotMakeCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotMakeCompletion(*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_KCompletion, sipName_slotMakeCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_slotPreviousMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_slotPreviousMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotPreviousMatch();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_slotPreviousMatch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_slotNextMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_slotNextMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->slotNextMatch();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_slotNextMatch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_insertItems(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_insertItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertItems(*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_KCompletion, sipName_insertItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_setItems(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_setItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletion::setItems(*a0) : sipCpp->setItems(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_setItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_addItem(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addItem(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::uint a1;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1u", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addItem(*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_KCompletion, sipName_addItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_removeItem(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_removeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeItem(*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_KCompletion, sipName_removeItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_clear(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletion, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletion::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_KCompletion, sipName_clear, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_postProcessMatch(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_postProcessMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QString* a0;
        int a0State = 0;
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ0", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletion::postProcessMatch(a0) : sipCpp->postProcessMatch(a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_postProcessMatch, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletion_postProcessMatches(PyObject *, PyObject *);}
static PyObject *meth_KCompletion_postProcessMatches(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QStringList* a0;
        int a0State = 0;
        const  ::KCompletion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ0", &sipSelf, sipType_KCompletion, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletion::postProcessMatches(a0) : sipCpp->postProcessMatches(a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletion, sipName_postProcessMatches, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KCompletion(void *, const sipTypeDef *);}
static void *cast_KCompletion(void *sipCppV, const sipTypeDef *targetType)
{
     ::KCompletion *sipCpp = reinterpret_cast< ::KCompletion *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCompletion(void *, int);}
static void release_KCompletion(void *sipCppV, int)
{
     ::KCompletion *sipCpp = reinterpret_cast< ::KCompletion *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCompletion(sipSimpleWrapper *);}
static void dealloc_KCompletion(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKCompletion *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KCompletion(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KCompletion(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCompletion(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCompletion *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCompletion();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCompletion[] = {{19, 0, 1}};


static PyMethodDef methods_KCompletion[] = {
    {SIP_MLNAME_CAST(sipName_addItem), meth_KCompletion_addItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allMatches), meth_KCompletion_allMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KCompletion_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionMode), meth_KCompletion_completionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasMultipleMatches), meth_KCompletion_hasMultipleMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ignoreCase), meth_KCompletion_ignoreCase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertItems), meth_KCompletion_insertItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_KCompletion_isEmpty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_items), meth_KCompletion_items, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lastMatch), meth_KCompletion_lastMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCompletion), meth_KCompletion_makeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextMatch), meth_KCompletion_nextMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_order), meth_KCompletion_order, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_postProcessMatch), meth_KCompletion_postProcessMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_postProcessMatches), meth_KCompletion_postProcessMatches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_previousMatch), meth_KCompletion_previousMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_KCompletion_removeItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionMode), meth_KCompletion_setCompletionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIgnoreCase), meth_KCompletion_setIgnoreCase, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setItems), meth_KCompletion_setItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrder), meth_KCompletion_setOrder, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSoundsEnabled), meth_KCompletion_setSoundsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotMakeCompletion), meth_KCompletion_slotMakeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotNextMatch), meth_KCompletion_slotNextMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotPreviousMatch), meth_KCompletion_slotPreviousMatch, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_soundsEnabled), meth_KCompletion_soundsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_substringCompletion), meth_KCompletion_substringCompletion, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCompletion[] = {
    {sipName_Insertion, static_cast<int>( ::KCompletion::Insertion), 60},
    {sipName_Sorted, static_cast<int>( ::KCompletion::Sorted), 60},
    {sipName_Weighted, static_cast<int>( ::KCompletion::Weighted), 60},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KCompletion[] = {
    {"multipleMatches()", 0, 0, 0},
    {"matches(QStringList)", 0, 0, 0},
    {"match(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KCompletion = {
    & ::KCompletion::staticMetaObject,
    0,
    signals_KCompletion
};


sipClassTypeDef sipTypeDef_kdeui_KCompletion = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KCompletion,
        {0},
        &plugin_KCompletion
    },
    {
        sipNameNr_KCompletion,
        {0, 0, 1},
        27, methods_KCompletion,
        3, enummembers_KCompletion,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCompletion,
    0,
    init_type_KCompletion,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCompletion,
    0,
    0,
    0,
    release_KCompletion,
    cast_KCompletion,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcombobox.sip"
#include <kcombobox.h>
#line 30502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30506 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 30509 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30512 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 30515 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 30518 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 30521 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 30524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 30527 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 30530 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletionbox.sip"
#include <kcompletionbox.h>
#line 30533 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 30536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 30542 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 30545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 30548 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 30551 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30554 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30557 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30560 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30563 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30566 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30569 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30572 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 1576 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 30584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 30587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 30590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 30593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 30596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 30599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 30602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 30605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 30614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 30620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 30623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 30626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 30629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 30632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 30635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 30638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 30641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 30644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 30647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 30650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 30653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 30656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 30662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 30686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 30689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 30692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 30695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 30701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 30704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 30707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 30710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 30713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 30716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 30719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 30722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 30728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 30734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 30737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 30740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 30743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 30746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 30749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 30752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKComboBox : public  ::KComboBox
{
public:
    sipKComboBox( ::QWidget*);
    sipKComboBox(bool, ::QWidget*);
    virtual ~sipKComboBox();

    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 create( ::WId,bool,bool);
    void setCompletedText(const  ::QString&,bool);
    void makeCompletion(const  ::QString&);
    void setLineEdit( ::QLineEdit*);
    void setContextMenuEnabled(bool);
    void setAutoCompletion(bool);
    void setCompletionObject( ::KCompletion*,bool);
    void setHandleSignals(bool);
    void setCompletionMode( ::KGlobalSettings::Completion);
    void setCompletedText(const  ::QString&);
    void setCompletedItems(const  ::QStringList&,bool);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const  ::QFont&);
    void paletteChange(const  ::QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void showPopup();
    void hidePopup();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKComboBox(const sipKComboBox &);
    sipKComboBox &operator = (const sipKComboBox &);

    char sipPyMethods[60];
};

sipKComboBox::sipKComboBox( ::QWidget*a0):  ::KComboBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKComboBox::sipKComboBox(bool a0, ::QWidget*a1):  ::KComboBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKComboBox::~sipKComboBox()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKComboBox::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KComboBox);
}

int sipKComboBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KComboBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KComboBox,_c,_id,_a);

    return _id;
}

void *sipKComboBox::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KComboBox, _clname)) ? this :  ::KComboBox::qt_metacast(_clname);
}

void sipKComboBox::create( ::WId a0,bool a1,bool a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
    {
         ::KComboBox::create(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::WId,bool,bool);

    sipVH_kdeui_116(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKComboBox::setCompletedText(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KComboBox::setCompletedText(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKComboBox::makeCompletion(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_makeCompletion);

    if (!sipMeth)
    {
         ::KComboBox::makeCompletion(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::setLineEdit( ::QLineEdit*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setLineEdit);

    if (!sipMeth)
    {
         ::KComboBox::setLineEdit(a0);
        return;
    }

    extern void sipVH_kdeui_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QLineEdit*);

    sipVH_kdeui_115(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::setContextMenuEnabled(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setContextMenuEnabled);

    if (!sipMeth)
    {
         ::KComboBox::setContextMenuEnabled(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::setAutoCompletion(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setAutoCompletion);

    if (!sipMeth)
    {
         ::KComboBox::setAutoCompletion(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::setCompletionObject( ::KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setCompletionObject);

    if (!sipMeth)
    {
         ::KComboBox::setCompletionObject(a0,a1);
        return;
    }

    extern void sipVH_kdeui_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KCompletion*,bool);

    sipVH_kdeui_112(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKComboBox::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setHandleSignals);

    if (!sipMeth)
    {
         ::KComboBox::setHandleSignals(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::setCompletionMode( ::KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
         ::KComboBox::setCompletionMode(a0);
        return;
    }

    extern void sipVH_kdeui_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KGlobalSettings::Completion);

    sipVH_kdeui_113(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::setCompletedText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setCompletedText);

    if (!sipMeth)
    {
         ::KComboBox::setCompletedText(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::setCompletedItems(const  ::QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setCompletedItems);

    if (!sipMeth)
    {
         ::KComboBox::setCompletedItems(a0,a1);
        return;
    }

    extern void sipVH_kdeui_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStringList&,bool);

    sipVH_kdeui_114(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKComboBox::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KComboBox::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKComboBox::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KComboBox::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KComboBox::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KComboBox::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KComboBox::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKComboBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KComboBox::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKComboBox::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KComboBox::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KComboBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KComboBox::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KComboBox::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KComboBox::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KComboBox::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KComboBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KComboBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KComboBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KComboBox::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KComboBox::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KComboBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KComboBox::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KComboBox::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KComboBox::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KComboBox::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KComboBox::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KComboBox::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KComboBox::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KComboBox::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KComboBox::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KComboBox::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KComboBox::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KComboBox::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KComboBox::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KComboBox::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KComboBox::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKComboBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KComboBox::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKComboBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KComboBox::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKComboBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KComboBox::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKComboBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KComboBox::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKComboBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KComboBox::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKComboBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KComboBox::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKComboBox::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KComboBox::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKComboBox::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KComboBox::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKComboBox::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KComboBox::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKComboBox::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KComboBox::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KComboBox::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KComboBox::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KComboBox::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KComboBox::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
         ::KComboBox::showPopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKComboBox::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_hidePopup);

    if (!sipMeth)
    {
         ::KComboBox::hidePopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KComboBox_insertURL(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_insertURL(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KUrl* a0;
        int a1 = -1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|i", &sipSelf, sipType_KComboBox, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertURL(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QPixmap* a0;
        const  ::KUrl* a1;
        int a2 = -1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9|i", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QPixmap, &a0, sipType_KUrl, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertURL(*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_KComboBox, sipName_insertURL, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_changeURL(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_changeURL(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KUrl* a0;
        int a1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_KComboBox, &sipCpp, sipType_KUrl, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->changeURL(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QPixmap* a0;
        const  ::KUrl* a1;
        int a2;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9i", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QPixmap, &a0, sipType_KUrl, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->changeURL(*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_KComboBox, sipName_changeURL, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setEditUrl(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setEditUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KUrl* a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KComboBox, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEditUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_setEditUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_addUrl(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_addUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KUrl* a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KComboBox, &sipCpp, sipType_KUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QIcon* a0;
        const  ::KUrl* a1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QIcon, &a0, sipType_KUrl, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addUrl(*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_KComboBox, sipName_addUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_insertUrl(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_insertUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::KUrl* a1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_KComboBox, &sipCpp, &a0, sipType_KUrl, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertUrl(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        const  ::QIcon* a1;
        const  ::KUrl* a2;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9J9", &sipSelf, sipType_KComboBox, &sipCpp, &a0, sipType_QIcon, &a1, sipType_KUrl, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertUrl(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_KComboBox, sipName_insertUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_changeUrl(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_changeUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::KUrl* a1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_KComboBox, &sipCpp, &a0, sipType_KUrl, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->changeUrl(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        const  ::QIcon* a1;
        const  ::KUrl* a2;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9J9", &sipSelf, sipType_KComboBox, &sipCpp, &a0, sipType_QIcon, &a1, sipType_KUrl, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->changeUrl(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_KComboBox, sipName_changeUrl, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_cursorPosition(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_cursorPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KComboBox, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cursorPosition();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_cursorPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setAutoCompletion(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setAutoCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KComboBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KComboBox::setAutoCompletion(a0) : sipCpp->setAutoCompletion(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_setAutoCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_autoCompletion(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_autoCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KComboBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoCompletion();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_autoCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setContextMenuEnabled(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setContextMenuEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KComboBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KComboBox::setContextMenuEnabled(a0) : sipCpp->setContextMenuEnabled(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_setContextMenuEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setUrlDropsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setUrlDropsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KComboBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUrlDropsEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_setUrlDropsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_urlDropsEnabled(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_urlDropsEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KComboBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->urlDropsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_urlDropsEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_contains(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_contains, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setTrapReturnKey(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setTrapReturnKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KComboBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTrapReturnKey(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_setTrapReturnKey, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_trapReturnKey(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_trapReturnKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KComboBox, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->trapReturnKey();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_trapReturnKey, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KComboBox::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_completionBox(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_completionBox(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KComboBox, &sipCpp, &a0))
        {
             ::KCompletionBox*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionBox(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletionBox,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_completionBox, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setLineEdit(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setLineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QLineEdit* a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QLineEdit, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KComboBox::setLineEdit(a0) : sipCpp->setLineEdit(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_setLineEdit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setEditable(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setEditable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KComboBox, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEditable(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_setEditable, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_rotateText(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_rotateText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBase::KeyBindingType a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KComboBox, &sipCpp, sipType_KCompletionBase_KeyBindingType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->rotateText(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_rotateText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setCompletedText(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setCompletedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KComboBox::setCompletedText(*a0) : sipCpp->setCompletedText(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1b", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KComboBox::setCompletedText(*a0,a1) : sipCpp->setCompletedText(*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_KComboBox, sipName_setCompletedText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setCompletedItems(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setCompletedItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QStringList* a0;
        int a0State = 0;
        bool a1 = 1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|b", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QStringList,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KComboBox::setCompletedItems(*a0,a1) : sipCpp->setCompletedItems(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_setCompletedItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_setCurrentItem(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_setCurrentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1 = 0;
        int a2 = -1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|bi", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QString,&a0, &a0State, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentItem(*a0,a1,a2);
            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_KComboBox, sipName_setCurrentItem, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_makeCompletion(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_makeCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ1", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KComboBox::makeCompletion(*a0) : sipCpp->makeCompletion(*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_KComboBox, sipName_makeCompletion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_create(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_create(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p|mbb", &sipSelf, sipType_KComboBox, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KComboBox::create(a0,a1,a2) : sipCpp->create(a0,a1,a2));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KComboBox, sipName_create, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
         ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KComboBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KComboBox::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_KComboBox, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KComboBox_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_KComboBox_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::KComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KComboBox, &sipCpp))
        {
             ::QSize*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::KComboBox::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_KComboBox, sipName_minimumSizeHint, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KComboBox(void *, const sipTypeDef *);}
static void *cast_KComboBox(void *sipCppV, const sipTypeDef *targetType)
{
     ::KComboBox *sipCpp = reinterpret_cast< ::KComboBox *>(sipCppV);

    if (targetType == sipType_QComboBox)
        return static_cast< ::QComboBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    if (targetType == sipType_KCompletionBase)
        return static_cast< ::KCompletionBase *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KComboBox(void *, int);}
static void release_KComboBox(void *sipCppV, int)
{
     ::KComboBox *sipCpp = reinterpret_cast< ::KComboBox *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KComboBox(sipSimpleWrapper *);}
static void dealloc_KComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KComboBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KComboBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KComboBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKComboBox *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKComboBox(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        bool a0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "b|JH", &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKComboBox(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KComboBox[] = {{22, 2, 0}, {61, 255, 1}};


static PyMethodDef methods_KComboBox[] = {
    {SIP_MLNAME_CAST(sipName_addUrl), meth_KComboBox_addUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_autoCompletion), meth_KComboBox_autoCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeURL), meth_KComboBox_changeURL, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeUrl), meth_KComboBox_changeUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionBox), meth_KComboBox_completionBox, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_KComboBox_contains, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KComboBox_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_cursorPosition), meth_KComboBox_cursorPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KComboBox_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertURL), meth_KComboBox_insertURL, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_insertUrl), meth_KComboBox_insertUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCompletion), meth_KComboBox_makeCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_KComboBox_minimumSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rotateText), meth_KComboBox_rotateText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoCompletion), meth_KComboBox_setAutoCompletion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletedItems), meth_KComboBox_setCompletedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletedText), meth_KComboBox_setCompletedText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContextMenuEnabled), meth_KComboBox_setContextMenuEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentItem), meth_KComboBox_setCurrentItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditUrl), meth_KComboBox_setEditUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditable), meth_KComboBox_setEditable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLineEdit), meth_KComboBox_setLineEdit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTrapReturnKey), meth_KComboBox_setTrapReturnKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrlDropsEnabled), meth_KComboBox_setUrlDropsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_trapReturnKey), meth_KComboBox_trapReturnKey, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_urlDropsEnabled), meth_KComboBox_urlDropsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KComboBox_wheelEvent, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KComboBox[] = {
    {"aboutToShowContextMenu(QMenu*)", 0, 0, 0},
    {"completionModeChanged(KGlobalSettings::Completion)", 0, 0, 0},
    {"textRotation(KCompletionBase::KeyBindingType)", 0, 0, 0},
    {"substringCompletion(QString)", 0, 0, 0},
    {"completion(QString)", 0, 0, 0},
    {"returnPressed()", 0, 0, 0},
    {"returnPressed(QString)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KComboBox = {
    & ::KComboBox::staticMetaObject,
    0,
    signals_KComboBox
};


sipClassTypeDef sipTypeDef_kdeui_KComboBox = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KComboBox,
        {0},
        &plugin_KComboBox
    },
    {
        sipNameNr_KComboBox,
        {0, 0, 1},
        27, methods_KComboBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KComboBox,
    0,
    init_type_KComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KComboBox,
    0,
    0,
    0,
    release_KComboBox,
    cast_KComboBox,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 103 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 32993 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 157 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <qmap.h>
#line 32997 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kshortcut.sip"
#include <kshortcut.h>
#line 33000 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 31 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcompletion.sip"
#include <kcompletion.h>
#line 33003 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 33006 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 33009 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kglobalsettings.sip"
#include <kglobalsettings.h>
#line 33012 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKCompletionBase : public  ::KCompletionBase
{
public:
    sipKCompletionBase();
    virtual ~sipKCompletionBase();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setCompletedItems(const  ::QStringList&,bool);
    void setCompletedText(const  ::QString&);
    void setCompletionMode( ::KGlobalSettings::Completion);
    void setHandleSignals(bool);
    void setCompletionObject( ::KCompletion*,bool);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCompletionBase(const sipKCompletionBase &);
    sipKCompletionBase &operator = (const sipKCompletionBase &);

    char sipPyMethods[5];
};

sipKCompletionBase::sipKCompletionBase():  ::KCompletionBase(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCompletionBase::~sipKCompletionBase()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipKCompletionBase::setCompletedItems(const  ::QStringList& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_KCompletionBase,sipName_setCompletedItems);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QStringList&,bool);

    sipVH_kdeui_114(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKCompletionBase::setCompletedText(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_KCompletionBase,sipName_setCompletedText);

    if (!sipMeth)
        return;

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBase::setCompletionMode( ::KGlobalSettings::Completion a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_setCompletionMode);

    if (!sipMeth)
    {
         ::KCompletionBase::setCompletionMode(a0);
        return;
    }

    extern void sipVH_kdeui_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KGlobalSettings::Completion);

    sipVH_kdeui_113(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBase::setHandleSignals(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setHandleSignals);

    if (!sipMeth)
    {
         ::KCompletionBase::setHandleSignals(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKCompletionBase::setCompletionObject( ::KCompletion*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setCompletionObject);

    if (!sipMeth)
    {
         ::KCompletionBase::setCompletionObject(a0,a1);
        return;
    }

    extern void sipVH_kdeui_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::KCompletion*,bool);

    sipVH_kdeui_112(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KCompletionBase_completionObject(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_completionObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_KCompletionBase, &sipCpp, &a0))
        {
             ::KCompletion*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionObject(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_completionObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setCompletionObject(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setCompletionObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KCompletion* a0;
        bool a1 = 1;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|b", &sipSelf, sipType_KCompletionBase, &sipCpp, sipType_KCompletion, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletionBase::setCompletionObject(a0,a1) : sipCpp->setCompletionObject(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_KCompletionBase, sipName_setCompletionObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setHandleSignals(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setHandleSignals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCompletionBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletionBase::setHandleSignals(a0) : sipCpp->setHandleSignals(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_setHandleSignals, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_isCompletionObjectAutoDeleted(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_isCompletionObjectAutoDeleted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBase, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCompletionObjectAutoDeleted();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_isCompletionObjectAutoDeleted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setAutoDeleteCompletionObject(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setAutoDeleteCompletionObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCompletionBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDeleteCompletionObject(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_setAutoDeleteCompletionObject, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setEnableSignals(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setEnableSignals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCompletionBase, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEnableSignals(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_setEnableSignals, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_handleSignals(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_handleSignals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBase, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->handleSignals();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_handleSignals, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_emitSignals(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_emitSignals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBase, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->emitSignals();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_emitSignals, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setCompletionMode(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setCompletionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KGlobalSettings::Completion a0;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KCompletionBase, &sipCpp, sipType_KGlobalSettings_Completion, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KCompletionBase::setCompletionMode(a0) : sipCpp->setCompletionMode(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_setCompletionMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_completionMode(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_completionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBase, &sipCpp))
        {
             ::KGlobalSettings::Completion sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->completionMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KGlobalSettings_Completion);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_completionMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setKeyBinding(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setKeyBinding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBase::KeyBindingType a0;
        const  ::KShortcut* a1;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_KCompletionBase, &sipCpp, sipType_KCompletionBase_KeyBindingType, &a0, sipType_KShortcut, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setKeyBinding(a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_setKeyBinding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_getKeyBinding(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_getKeyBinding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBase::KeyBindingType a0;
        const  ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KCompletionBase, &sipCpp, sipType_KCompletionBase_KeyBindingType, &a0))
        {
             ::KShortcut*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KShortcut(sipCpp->getKeyBinding(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_getKeyBinding, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_useGlobalKeyBindings(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_useGlobalKeyBindings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBase, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->useGlobalKeyBindings();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_useGlobalKeyBindings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setCompletedText(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setCompletedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCompletionBase, &sipCpp, sipType_QString,&a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KCompletionBase, sipName_setCompletedText);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompletedText(*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_KCompletionBase, sipName_setCompletedText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setCompletedItems(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setCompletedItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QStringList* a0;
        int a0State = 0;
        bool a1 = 1;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|b", &sipSelf, sipType_KCompletionBase, &sipCpp, sipType_QStringList,&a0, &a0State, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_KCompletionBase, sipName_setCompletedItems);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCompletedItems(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_setCompletedItems, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_compObj(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_compObj(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCompletionBase, &sipCpp))
        {
             ::KCompletion*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->compObj();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_compObj, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_getKeyBindings(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_getKeyBindings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCompletionBase, &sipCpp))
        {
             ::KCompletionBase::KeyBindingMap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::KCompletionBase::KeyBindingMap(sipCpp->getKeyBindings());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QMap_0100KCompletionBase_KeyBindingType_0100KShortcut,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_getKeyBindings, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_setDelegate(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_setDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCompletionBase* a0;
         ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KCompletionBase, &sipCpp, sipType_KCompletionBase, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDelegate(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_setDelegate, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCompletionBase_delegate(PyObject *, PyObject *);}
static PyObject *meth_KCompletionBase_delegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCompletionBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_KCompletionBase, &sipCpp))
        {
             ::KCompletionBase*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->delegate();
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_KCompletionBase,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCompletionBase, sipName_delegate, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCompletionBase(void *, int);}
static void release_KCompletionBase(void *sipCppV, int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKCompletionBase *>(sipCppV);
    else
        delete reinterpret_cast< ::KCompletionBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KCompletionBase(sipSimpleWrapper *);}
static void dealloc_KCompletionBase(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKCompletionBase *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KCompletionBase(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KCompletionBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCompletionBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipKCompletionBase *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKCompletionBase();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KCompletionBase[] = {
    {SIP_MLNAME_CAST(sipName_compObj), meth_KCompletionBase_compObj, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionMode), meth_KCompletionBase_completionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_completionObject), meth_KCompletionBase_completionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_delegate), meth_KCompletionBase_delegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSignals), meth_KCompletionBase_emitSignals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getKeyBinding), meth_KCompletionBase_getKeyBinding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getKeyBindings), meth_KCompletionBase_getKeyBindings, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_handleSignals), meth_KCompletionBase_handleSignals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCompletionObjectAutoDeleted), meth_KCompletionBase_isCompletionObjectAutoDeleted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDeleteCompletionObject), meth_KCompletionBase_setAutoDeleteCompletionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletedItems), meth_KCompletionBase_setCompletedItems, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletedText), meth_KCompletionBase_setCompletedText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionMode), meth_KCompletionBase_setCompletionMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompletionObject), meth_KCompletionBase_setCompletionObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDelegate), meth_KCompletionBase_setDelegate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnableSignals), meth_KCompletionBase_setEnableSignals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHandleSignals), meth_KCompletionBase_setHandleSignals, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeyBinding), meth_KCompletionBase_setKeyBinding, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_useGlobalKeyBindings), meth_KCompletionBase_useGlobalKeyBindings, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KCompletionBase[] = {
    {sipName_NextCompletionMatch, static_cast<int>( ::KCompletionBase::NextCompletionMatch), 62},
    {sipName_PrevCompletionMatch, static_cast<int>( ::KCompletionBase::PrevCompletionMatch), 62},
    {sipName_SubstringCompletion, static_cast<int>( ::KCompletionBase::SubstringCompletion), 62},
    {sipName_TextCompletion, static_cast<int>( ::KCompletionBase::TextCompletion), 62},
};


static pyqt4ClassPluginDef plugin_KCompletionBase = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KCompletionBase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_KCompletionBase,
        {0},
        &plugin_KCompletionBase
    },
    {
        sipNameNr_KCompletionBase,
        {0, 0, 1},
        19, methods_KCompletionBase,
        4, enummembers_KCompletionBase,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KCompletionBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCompletionBase,
    0,
    0,
    0,
    release_KCompletionBase,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcolorvalueselector.sip"
#include <kcolorvalueselector.h>
#line 33814 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33818 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33821 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 33824 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33827 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 33830 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33833 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33836 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33839 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 33842 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 33845 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33848 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33851 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33854 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractslider.sip"
#include <qabstractslider.h>
#line 33857 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33860 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 33863 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33866 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 33869 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 33872 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 33875 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 33878 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 33881 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 33884 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 33887 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33890 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 33893 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 33896 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 33899 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 33902 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33905 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 33908 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33911 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33914 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33917 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33920 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33923 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33926 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33929 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33932 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33935 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33938 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33941 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33944 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33947 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 33950 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 33953 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 33956 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 33959 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33962 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 33965 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 33968 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 33971 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33974 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 33977 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 33980 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 33983 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 33986 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 33989 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33992 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 33995 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 33998 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 34001 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 34004 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34007 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34010 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKColorValueSelector : public  ::KColorValueSelector
{
public:
    sipKColorValueSelector( ::QWidget*);
    sipKColorValueSelector( ::Qt::Orientation, ::QWidget*);
    virtual ~sipKColorValueSelector();

    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 drawPalette( ::QPixmap*);
    void sliderChange( ::QAbstractSlider::SliderChange);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void drawContents( ::QPainter*);
    void drawArrow( ::QPainter*,const  ::QPoint&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKColorValueSelector(const sipKColorValueSelector &);
    sipKColorValueSelector &operator = (const sipKColorValueSelector &);

    char sipPyMethods[51];
};

sipKColorValueSelector::sipKColorValueSelector( ::QWidget*a0):  ::KColorValueSelector(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKColorValueSelector::sipKColorValueSelector( ::Qt::Orientation a0, ::QWidget*a1):  ::KColorValueSelector(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKColorValueSelector::~sipKColorValueSelector()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKColorValueSelector::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KColorValueSelector);
}

int sipKColorValueSelector::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KColorValueSelector::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KColorValueSelector,_c,_id,_a);

    return _id;
}

void *sipKColorValueSelector::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KColorValueSelector, _clname)) ? this :  ::KColorValueSelector::qt_metacast(_clname);
}

void sipKColorValueSelector::drawPalette( ::QPixmap*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_drawPalette);

    if (!sipMeth)
    {
         ::KColorValueSelector::drawPalette(a0);
        return;
    }

    extern void sipVH_kdeui_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPixmap*);

    sipVH_kdeui_111(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::sliderChange( ::QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
         ::KColorValueSelector::sliderChange(a0);
        return;
    }

    extern void sipVH_kdeui_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractSlider::SliderChange);

    sipVH_kdeui_108(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KColorValueSelector::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KColorValueSelector::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorValueSelector::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KColorValueSelector::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKColorValueSelector::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KColorValueSelector::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorValueSelector::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KColorValueSelector::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKColorValueSelector::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KColorValueSelector::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKColorValueSelector::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KColorValueSelector::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorValueSelector::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KColorValueSelector::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKColorValueSelector::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KColorValueSelector::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKColorValueSelector::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KColorValueSelector::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKColorValueSelector::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KColorValueSelector::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KColorValueSelector::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKColorValueSelector::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KColorValueSelector::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorValueSelector::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KColorValueSelector::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KColorValueSelector::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KColorValueSelector::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KColorValueSelector::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KColorValueSelector::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KColorValueSelector::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorValueSelector::drawContents( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_drawContents);

    if (!sipMeth)
    {
         ::KColorValueSelector::drawContents(a0);
        return;
    }

    extern void sipVH_kdeui_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_kdeui_109(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorValueSelector::drawArrow( ::QPainter*a0,const  ::QPoint& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_drawArrow);

    if (!sipMeth)
    {
         ::KColorValueSelector::drawArrow(a0,a1);
        return;
    }

    extern void sipVH_kdeui_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QPoint&);

    sipVH_kdeui_110(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


extern "C" {static PyObject *meth_KColorValueSelector_updateContents(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_updateContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorValueSelector, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->updateContents();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_updateContents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_hue(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_hue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorValueSelector, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hue();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_hue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_setHue(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_setHue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KColorValueSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_setHue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_saturation(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_saturation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorValueSelector, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->saturation();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_saturation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_setSaturation(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_setSaturation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KColorValueSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSaturation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_setSaturation, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_colorValue(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_colorValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorValueSelector, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->colorValue();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_colorValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_setColorValue(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_setColorValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KColorValueSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColorValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_setColorValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_setChooserMode(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_setChooserMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KColorChooserMode a0;
         ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KColorValueSelector, &sipCpp, sipType_KColorChooserMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChooserMode(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_setChooserMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_chooserMode(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_chooserMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorValueSelector, &sipCpp))
        {
             ::KColorChooserMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->chooserMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KColorChooserMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_chooserMode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_drawPalette(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_drawPalette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPixmap* a0;
         ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorValueSelector, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorValueSelector::drawPalette(a0) : sipCpp->drawPalette(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_drawPalette, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorValueSelector, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorValueSelector::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_KColorValueSelector, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorValueSelector_drawContents(PyObject *, PyObject *);}
static PyObject *meth_KColorValueSelector_drawContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPainter* a0;
         ::KColorValueSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorValueSelector, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorValueSelector::drawContents(a0) : sipCpp->drawContents(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorValueSelector, sipName_drawContents, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KColorValueSelector(void *, const sipTypeDef *);}
static void *cast_KColorValueSelector(void *sipCppV, const sipTypeDef *targetType)
{
     ::KColorValueSelector *sipCpp = reinterpret_cast< ::KColorValueSelector *>(sipCppV);

    if (targetType == sipType_KSelector)
        return static_cast< ::KSelector *>(sipCpp);

    if (targetType == sipType_QAbstractSlider)
        return static_cast< ::QAbstractSlider *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KColorValueSelector(void *, int);}
static void release_KColorValueSelector(void *sipCppV, int)
{
     ::KColorValueSelector *sipCpp = reinterpret_cast< ::KColorValueSelector *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KColorValueSelector(sipSimpleWrapper *);}
static void dealloc_KColorValueSelector(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKColorValueSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KColorValueSelector(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KColorValueSelector(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KColorValueSelector(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKColorValueSelector *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKColorValueSelector(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::Qt::Orientation a0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E|JH", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKColorValueSelector(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KColorValueSelector[] = {{271, 255, 1}};


static PyMethodDef methods_KColorValueSelector[] = {
    {SIP_MLNAME_CAST(sipName_chooserMode), meth_KColorValueSelector_chooserMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_colorValue), meth_KColorValueSelector_colorValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawContents), meth_KColorValueSelector_drawContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawPalette), meth_KColorValueSelector_drawPalette, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hue), meth_KColorValueSelector_hue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KColorValueSelector_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saturation), meth_KColorValueSelector_saturation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChooserMode), meth_KColorValueSelector_setChooserMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColorValue), meth_KColorValueSelector_setColorValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHue), meth_KColorValueSelector_setHue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSaturation), meth_KColorValueSelector_setSaturation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateContents), meth_KColorValueSelector_updateContents, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KColorValueSelector = {
    & ::KColorValueSelector::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KColorValueSelector = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KColorValueSelector,
        {0},
        &plugin_KColorValueSelector
    },
    {
        sipNameNr_KColorValueSelector,
        {0, 0, 1},
        12, methods_KColorValueSelector,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KColorValueSelector,
    0,
    init_type_KColorValueSelector,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KColorValueSelector,
    0,
    0,
    0,
    release_KColorValueSelector,
    cast_KColorValueSelector,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kselector.sip"
#include <kselector.h>
#line 35514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 35518 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35521 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35524 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35527 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35530 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 35533 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 35536 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 35539 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35542 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35545 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35548 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractslider.sip"
#include <qabstractslider.h>
#line 35551 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35554 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 35557 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35560 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 35563 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 35566 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 35569 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 35572 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 35575 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 35578 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 35581 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 35584 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 35587 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 35590 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 35593 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 35596 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35599 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 35602 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 35605 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35608 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35611 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35614 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35617 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35620 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35623 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35626 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35629 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35632 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35635 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35638 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35641 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35644 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 35647 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 35650 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 35653 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 35656 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 35659 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 35662 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 35665 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 35668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 35674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 35677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 35680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 35683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 35686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 35692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 35695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 35698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 35701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 35704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 35707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKSelector : public  ::KSelector
{
public:
    sipKSelector( ::QWidget*);
    sipKSelector( ::Qt::Orientation, ::QWidget*);
    virtual ~sipKSelector();

    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 drawArrow( ::QPainter*,const  ::QPoint&);
    void drawContents( ::QPainter*);
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const  ::QFont&);
    void paletteChange(const  ::QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void sliderChange( ::QAbstractSlider::SliderChange);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKSelector(const sipKSelector &);
    sipKSelector &operator = (const sipKSelector &);

    char sipPyMethods[50];
};

sipKSelector::sipKSelector( ::QWidget*a0):  ::KSelector(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelector::sipKSelector( ::Qt::Orientation a0, ::QWidget*a1):  ::KSelector(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKSelector::~sipKSelector()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKSelector::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KSelector);
}

int sipKSelector::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KSelector::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KSelector,_c,_id,_a);

    return _id;
}

void *sipKSelector::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KSelector, _clname)) ? this :  ::KSelector::qt_metacast(_clname);
}

void sipKSelector::drawArrow( ::QPainter*a0,const  ::QPoint& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_drawArrow);

    if (!sipMeth)
    {
         ::KSelector::drawArrow(a0,a1);
        return;
    }

    extern void sipVH_kdeui_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*,const  ::QPoint&);

    sipVH_kdeui_110(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSelector::drawContents( ::QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_drawContents);

    if (!sipMeth)
    {
         ::KSelector::drawContents(a0);
        return;
    }

    extern void sipVH_kdeui_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_kdeui_109(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KSelector::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSelector::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KSelector::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KSelector::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KSelector::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KSelector::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelector::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KSelector::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKSelector::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KSelector::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KSelector::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KSelector::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KSelector::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KSelector::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KSelector::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KSelector::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KSelector::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KSelector::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KSelector::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KSelector::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KSelector::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KSelector::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KSelector::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KSelector::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KSelector::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KSelector::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KSelector::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KSelector::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KSelector::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KSelector::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KSelector::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KSelector::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KSelector::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KSelector::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KSelector::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KSelector::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSelector::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  ::KSelector::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKSelector::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KSelector::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKSelector::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KSelector::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKSelector::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KSelector::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKSelector::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KSelector::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKSelector::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KSelector::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKSelector::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KSelector::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelector::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KSelector::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKSelector::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KSelector::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKSelector::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KSelector::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KSelector::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KSelector::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KSelector::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KSelector::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKSelector::sliderChange( ::QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
         ::KSelector::sliderChange(a0);
        return;
    }

    extern void sipVH_kdeui_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractSlider::SliderChange);

    sipVH_kdeui_108(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KSelector_contentsRect(PyObject *, PyObject *);}
static PyObject *meth_KSelector_contentsRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelector, &sipCpp))
        {
             ::QRect*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QRect(sipCpp->contentsRect());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelector, sipName_contentsRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_setIndent(PyObject *, PyObject *);}
static PyObject *meth_KSelector_setIndent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KSelector, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIndent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelector, sipName_setIndent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_indent(PyObject *, PyObject *);}
static PyObject *meth_KSelector_indent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelector, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->indent();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelector, sipName_indent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_setArrowDirection(PyObject *, PyObject *);}
static PyObject *meth_KSelector_setArrowDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ArrowType a0;
         ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KSelector, &sipCpp, sipType_Qt_ArrowType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setArrowDirection(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelector, sipName_setArrowDirection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_arrowDirection(PyObject *, PyObject *);}
static PyObject *meth_KSelector_arrowDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KSelector, &sipCpp))
        {
             ::Qt::ArrowType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->arrowDirection();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_ArrowType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelector, sipName_arrowDirection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_drawContents(PyObject *, PyObject *);}
static PyObject *meth_KSelector_drawContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPainter* a0;
         ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSelector, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSelector::drawContents(a0) : sipCpp->drawContents(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KSelector, sipName_drawContents, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_drawArrow(PyObject *, PyObject *);}
static PyObject *meth_KSelector_drawArrow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPainter* a0;
        const  ::QPoint* a1;
         ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J9", &sipSelf, sipType_KSelector, &sipCpp, sipType_QPainter, &a0, sipType_QPoint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSelector::drawArrow(a0,*a1) : sipCpp->drawArrow(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_KSelector, sipName_drawArrow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelector_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSelector, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSelector::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_KSelector, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelector_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSelector, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSelector::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_KSelector, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelector_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSelector, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSelector::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_KSelector, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelector_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSelector, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSelector::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_KSelector, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KSelector_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_KSelector_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
         ::KSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KSelector, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KSelector::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_KSelector, sipName_wheelEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KSelector(void *, const sipTypeDef *);}
static void *cast_KSelector(void *sipCppV, const sipTypeDef *targetType)
{
     ::KSelector *sipCpp = reinterpret_cast< ::KSelector *>(sipCppV);

    if (targetType == sipType_QAbstractSlider)
        return static_cast< ::QAbstractSlider *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KSelector(void *, int);}
static void release_KSelector(void *sipCppV, int)
{
     ::KSelector *sipCpp = reinterpret_cast< ::KSelector *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KSelector(sipSimpleWrapper *);}
static void dealloc_KSelector(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KSelector(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KSelector(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KSelector(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKSelector *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelector(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::Qt::Orientation a0;
         ::QWidget* a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E|JH", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKSelector(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KSelector[] = {{11, 2, 1}};


static PyMethodDef methods_KSelector[] = {
    {SIP_MLNAME_CAST(sipName_arrowDirection), meth_KSelector_arrowDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsRect), meth_KSelector_contentsRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawArrow), meth_KSelector_drawArrow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawContents), meth_KSelector_drawContents, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indent), meth_KSelector_indent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KSelector_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KSelector_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KSelector_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KSelector_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setArrowDirection), meth_KSelector_setArrowDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIndent), meth_KSelector_setIndent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KSelector_wheelEvent, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KSelector = {
    & ::KSelector::staticMetaObject,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KSelector = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KSelector,
        {0},
        &plugin_KSelector
    },
    {
        sipNameNr_KSelector,
        {0, 0, 1},
        12, methods_KSelector,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KSelector,
    0,
    init_type_KSelector,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KSelector,
    0,
    0,
    0,
    release_KSelector,
    cast_KSelector,
    0,
    0,
    0,
    0,
    0,
    0
};


#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 37196 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 37199 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static PyObject *meth_KColorUtils_overlayColors(PyObject *, PyObject *);}
static PyObject *meth_KColorUtils_overlayColors(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
        const  ::QColor* a1;
        int a1State = 0;
         ::QPainter::CompositionMode a2 = QPainter::CompositionMode_SourceOver;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|E", sipType_QColor, &a0, &a0State, sipType_QColor, &a1, &a1State, sipType_QPainter_CompositionMode, &a2))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorUtils::overlayColors(*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_overlayColors, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorUtils_mix(PyObject *, PyObject *);}
static PyObject *meth_KColorUtils_mix(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
        const  ::QColor* a1;
        int a1State = 0;
         ::qreal a2 = 0.5;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|d", sipType_QColor, &a0, &a0State, sipType_QColor, &a1, &a1State, &a2))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorUtils::mix(*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_mix, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorUtils_tint(PyObject *, PyObject *);}
static PyObject *meth_KColorUtils_tint(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
        const  ::QColor* a1;
        int a1State = 0;
         ::qreal a2 = 0.3;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|d", sipType_QColor, &a0, &a0State, sipType_QColor, &a1, &a1State, &a2))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorUtils::tint(*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_tint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorUtils_shade(PyObject *, PyObject *);}
static PyObject *meth_KColorUtils_shade(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::qreal a1;
         ::qreal a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1d|d", sipType_QColor, &a0, &a0State, &a1, &a2))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorUtils::shade(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_shade, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorUtils_darken(PyObject *, PyObject *);}
static PyObject *meth_KColorUtils_darken(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::qreal a1 = 0.5;
         ::qreal a2 = 1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|dd", sipType_QColor, &a0, &a0State, &a1, &a2))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorUtils::darken(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_darken, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorUtils_lighten(PyObject *, PyObject *);}
static PyObject *meth_KColorUtils_lighten(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::qreal a1 = 0.5;
         ::qreal a2 = 1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|dd", sipType_QColor, &a0, &a0State, &a1, &a2))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorUtils::lighten(*a0,a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_lighten, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorUtils_contrastRatio(PyObject *, PyObject *);}
static PyObject *meth_KColorUtils_contrastRatio(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
        const  ::QColor* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QColor, &a0, &a0State, sipType_QColor, &a1, &a1State))
        {
             ::qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KColorUtils::contrastRatio(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_contrastRatio, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorUtils_luma(PyObject *, PyObject *);}
static PyObject *meth_KColorUtils_luma(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QColor, &a0, &a0State))
        {
             ::qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KColorUtils::luma(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_luma, NULL);

    return NULL;
}


static PyMethodDef methods_KColorUtils[] = {
    {SIP_MLNAME_CAST(sipName_contrastRatio), meth_KColorUtils_contrastRatio, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_darken), meth_KColorUtils_darken, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lighten), meth_KColorUtils_lighten, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_luma), meth_KColorUtils_luma, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mix), meth_KColorUtils_mix, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_overlayColors), meth_KColorUtils_overlayColors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shade), meth_KColorUtils_shade, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tint), meth_KColorUtils_tint, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KColorUtils = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KColorUtils = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KColorUtils,
        {0},
        &plugin_KColorUtils
    },
    {
        sipNameNr_KColorUtils,
        {0, 0, 1},
        8, methods_KColorUtils,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 102 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcolorscheme.sip"
#include <kcolorscheme.h>
#line 37525 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcolorscheme.sip"
#include <kcolorscheme.h>
#line 37529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 37532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbrush.sip"
#include <qbrush.h>
#line 37535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 37538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 37541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static PyObject *meth_KStatefulBrush_brush(PyObject *, PyObject *);}
static PyObject *meth_KStatefulBrush_brush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QPalette::ColorGroup a0;
        const  ::KStatefulBrush *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KStatefulBrush, &sipCpp, sipType_QPalette_ColorGroup, &a0))
        {
             ::QBrush*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QBrush(sipCpp->brush(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    {
        const  ::QPalette* a0;
        const  ::KStatefulBrush *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KStatefulBrush, &sipCpp, sipType_QPalette, &a0))
        {
             ::QBrush*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QBrush(sipCpp->brush(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    {
        const  ::QWidget* a0;
        const  ::KStatefulBrush *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KStatefulBrush, &sipCpp, sipType_QWidget, &a0))
        {
             ::QBrush*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QBrush(sipCpp->brush(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KStatefulBrush, sipName_brush, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KStatefulBrush(void *, int);}
static void release_KStatefulBrush(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KStatefulBrush *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KStatefulBrush(void *, SIP_SSIZE_T, const void *);}
static void assign_KStatefulBrush(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::KStatefulBrush *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::KStatefulBrush *>(sipSrc);
}


extern "C" {static void *array_KStatefulBrush(SIP_SSIZE_T);}
static void *array_KStatefulBrush(SIP_SSIZE_T sipNrElem)
{
    return new  ::KStatefulBrush[sipNrElem];
}


extern "C" {static void *copy_KStatefulBrush(const void *, SIP_SSIZE_T);}
static void *copy_KStatefulBrush(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::KStatefulBrush(reinterpret_cast<const  ::KStatefulBrush *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_KStatefulBrush(sipSimpleWrapper *);}
static void dealloc_KStatefulBrush(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KStatefulBrush(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KStatefulBrush(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KStatefulBrush(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KStatefulBrush *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KStatefulBrush();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
         ::KColorScheme::ColorSet a0;
         ::KColorScheme::ForegroundRole a1;
         ::KSharedConfigPtr a2def = KSharedConfigPtr();
         ::KSharedConfigPtr* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "EE|J1", sipType_KColorScheme_ColorSet, &a0, sipType_KColorScheme_ForegroundRole, &a1, sipType_KSharedConfigPtr,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KStatefulBrush(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KSharedConfigPtr,a2State);

            return sipCpp;
        }
    }

    {
         ::KColorScheme::ColorSet a0;
         ::KColorScheme::BackgroundRole a1;
         ::KSharedConfigPtr a2def = KSharedConfigPtr();
         ::KSharedConfigPtr* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "EE|J1", sipType_KColorScheme_ColorSet, &a0, sipType_KColorScheme_BackgroundRole, &a1, sipType_KSharedConfigPtr,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KStatefulBrush(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KSharedConfigPtr,a2State);

            return sipCpp;
        }
    }

    {
         ::KColorScheme::ColorSet a0;
         ::KColorScheme::DecorationRole a1;
         ::KSharedConfigPtr a2def = KSharedConfigPtr();
         ::KSharedConfigPtr* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "EE|J1", sipType_KColorScheme_ColorSet, &a0, sipType_KColorScheme_DecorationRole, &a1, sipType_KSharedConfigPtr,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KStatefulBrush(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KSharedConfigPtr,a2State);

            return sipCpp;
        }
    }

    {
        const  ::QBrush* a0;
        int a0State = 0;
         ::KSharedConfigPtr a1def = KSharedConfigPtr();
         ::KSharedConfigPtr* a1 = &a1def;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1|J1", sipType_QBrush, &a0, &a0State, sipType_KSharedConfigPtr,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KStatefulBrush(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QBrush *>(a0),sipType_QBrush,a0State);
            sipReleaseType(a1,sipType_KSharedConfigPtr,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QBrush* a0;
        int a0State = 0;
        const  ::QBrush* a1;
        int a1State = 0;
         ::KSharedConfigPtr a2def = KSharedConfigPtr();
         ::KSharedConfigPtr* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1|J1", sipType_QBrush, &a0, &a0State, sipType_QBrush, &a1, &a1State, sipType_KSharedConfigPtr,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KStatefulBrush(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QBrush *>(a0),sipType_QBrush,a0State);
            sipReleaseType(const_cast< ::QBrush *>(a1),sipType_QBrush,a1State);
            sipReleaseType(a2,sipType_KSharedConfigPtr,a2State);

            return sipCpp;
        }
    }

    {
        const  ::KStatefulBrush* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KStatefulBrush, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KStatefulBrush(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KStatefulBrush[] = {
    {SIP_MLNAME_CAST(sipName_brush), meth_KStatefulBrush_brush, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KStatefulBrush = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KStatefulBrush = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KStatefulBrush,
        {0},
        &plugin_KStatefulBrush
    },
    {
        sipNameNr_KStatefulBrush,
        {0, 0, 1},
        1, methods_KStatefulBrush,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KStatefulBrush,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KStatefulBrush,
    assign_KStatefulBrush,
    array_KStatefulBrush,
    copy_KStatefulBrush,
    release_KStatefulBrush,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcolorscheme.sip"
#include <kcolorscheme.h>
#line 37838 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 37842 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 58 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/ksharedconfig.sip"
#include <ksharedconfig.h>
#line 37845 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 37848 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbrush.sip"
#include <qbrush.h>
#line 37851 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static PyObject *meth_KColorScheme_background(PyObject *, PyObject *);}
static PyObject *meth_KColorScheme_background(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KColorScheme::BackgroundRole a0 = KColorScheme::NormalBackground;
        const  ::KColorScheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|E", &sipSelf, sipType_KColorScheme, &sipCpp, sipType_KColorScheme_BackgroundRole, &a0))
        {
             ::QBrush*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QBrush(sipCpp->background(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorScheme, sipName_background, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorScheme_foreground(PyObject *, PyObject *);}
static PyObject *meth_KColorScheme_foreground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KColorScheme::ForegroundRole a0 = KColorScheme::NormalText;
        const  ::KColorScheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|E", &sipSelf, sipType_KColorScheme, &sipCpp, sipType_KColorScheme_ForegroundRole, &a0))
        {
             ::QBrush*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QBrush(sipCpp->foreground(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorScheme, sipName_foreground, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorScheme_decoration(PyObject *, PyObject *);}
static PyObject *meth_KColorScheme_decoration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KColorScheme::DecorationRole a0;
        const  ::KColorScheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KColorScheme, &sipCpp, sipType_KColorScheme_DecorationRole, &a0))
        {
             ::QBrush*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QBrush(sipCpp->decoration(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorScheme, sipName_decoration, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorScheme_shade(PyObject *, PyObject *);}
static PyObject *meth_KColorScheme_shade(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KColorScheme::ShadeRole a0;
        const  ::KColorScheme *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KColorScheme, &sipCpp, sipType_KColorScheme_ShadeRole, &a0))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor(sipCpp->shade(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::KColorScheme::ShadeRole a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1E", sipType_QColor, &a0, &a0State, sipType_KColorScheme_ShadeRole, &a1))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorScheme::shade(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::KColorScheme::ShadeRole a1;
         ::qreal a2;
         ::qreal a3 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1Ed|d", sipType_QColor, &a0, &a0State, sipType_KColorScheme_ShadeRole, &a1, &a2, &a3))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorScheme::shade(*a0,a1,a2,a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorScheme, sipName_shade, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorScheme_adjustBackground(PyObject *, PyObject *);}
static PyObject *meth_KColorScheme_adjustBackground(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QPalette* a0;
         ::KColorScheme::BackgroundRole a1 = KColorScheme::NormalBackground;
         ::QPalette::ColorRole a2 = QPalette::Base;
         ::KColorScheme::ColorSet a3 = KColorScheme::View;
         ::KSharedConfigPtr a4def = KSharedConfigPtr();
         ::KSharedConfigPtr* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|EEEJ1", sipType_QPalette, &a0, sipType_KColorScheme_BackgroundRole, &a1, sipType_QPalette_ColorRole, &a2, sipType_KColorScheme_ColorSet, &a3, sipType_KSharedConfigPtr,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KColorScheme::adjustBackground(*a0,a1,a2,a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(a4,sipType_KSharedConfigPtr,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorScheme, sipName_adjustBackground, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorScheme_adjustForeground(PyObject *, PyObject *);}
static PyObject *meth_KColorScheme_adjustForeground(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QPalette* a0;
         ::KColorScheme::ForegroundRole a1 = KColorScheme::NormalText;
         ::QPalette::ColorRole a2 = QPalette::Text;
         ::KColorScheme::ColorSet a3 = KColorScheme::View;
         ::KSharedConfigPtr a4def = KSharedConfigPtr();
         ::KSharedConfigPtr* a4 = &a4def;
        int a4State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9|EEEJ1", sipType_QPalette, &a0, sipType_KColorScheme_ForegroundRole, &a1, sipType_QPalette_ColorRole, &a2, sipType_KColorScheme_ColorSet, &a3, sipType_KSharedConfigPtr,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KColorScheme::adjustForeground(*a0,a1,a2,a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(a4,sipType_KSharedConfigPtr,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorScheme, sipName_adjustForeground, NULL);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_KColorScheme(void *, int);}
static void release_KColorScheme(void *sipCppV, int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast< ::KColorScheme *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KColorScheme(sipSimpleWrapper *);}
static void dealloc_KColorScheme(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_KColorScheme(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_KColorScheme(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KColorScheme(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::KColorScheme *sipCpp = 0;

    {
        const  ::KColorScheme* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KColorScheme, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KColorScheme(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
         ::QPalette::ColorGroup a0;
         ::KColorScheme::ColorSet a1 = KColorScheme::View;
         ::KSharedConfigPtr a2def = KSharedConfigPtr();
         ::KSharedConfigPtr* a2 = &a2def;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E|EJ1", sipType_QPalette_ColorGroup, &a0, sipType_KColorScheme_ColorSet, &a1, sipType_KSharedConfigPtr,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::KColorScheme(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a2,sipType_KSharedConfigPtr,a2State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KColorScheme[] = {
    {SIP_MLNAME_CAST(sipName_adjustBackground), meth_KColorScheme_adjustBackground, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_adjustForeground), meth_KColorScheme_adjustForeground, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_background), meth_KColorScheme_background, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decoration), meth_KColorScheme_decoration, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_foreground), meth_KColorScheme_foreground, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shade), meth_KColorScheme_shade, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KColorScheme[] = {
    {sipName_ActiveBackground, static_cast<int>( ::KColorScheme::ActiveBackground), 51},
    {sipName_ActiveText, static_cast<int>( ::KColorScheme::ActiveText), 54},
    {sipName_AlternateBackground, static_cast<int>( ::KColorScheme::AlternateBackground), 51},
    {sipName_Button, static_cast<int>( ::KColorScheme::Button), 52},
    {sipName_DarkShade, static_cast<int>( ::KColorScheme::DarkShade), 55},
    {sipName_FocusColor, static_cast<int>( ::KColorScheme::FocusColor), 53},
    {sipName_HoverColor, static_cast<int>( ::KColorScheme::HoverColor), 53},
    {sipName_InactiveText, static_cast<int>( ::KColorScheme::InactiveText), 54},
    {sipName_LightShade, static_cast<int>( ::KColorScheme::LightShade), 55},
    {sipName_LinkBackground, static_cast<int>( ::KColorScheme::LinkBackground), 51},
    {sipName_LinkText, static_cast<int>( ::KColorScheme::LinkText), 54},
    {sipName_MidShade, static_cast<int>( ::KColorScheme::MidShade), 55},
    {sipName_MidlightShade, static_cast<int>( ::KColorScheme::MidlightShade), 55},
    {sipName_NegativeBackground, static_cast<int>( ::KColorScheme::NegativeBackground), 51},
    {sipName_NegativeText, static_cast<int>( ::KColorScheme::NegativeText), 54},
    {sipName_NeutralBackground, static_cast<int>( ::KColorScheme::NeutralBackground), 51},
    {sipName_NeutralText, static_cast<int>( ::KColorScheme::NeutralText), 54},
    {sipName_NormalBackground, static_cast<int>( ::KColorScheme::NormalBackground), 51},
    {sipName_NormalText, static_cast<int>( ::KColorScheme::NormalText), 54},
    {sipName_PositiveBackground, static_cast<int>( ::KColorScheme::PositiveBackground), 51},
    {sipName_PositiveText, static_cast<int>( ::KColorScheme::PositiveText), 54},
    {sipName_Selection, static_cast<int>( ::KColorScheme::Selection), 52},
    {sipName_ShadowShade, static_cast<int>( ::KColorScheme::ShadowShade), 55},
    {sipName_Tooltip, static_cast<int>( ::KColorScheme::Tooltip), 52},
    {sipName_View, static_cast<int>( ::KColorScheme::View), 52},
    {sipName_VisitedBackground, static_cast<int>( ::KColorScheme::VisitedBackground), 51},
    {sipName_VisitedText, static_cast<int>( ::KColorScheme::VisitedText), 54},
    {sipName_Window, static_cast<int>( ::KColorScheme::Window), 52},
};


static pyqt4ClassPluginDef plugin_KColorScheme = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KColorScheme = {
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KColorScheme,
        {0},
        &plugin_KColorScheme
    },
    {
        sipNameNr_KColorScheme,
        {0, 0, 1},
        6, methods_KColorScheme,
        28, enummembers_KColorScheme,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KColorScheme,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KColorScheme,
    0,
    0,
    0,
    release_KColorScheme,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};


#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 38232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 38235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qdrag.sip"
#include <qdrag.h>
#line 38238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 38241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


extern "C" {static PyObject *meth_KColorMimeData_createDrag(PyObject *, PyObject *);}
static PyObject *meth_KColorMimeData_createDrag(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QWidget* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QColor, &a0, &a0State, sipType_QWidget, &a1))
        {
             ::QDrag*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KColorMimeData::createDrag(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            return sipConvertFromType(sipRes,sipType_QDrag,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_createDrag, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorMimeData_fromMimeData(PyObject *, PyObject *);}
static PyObject *meth_KColorMimeData_fromMimeData(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QMimeData, &a0))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorMimeData::fromMimeData(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_fromMimeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorMimeData_canDecode(PyObject *, PyObject *);}
static PyObject *meth_KColorMimeData_canDecode(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QMimeData, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KColorMimeData::canDecode(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_canDecode, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorMimeData_populateMimeData(PyObject *, PyObject *);}
static PyObject *meth_KColorMimeData_populateMimeData(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMimeData* a0;
        const  ::QColor* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1", sipType_QMimeData, &a0, sipType_QColor, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::KColorMimeData::populateMimeData(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_populateMimeData, NULL);

    return NULL;
}


static PyMethodDef methods_KColorMimeData[] = {
    {SIP_MLNAME_CAST(sipName_canDecode), meth_KColorMimeData_canDecode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createDrag), meth_KColorMimeData_createDrag, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromMimeData), meth_KColorMimeData_fromMimeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_populateMimeData), meth_KColorMimeData_populateMimeData, METH_VARARGS, NULL}
};


static pyqt4ClassPluginDef plugin_KColorMimeData = {
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_kdeui_KColorMimeData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_KColorMimeData,
        {0},
        &plugin_KColorMimeData
    },
    {
        sipNameNr_KColorMimeData,
        {0, 0, 1},
        4, methods_KColorMimeData,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 101 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcolordialog.sip"
#include <kcolordialog.h>
#line 38423 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 38427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 38430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 38442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 38445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 38454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 38457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 38460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 38463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 38466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 38469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kpushbutton.sip"
#include <kpushbutton.h>
#line 38472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfiggroup.sip"
#include <kconfiggroup.h>
#line 38475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdecore/kconfigbase.sip"
#include <kconfigbase.h>
#line 38478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qmenu.sip"
#include <qmenu.h>
#line 38481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kguiitem.sip"
#include <kguiitem.h>
#line 38484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 33 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 38487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kdialog.sip"
#include <kdialog.h>
#line 38493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 38508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 38514 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 38517 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 38520 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 38523 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 38526 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 38529 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 38532 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38535 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 38538 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 38541 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 38544 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38547 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 38550 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 38553 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38556 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38559 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38562 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38565 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38568 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38571 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38574 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38577 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38580 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38583 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 38586 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 38589 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 38592 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 38595 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38598 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 38601 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 38604 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 38607 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 38610 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 38613 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 38616 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 38619 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 38622 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38625 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38628 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38631 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 38634 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 38637 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 38640 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 38643 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKColorDialog : public  ::KColorDialog
{
public:
    sipKColorDialog( ::QWidget*,bool);
    virtual ~sipKColorDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void reject();
    void accept();
    void done(int);
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const  ::QPalette&);
    void fontChange(const  ::QFont&);
    void windowActivationChange(bool);
    void languageChange();
    void setCaption(const  ::QString&);
    void setCaption(const  ::QString&,bool);
    void setPlainCaption(const  ::QString&);
    void slotButtonClicked(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKColorDialog(const sipKColorDialog &);
    sipKColorDialog &operator = (const sipKColorDialog &);

    char sipPyMethods[54];
};

sipKColorDialog::sipKColorDialog( ::QWidget*a0,bool a1):  ::KColorDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKColorDialog::~sipKColorDialog()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKColorDialog::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KColorDialog);
}

int sipKColorDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KColorDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KColorDialog,_c,_id,_a);

    return _id;
}

void *sipKColorDialog::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KColorDialog, _clname)) ? this :  ::KColorDialog::qt_metacast(_clname);
}

void sipKColorDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
         ::KColorDialog::reject();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
         ::KColorDialog::accept();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
         ::KColorDialog::done(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KColorDialog::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KColorDialog::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KColorDialog::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KColorDialog::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KColorDialog::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorDialog::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KColorDialog::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKColorDialog::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KColorDialog::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorDialog::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  ::KColorDialog::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKColorDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KColorDialog::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKColorDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KColorDialog::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KColorDialog::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKColorDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KColorDialog::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKColorDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KColorDialog::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKColorDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KColorDialog::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KColorDialog::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KColorDialog::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KColorDialog::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KColorDialog::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KColorDialog::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KColorDialog::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KColorDialog::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KColorDialog::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KColorDialog::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KColorDialog::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KColorDialog::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KColorDialog::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KColorDialog::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KColorDialog::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KColorDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KColorDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KColorDialog::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KColorDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KColorDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KColorDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KColorDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KColorDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KColorDialog::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KColorDialog::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KColorDialog::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KColorDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKColorDialog::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KColorDialog::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KColorDialog::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KColorDialog::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KColorDialog::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KColorDialog::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KColorDialog::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KColorDialog::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorDialog::setCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KColorDialog::setCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::setCaption(const  ::QString& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_setCaption);

    if (!sipMeth)
    {
         ::KColorDialog::setCaption(a0,a1);
        return;
    }

    extern void sipVH_kdeui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,bool);

    sipVH_kdeui_37(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKColorDialog::setPlainCaption(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setPlainCaption);

    if (!sipMeth)
    {
         ::KColorDialog::setPlainCaption(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorDialog::slotButtonClicked(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_slotButtonClicked);

    if (!sipMeth)
    {
         ::KColorDialog::slotButtonClicked(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KColorDialog_color(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorDialog, &sipCpp))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor(sipCpp->color());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorDialog, sipName_color, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_getColor(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_getColor(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QColor* a0;
        int a0State = 0;
         ::QWidget* a1 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1|J:", sipType_QColor, &a0, &a0State, sipType_QWidget, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KColorDialog::getColor(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QColor,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
         ::QColor* a0;
        int a0State = 0;
        const  ::QColor* a1;
        int a1State = 0;
         ::QWidget* a2 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1|J:", sipType_QColor, &a0, &a0State, sipType_QColor, &a1, &a1State, sipType_QWidget, &a2))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::KColorDialog::getColor(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QColor,a0State);
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorDialog, sipName_getColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_grabColor(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_grabColor(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QPoint, &a0))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::KColorDialog::grabColor(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorDialog, sipName_grabColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_setDefaultColor(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_setDefaultColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorDialog, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDefaultColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorDialog, sipName_setDefaultColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_defaultColor(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_defaultColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorDialog, &sipCpp))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor(sipCpp->defaultColor());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorDialog, sipName_defaultColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_setColor(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorDialog, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorDialog, sipName_setColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorDialog::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_KColorDialog, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorDialog::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_KColorDialog, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
         ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorDialog::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_KColorDialog, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8J8", &sipSelf, sipType_KColorDialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KColorDialog::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorDialog, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_setAlphaChannelEnabled(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_setAlphaChannelEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KColorDialog, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlphaChannelEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorDialog, sipName_setAlphaChannelEnabled, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorDialog_isAlphaChannelEnabled(PyObject *, PyObject *);}
static PyObject *meth_KColorDialog_isAlphaChannelEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorDialog, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAlphaChannelEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorDialog, sipName_isAlphaChannelEnabled, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KColorDialog(void *, const sipTypeDef *);}
static void *cast_KColorDialog(void *sipCppV, const sipTypeDef *targetType)
{
     ::KColorDialog *sipCpp = reinterpret_cast< ::KColorDialog *>(sipCppV);

    if (targetType == sipType_KDialog)
        return static_cast< ::KDialog *>(sipCpp);

    if (targetType == sipType_QDialog)
        return static_cast< ::QDialog *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KColorDialog(void *, int);}
static void release_KColorDialog(void *sipCppV, int)
{
     ::KColorDialog *sipCpp = reinterpret_cast< ::KColorDialog *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KColorDialog(sipSimpleWrapper *);}
static void dealloc_KColorDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKColorDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KColorDialog(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KColorDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KColorDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKColorDialog *sipCpp = 0;

    {
         ::QWidget* a0 = 0;
        bool a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JHb", sipType_QWidget, &a0, sipOwner, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKColorDialog(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KColorDialog[] = {{86, 255, 1}};


static PyMethodDef methods_KColorDialog[] = {
    {SIP_MLNAME_CAST(sipName_color), meth_KColorDialog_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultColor), meth_KColorDialog_defaultColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_KColorDialog_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_getColor), meth_KColorDialog_getColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_grabColor), meth_KColorDialog_grabColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isAlphaChannelEnabled), meth_KColorDialog_isAlphaChannelEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KColorDialog_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KColorDialog_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KColorDialog_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlphaChannelEnabled), meth_KColorDialog_setAlphaChannelEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_KColorDialog_setColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultColor), meth_KColorDialog_setDefaultColor, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KColorDialog[] = {
    {"colorSelected(QColor)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KColorDialog = {
    & ::KColorDialog::staticMetaObject,
    0,
    signals_KColorDialog
};


sipClassTypeDef sipTypeDef_kdeui_KColorDialog = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KColorDialog,
        {0},
        &plugin_KColorDialog
    },
    {
        sipNameNr_KColorDialog,
        {0, 0, 1},
        12, methods_KColorDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KColorDialog,
    0,
    init_type_KColorDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KColorDialog,
    0,
    0,
    0,
    release_KColorDialog,
    cast_KColorDialog,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 70 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcolordialog.sip"
#include <kcolordialog.h>
#line 40222 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40226 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 40229 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40232 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40235 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40238 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40241 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 40244 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40247 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 40250 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 40253 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 40256 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40259 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 40262 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40265 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40268 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 40271 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 40274 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 40277 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 40280 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 40283 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 40286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 40289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 40298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 40301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 40304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 40310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 40355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 40358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 40361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 40364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 40370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 40373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 40376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 40382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 40385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 40388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 40391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 40394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 40403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 40409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 40412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 40415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 40418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKColorPatch : public  ::KColorPatch
{
public:
    sipKColorPatch( ::QWidget*);
    virtual ~sipKColorPatch();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const  ::QFont&);
    void paletteChange(const  ::QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKColorPatch(const sipKColorPatch &);
    sipKColorPatch &operator = (const sipKColorPatch &);

    char sipPyMethods[47];
};

sipKColorPatch::sipKColorPatch( ::QWidget*a0):  ::KColorPatch(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKColorPatch::~sipKColorPatch()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKColorPatch::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KColorPatch);
}

int sipKColorPatch::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KColorPatch::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KColorPatch,_c,_id,_a);

    return _id;
}

void *sipKColorPatch::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KColorPatch, _clname)) ? this :  ::KColorPatch::qt_metacast(_clname);
}

void sipKColorPatch::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KColorPatch::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorPatch::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KColorPatch::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KColorPatch::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KColorPatch::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KColorPatch::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorPatch::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KColorPatch::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKColorPatch::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KColorPatch::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KColorPatch::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KColorPatch::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KColorPatch::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KColorPatch::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KColorPatch::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KColorPatch::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KColorPatch::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KColorPatch::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KColorPatch::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KColorPatch::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KColorPatch::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KColorPatch::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KColorPatch::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KColorPatch::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KColorPatch::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KColorPatch::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KColorPatch::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KColorPatch::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KColorPatch::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KColorPatch::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KColorPatch::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KColorPatch::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KColorPatch::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KColorPatch::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KColorPatch::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KColorPatch::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorPatch::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KColorPatch::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKColorPatch::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KColorPatch::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKColorPatch::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KColorPatch::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorPatch::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KColorPatch::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorPatch::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KColorPatch::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKColorPatch::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KColorPatch::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKColorPatch::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KColorPatch::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorPatch::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KColorPatch::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorPatch::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KColorPatch::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKColorPatch::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KColorPatch::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KColorPatch::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KColorPatch::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KColorPatch::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorPatch::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KColorPatch::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}


extern "C" {static PyObject *meth_KColorPatch_setColor(PyObject *, PyObject *);}
static PyObject *meth_KColorPatch_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::KColorPatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorPatch, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorPatch, sipName_setColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorPatch_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorPatch_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KColorPatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorPatch, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorPatch::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_KColorPatch, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorPatch_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorPatch_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KColorPatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorPatch, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorPatch::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_KColorPatch, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorPatch_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorPatch_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragEnterEvent* a0;
         ::KColorPatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorPatch, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorPatch::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorPatch, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorPatch_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorPatch_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDropEvent* a0;
         ::KColorPatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorPatch, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorPatch::dropEvent(a0) : sipCpp->dropEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorPatch, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorPatch_color(PyObject *, PyObject *);}
static PyObject *meth_KColorPatch_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorPatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorPatch, &sipCpp))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor(sipCpp->color());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorPatch, sipName_color, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KColorPatch(void *, const sipTypeDef *);}
static void *cast_KColorPatch(void *sipCppV, const sipTypeDef *targetType)
{
     ::KColorPatch *sipCpp = reinterpret_cast< ::KColorPatch *>(sipCppV);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KColorPatch(void *, int);}
static void release_KColorPatch(void *sipCppV, int)
{
     ::KColorPatch *sipCpp = reinterpret_cast< ::KColorPatch *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KColorPatch(sipSimpleWrapper *);}
static void dealloc_KColorPatch(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKColorPatch *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KColorPatch(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KColorPatch(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KColorPatch(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKColorPatch *sipCpp = 0;

    {
         ::QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKColorPatch(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KColorPatch[] = {{37, 2, 1}};


static PyMethodDef methods_KColorPatch[] = {
    {SIP_MLNAME_CAST(sipName_color), meth_KColorPatch_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KColorPatch_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KColorPatch_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KColorPatch_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KColorPatch_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_KColorPatch_setColor, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KColorPatch[] = {
    {"colorChanged(QColor)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KColorPatch = {
    & ::KColorPatch::staticMetaObject,
    0,
    signals_KColorPatch
};


sipClassTypeDef sipTypeDef_kdeui_KColorPatch = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KColorPatch,
        {0},
        &plugin_KColorPatch
    },
    {
        sipNameNr_KColorPatch,
        {0, 0, 1},
        6, methods_KColorPatch,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KColorPatch,
    0,
    init_type_KColorPatch,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KColorPatch,
    0,
    0,
    0,
    release_KColorPatch,
    cast_KColorPatch,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcolordialog.sip"
#include <kcolordialog.h>
#line 41664 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 41668 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 41671 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41674 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41677 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41680 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41683 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41686 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 41689 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 41692 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41695 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 45 "/usr/share/sip/PyQt4/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 41698 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 41701 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41704 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 41707 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41710 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41713 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 41716 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 41719 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 41722 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 41725 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41728 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41731 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 41734 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 41737 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 165 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 41740 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41743 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 41746 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41749 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41752 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41755 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 1126 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 41758 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qheaderview.sip"
#include <qheaderview.h>
#line 41761 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 85 "/usr/share/sip/PyQt4/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 41764 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41767 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 41770 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 41773 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41776 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41779 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41782 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 41785 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 41788 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 41791 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41794 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41797 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 41800 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41803 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41806 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 41809 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 41812 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qframe.sip"
#include <qframe.h>
#line 41815 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41818 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41821 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 41824 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 41827 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 41830 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 41833 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 41836 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 41839 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 41842 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 41845 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 41848 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41851 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 41854 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41857 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41860 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41863 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41866 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41869 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 41872 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 41875 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 41878 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 41881 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41884 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 41887 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 41890 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 41893 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 41896 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 41899 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 41902 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 41905 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 41908 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 41911 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41914 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41917 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 41920 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 41923 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 41926 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 41929 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKColorCells : public  ::KColorCells
{
public:
    sipKColorCells( ::QWidget*,int,int);
    virtual ~sipKColorCells();

    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 scrollContentsBy(int,int);
    bool viewportEvent( ::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*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void setSelectionModel( ::QItemSelectionModel*);
    void keyboardSearch(const  ::QString&);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QModelIndex indexAt(const  ::QPoint&) const;
    int sizeHintForRow(int) const;
    int sizeHintForColumn(int) const;
    void reset();
    void setRootIndex(const  ::QModelIndex&);
    void selectAll();
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void updateEditorData();
    void updateEditorGeometries();
    void updateGeometries();
    void verticalScrollbarAction(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarValueChanged(int);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void commitData( ::QWidget*);
    void editorDestroyed( ::QObject*);
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    int horizontalOffset() const;
    int verticalOffset() const;
    bool isIndexHidden(const  ::QModelIndex&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
     ::QModelIndexList selectedIndexes() const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    void startDrag( ::Qt::DropActions);
     ::QStyleOptionViewItem viewOptions() const;
     ::QStringList mimeTypes() const;
     ::QMimeData* mimeData(const QList< ::QTableWidgetItem*>) const;
    bool dropMimeData(int,int,const  ::QMimeData*, ::Qt::DropAction);
     ::Qt::DropActions supportedDropActions() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKColorCells(const sipKColorCells &);
    sipKColorCells &operator = (const sipKColorCells &);

    char sipPyMethods[89];
};

sipKColorCells::sipKColorCells( ::QWidget*a0,int a1,int a2):  ::KColorCells(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKColorCells::~sipKColorCells()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKColorCells::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KColorCells);
}

int sipKColorCells::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KColorCells::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KColorCells,_c,_id,_a);

    return _id;
}

void *sipKColorCells::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KColorCells, _clname)) ? this :  ::KColorCells::qt_metacast(_clname);
}

void sipKColorCells::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::KColorCells::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_kdeui_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_kdeui_78(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipKColorCells::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::KColorCells::viewportEvent(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KColorCells::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCells::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KColorCells::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KColorCells::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KColorCells::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KColorCells::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorCells::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KColorCells::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKColorCells::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KColorCells::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KColorCells::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KColorCells::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KColorCells::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KColorCells::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KColorCells::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KColorCells::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KColorCells::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KColorCells::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KColorCells::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KColorCells::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KColorCells::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KColorCells::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KColorCells::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KColorCells::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KColorCells::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KColorCells::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KColorCells::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KColorCells::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KColorCells::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KColorCells::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KColorCells::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KColorCells::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KColorCells::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KColorCells::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KColorCells::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KColorCells::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorCells::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  ::KColorCells::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKColorCells::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KColorCells::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKColorCells::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KColorCells::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCells::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KColorCells::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorCells::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KColorCells::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKColorCells::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KColorCells::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKColorCells::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KColorCells::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorCells::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KColorCells::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorCells::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KColorCells::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKColorCells::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KColorCells::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KColorCells::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KColorCells::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KColorCells::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KColorCells::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::KColorCells::setSelectionModel(a0);
        return;
    }

    extern void sipVH_kdeui_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_kdeui_79(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::KColorCells::keyboardSearch(a0);
        return;
    }

    extern void sipVH_kdeui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_kdeui_36(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QRect sipKColorCells::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::KColorCells::visualRect(a0);

    extern  ::QRect sipVH_kdeui_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_80(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::KColorCells::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_kdeui_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_kdeui_81(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipKColorCells::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::KColorCells::indexAt(a0);

    extern  ::QModelIndex sipVH_kdeui_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_kdeui_82(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorCells::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::KColorCells::sizeHintForRow(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorCells::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return  ::KColorCells::sizeHintForColumn(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::KColorCells::reset();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCells::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::KColorCells::setRootIndex(a0);
        return;
    }

    extern void sipVH_kdeui_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_kdeui_61(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::KColorCells::selectAll();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCells::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::KColorCells::dataChanged(a0,a1);
        return;
    }

    extern void sipVH_kdeui_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kdeui_83(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKColorCells::rowsInserted(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::KColorCells::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kdeui_84(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKColorCells::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::KColorCells::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_kdeui_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_kdeui_84(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKColorCells::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::KColorCells::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_kdeui_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_kdeui_85(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKColorCells::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::KColorCells::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_kdeui_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_kdeui_83(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKColorCells::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::KColorCells::updateEditorData();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCells::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::KColorCells::updateEditorGeometries();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCells::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::KColorCells::updateGeometries();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCells::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::KColorCells::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::KColorCells::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KColorCells::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KColorCells::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_kdeui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_kdeui_1(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::KColorCells::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_kdeui_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_kdeui_86(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKColorCells::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::KColorCells::commitData(a0);
        return;
    }

    extern void sipVH_kdeui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_kdeui_44(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::KColorCells::editorDestroyed(a0);
        return;
    }

    extern void sipVH_kdeui_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_kdeui_87(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipKColorCells::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::KColorCells::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_kdeui_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);

    return sipVH_kdeui_88(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

int sipKColorCells::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[75]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::KColorCells::horizontalOffset();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKColorCells::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[76]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::KColorCells::verticalOffset();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKColorCells::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::KColorCells::isIndexHidden(a0);

    extern bool sipVH_kdeui_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_kdeui_60(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCells::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::KColorCells::setSelection(a0,a1);
        return;
    }

    extern void sipVH_kdeui_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_kdeui_89(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

 ::QRegion sipKColorCells::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::KColorCells::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_kdeui_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_kdeui_90(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipKColorCells::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::KColorCells::selectedIndexes();

    extern  ::QModelIndexList sipVH_kdeui_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_91(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipKColorCells::edit(const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::KColorCells::edit(a0,a1,a2);

    extern bool sipVH_kdeui_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_kdeui_92(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QItemSelectionModel::SelectionFlags sipKColorCells::selectionCommand(const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::KColorCells::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_kdeui_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_kdeui_93(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKColorCells::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::KColorCells::startDrag(a0);
        return;
    }

    extern void sipVH_kdeui_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_kdeui_94(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QStyleOptionViewItem sipKColorCells::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::KColorCells::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_kdeui_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_95(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QStringList sipKColorCells::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[85]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::KColorCells::mimeTypes();

    extern  ::QStringList sipVH_kdeui_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_66(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QMimeData* sipKColorCells::mimeData(const QList< ::QTableWidgetItem*> a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::KColorCells::mimeData(a0);

    extern  ::QMimeData* sipVH_kdeui_107(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList< ::QTableWidgetItem*>);

    return sipVH_kdeui_107(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorCells::dropMimeData(int a0,int a1,const  ::QMimeData*a2, ::Qt::DropAction a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::KColorCells::dropMimeData(a0,a1,a2,a3);

    extern bool sipVH_kdeui_106(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QMimeData*, ::Qt::DropAction);

    return sipVH_kdeui_106(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::Qt::DropActions sipKColorCells::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[88]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::KColorCells::supportedDropActions();

    extern  ::Qt::DropActions sipVH_kdeui_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_63(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KColorCells_setColor(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QColor* a1;
        int a1State = 0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_KColorCells, &sipCpp, &a0, sipType_QColor, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColor(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a1),sipType_QColor,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_setColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_color(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KColorCells, &sipCpp, &a0))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor(sipCpp->color(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_color, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_count(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorCells, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_count, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_setShading(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_setShading(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KColorCells, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setShading(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_setShading, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_setAcceptDrags(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_setAcceptDrags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KColorCells, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAcceptDrags(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_setAcceptDrags, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_setSelected(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_setSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KColorCells, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSelected(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_setSelected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_selectedIndex(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_selectedIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorCells, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->selectedIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_selectedIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_sizeHintForColumn(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_sizeHintForColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const  ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KColorCells, &sipCpp, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KColorCells::sizeHintForColumn(a0) : sipCpp->sizeHintForColumn(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_sizeHintForColumn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_sizeHintForRow(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_sizeHintForRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const  ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_KColorCells, &sipCpp, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::KColorCells::sizeHintForRow(a0) : sipCpp->sizeHintForRow(a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_sizeHintForRow, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorCells, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorCells::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_KColorCells, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorCells, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorCells::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_KColorCells, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorCells, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorCells::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_KColorCells, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorCells, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorCells::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_KColorCells, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragEnterEvent* a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorCells, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorCells::dragEnterEvent(a0) : sipCpp->dragEnterEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragMoveEvent* a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorCells, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorCells::dragMoveEvent(a0) : sipCpp->dragMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDropEvent* a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorCells, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorCells::dropEvent(a0) : sipCpp->dropEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
         ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorCells, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorCells::mouseDoubleClickEvent(a0) : sipCpp->mouseDoubleClickEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCells_positionToCell(PyObject *, PyObject *);}
static PyObject *meth_KColorCells_positionToCell(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
        bool a1 = 0;
        const  ::KColorCells *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9|b", &sipSelf, sipType_KColorCells, &sipCpp, sipType_QPoint, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->positionToCell(*a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCells, sipName_positionToCell, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KColorCells(void *, const sipTypeDef *);}
static void *cast_KColorCells(void *sipCppV, const sipTypeDef *targetType)
{
     ::KColorCells *sipCpp = reinterpret_cast< ::KColorCells *>(sipCppV);

    if (targetType == sipType_QTableWidget)
        return static_cast< ::QTableWidget *>(sipCpp);

    if (targetType == sipType_QTableView)
        return static_cast< ::QTableView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KColorCells(void *, int);}
static void release_KColorCells(void *sipCppV, int)
{
     ::KColorCells *sipCpp = reinterpret_cast< ::KColorCells *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KColorCells(sipSimpleWrapper *);}
static void dealloc_KColorCells(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKColorCells *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KColorCells(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KColorCells(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KColorCells(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKColorCells *sipCpp = 0;

    {
         ::QWidget* a0;
        int a1;
        int a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHii", sipType_QWidget, &a0, sipOwner, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKColorCells(a0,a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KColorCells[] = {{115, 2, 1}};


static PyMethodDef methods_KColorCells[] = {
    {SIP_MLNAME_CAST(sipName_color), meth_KColorCells_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_KColorCells_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KColorCells_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KColorCells_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KColorCells_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KColorCells_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KColorCells_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KColorCells_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KColorCells_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_positionToCell), meth_KColorCells_positionToCell, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KColorCells_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedIndex), meth_KColorCells_selectedIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptDrags), meth_KColorCells_setAcceptDrags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_KColorCells_setColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelected), meth_KColorCells_setSelected, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setShading), meth_KColorCells_setShading, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHintForColumn), meth_KColorCells_sizeHintForColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHintForRow), meth_KColorCells_sizeHintForRow, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KColorCells[] = {
    {"colorDoubleClicked(int,QColor)", 0, 0, 0},
    {"colorSelected(int,QColor)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KColorCells = {
    & ::KColorCells::staticMetaObject,
    0,
    signals_KColorCells
};


sipClassTypeDef sipTypeDef_kdeui_KColorCells = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KColorCells,
        {0},
        &plugin_KColorCells
    },
    {
        sipNameNr_KColorCells,
        {0, 0, 1},
        18, methods_KColorCells,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KColorCells,
    0,
    init_type_KColorCells,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KColorCells,
    0,
    0,
    0,
    release_KColorCells,
    cast_KColorCells,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/src/pykde4-4.14.3/sip/kdeui/kcolorcombo.sip"
#include <kcolorcombo.h>
#line 44282 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"

#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 44286 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 524 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44289 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcolor.sip"
#include <qcolor.h>
#line 44292 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 44295 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 265 "/usr/share/sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 44298 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44301 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 647 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44304 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 618 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44307 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 347 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44310 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 474 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44313 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 252 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44316 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 607 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44319 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 596 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44322 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 561 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44325 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44328 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 505 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44331 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 1576 "/usr/share/sip/PyQt4/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 44334 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 44337 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qcompleter.sip"
#include <qcompleter.h>
#line 44340 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 44343 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 44346 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 44349 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 27 "/usr/share/sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 44352 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 44355 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 122 "/usr/share/sip/PyQt4/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 44358 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 44361 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 44364 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlineedit.sip"
#include <qlineedit.h>
#line 44367 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcombobox.sip"
#include <qcombobox.h>
#line 44370 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44373 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44376 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 44379 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44382 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 44385 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 44388 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 44391 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 44394 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 44397 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 44400 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 44403 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 44406 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 32 "/usr/share/sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 44409 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 44412 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 44415 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 44418 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 44421 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44424 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 44427 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 739 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44430 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 792 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44433 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 765 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44436 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 781 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44439 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 854 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44442 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 403 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44445 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 574 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44448 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 548 "/usr/share/sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 44451 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 44454 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 52 "/usr/share/sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 44457 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 34 "/usr/share/sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 44460 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 44463 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 44466 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 44469 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 44472 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44475 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 44478 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 44481 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 44484 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 44487 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 368 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44490 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 351 "/usr/share/sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44493 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 29 "/usr/share/sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 44496 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 28 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 44499 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 115 "/usr/share/sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 44502 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 44505 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 44508 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"
#line 26 "/usr/share/sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44511 "/usr/src/ports/python-pykde4/python-pykde4-4.14.3-4.i686/build/py3/sip/kdeui/sipkdeuipart6.cpp"


class sipKColorCombo : public  ::KColorCombo
{
public:
    sipKColorCombo( ::QWidget*);
    virtual ~sipKColorCombo();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void languageChange();
    void windowActivationChange(bool);
    void fontChange(const  ::QFont&);
    void paletteChange(const  ::QPalette&);
    void enabledChange(bool);
    bool focusNextPrevChild(bool);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    void inputMethodEvent( ::QInputMethodEvent*);
    void changeEvent( ::QEvent*);
    void hideEvent( ::QHideEvent*);
    void showEvent( ::QShowEvent*);
    void dropEvent( ::QDropEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void actionEvent( ::QActionEvent*);
    void tabletEvent( ::QTabletEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void closeEvent( ::QCloseEvent*);
    void resizeEvent( ::QResizeEvent*);
    void moveEvent( ::QMoveEvent*);
    void paintEvent( ::QPaintEvent*);
    void leaveEvent( ::QEvent*);
    void enterEvent( ::QEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void focusInEvent( ::QFocusEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void wheelEvent( ::QWheelEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mousePressEvent( ::QMouseEvent*);
    int heightForWidth(int) const;
     ::QSize minimumSizeHint() const;
     ::QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
     ::QPaintEngine* paintEngine() const;
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const char*);
    void disconnectNotify(const char*);
    void showPopup();
    void hidePopup();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKColorCombo(const sipKColorCombo &);
    sipKColorCombo &operator = (const sipKColorCombo &);

    char sipPyMethods[49];
};

sipKColorCombo::sipKColorCombo( ::QWidget*a0):  ::KColorCombo(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKColorCombo::~sipKColorCombo()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKColorCombo::metaObject() const
{
    return sip_kdeui_qt_metaobject(sipPySelf,sipType_KColorCombo);
}

int sipKColorCombo::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KColorCombo::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kdeui_qt_metacall(sipPySelf,sipType_KColorCombo,_c,_id,_a);

    return _id;
}

void *sipKColorCombo::qt_metacast(const char *_clname)
{
    return (sip_kdeui_qt_metacast(sipPySelf, sipType_KColorCombo, _clname)) ? this :  ::KColorCombo::qt_metacast(_clname);
}

void sipKColorCombo::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_languageChange);

    if (!sipMeth)
    {
         ::KColorCombo::languageChange();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCombo::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_windowActivationChange);

    if (!sipMeth)
    {
         ::KColorCombo::windowActivationChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::fontChange(const  ::QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_fontChange);

    if (!sipMeth)
    {
         ::KColorCombo::fontChange(a0);
        return;
    }

    extern void sipVH_kdeui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QFont&);

    sipVH_kdeui_35(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::paletteChange(const  ::QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_paletteChange);

    if (!sipMeth)
    {
         ::KColorCombo::paletteChange(a0);
        return;
    }

    extern void sipVH_kdeui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPalette&);

    sipVH_kdeui_34(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_enabledChange);

    if (!sipMeth)
    {
         ::KColorCombo::enabledChange(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorCombo::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KColorCombo::focusNextPrevChild(a0);

    extern bool sipVH_kdeui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_kdeui_33(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKColorCombo::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KColorCombo::inputMethodQuery(a0);

    extern  ::QVariant sipVH_kdeui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_kdeui_32(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KColorCombo::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_kdeui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_kdeui_31(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KColorCombo::changeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KColorCombo::hideEvent(a0);
        return;
    }

    extern void sipVH_kdeui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_kdeui_30(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KColorCombo::showEvent(a0);
        return;
    }

    extern void sipVH_kdeui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_kdeui_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KColorCombo::dropEvent(a0);
        return;
    }

    extern void sipVH_kdeui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_kdeui_28(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KColorCombo::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_kdeui_27(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KColorCombo::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_kdeui_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KColorCombo::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_kdeui_25(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KColorCombo::actionEvent(a0);
        return;
    }

    extern void sipVH_kdeui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_kdeui_24(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KColorCombo::tabletEvent(a0);
        return;
    }

    extern void sipVH_kdeui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_kdeui_23(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KColorCombo::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_kdeui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_kdeui_22(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KColorCombo::closeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_kdeui_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KColorCombo::resizeEvent(a0);
        return;
    }

    extern void sipVH_kdeui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_kdeui_20(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KColorCombo::moveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_kdeui_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KColorCombo::paintEvent(a0);
        return;
    }

    extern void sipVH_kdeui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_kdeui_18(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KColorCombo::leaveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KColorCombo::enterEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KColorCombo::focusOutEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KColorCombo::focusInEvent(a0);
        return;
    }

    extern void sipVH_kdeui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_kdeui_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KColorCombo::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KColorCombo::keyPressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_kdeui_16(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KColorCombo::wheelEvent(a0);
        return;
    }

    extern void sipVH_kdeui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_kdeui_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KColorCombo::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KColorCombo::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KColorCombo::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KColorCombo::mousePressEvent(a0);
        return;
    }

    extern void sipVH_kdeui_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_kdeui_14(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorCombo::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KColorCombo::heightForWidth(a0);

    extern int sipVH_kdeui_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_kdeui_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

 ::QSize sipKColorCombo::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KColorCombo::minimumSizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QSize sipKColorCombo::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KColorCombo::sizeHint();

    extern  ::QSize sipVH_kdeui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_12(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCombo::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KColorCombo::setVisible(a0);
        return;
    }

    extern void sipVH_kdeui_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_kdeui_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

int sipKColorCombo::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KColorCombo::devType();

    extern int sipVH_kdeui_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_10(sipGILState, 0, sipPySelf, sipMeth);
}

 ::QPaintEngine* sipKColorCombo::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KColorCombo::paintEngine();

    extern  ::QPaintEngine* sipVH_kdeui_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_kdeui_9(sipGILState, 0, sipPySelf, sipMeth);
}

int sipKColorCombo::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KColorCombo::metric(a0);

    extern int sipVH_kdeui_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_kdeui_8(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorCombo::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KColorCombo::event(a0);

    extern bool sipVH_kdeui_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_kdeui_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipKColorCombo::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KColorCombo::eventFilter(a0,a1);

    extern bool sipVH_kdeui_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_kdeui_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipKColorCombo::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KColorCombo::timerEvent(a0);
        return;
    }

    extern void sipVH_kdeui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_kdeui_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KColorCombo::childEvent(a0);
        return;
    }

    extern void sipVH_kdeui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_kdeui_4(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KColorCombo::customEvent(a0);
        return;
    }

    extern void sipVH_kdeui_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_kdeui_3(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KColorCombo::connectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::disconnectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KColorCombo::disconnectNotify(a0);
        return;
    }

    extern void sipVH_kdeui_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*);

    sipVH_kdeui_2(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipKColorCombo::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
         ::KColorCombo::showPopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}

void sipKColorCombo::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hidePopup);

    if (!sipMeth)
    {
         ::KColorCombo::hidePopup();
        return;
    }

    extern void sipVH_kdeui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_kdeui_0(sipGILState, 0, sipPySelf, sipMeth);
}


extern "C" {static PyObject *meth_KColorCombo_setColor(PyObject *, PyObject *);}
static PyObject *meth_KColorCombo_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::KColorCombo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorCombo, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCombo, sipName_setColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCombo_color(PyObject *, PyObject *);}
static PyObject *meth_KColorCombo_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorCombo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorCombo, &sipCpp))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor(sipCpp->color());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCombo, sipName_color, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCombo_isCustomColor(PyObject *, PyObject *);}
static PyObject *meth_KColorCombo_isCustomColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorCombo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorCombo, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCustomColor();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCombo, sipName_isCustomColor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCombo_setColors(PyObject *, PyObject *);}
static PyObject *meth_KColorCombo_setColors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::QColor>* a0;
        int a0State = 0;
         ::KColorCombo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KColorCombo, &sipCpp, sipType_QList_0100QColor,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setColors(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList< ::QColor> *>(a0),sipType_QList_0100QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCombo, sipName_setColors, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCombo_colors(PyObject *, PyObject *);}
static PyObject *meth_KColorCombo_colors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KColorCombo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorCombo, &sipCpp))
        {
            QList< ::QColor>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList< ::QColor>(sipCpp->colors());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCombo, sipName_colors, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCombo_showEmptyList(PyObject *, PyObject *);}
static PyObject *meth_KColorCombo_showEmptyList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KColorCombo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KColorCombo, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showEmptyList();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KColorCombo, sipName_showEmptyList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KColorCombo_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_KColorCombo_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::KColorCombo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_KColorCombo, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::KColorCombo::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_KColorCombo, sipName_paintEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KColorCombo(void *, const sipTypeDef *);}
static void *cast_KColorCombo(void *sipCppV, const sipTypeDef *targetType)
{
     ::KColorCombo *sipCpp = reinterpret_cast< ::KColorCombo *>(sipCppV);

    if (targetType == sipType_QComboBox)
        return static_cast< ::QComboBox *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KColorCombo(void *, int);}
static void release_KColorCombo(void *sipCppV, int)
{
     ::KColorCombo *sipCpp = reinterpret_cast< ::KColorCombo *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KColorCombo(sipSimpleWrapper *);}
static void dealloc_KColorCombo(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKColorCombo *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KColorCombo(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KColorCombo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KColorCombo(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKColorCombo *sipCpp = 0;

    {
         ::QWidget* a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKColorCombo(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KColorCombo[] = {{22, 2, 1}};


static PyMethodDef methods_KColorCombo[] = {
    {SIP_MLNAME_CAST(sipName_color), meth_KColorCombo_color, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_colors), meth_KColorCombo_colors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isCustomColor), meth_KColorCombo_isCustomColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KColorCombo_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_KColorCombo_setColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setColors), meth_KColorCombo_setColors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEmptyList), meth_KColorCombo_showEmptyList, METH_VARARGS, NULL}
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_KColorCombo[] = {
    {"highlighted(QColor)", 0, 0, 0},
    {"activated(QColor)", 0, 0, 0},
    {0, 0, 0, 0}
};


static pyqt4ClassPluginDef plugin_KColorCombo = {
    & ::KColorCombo::staticMetaObject,
    0,
    signals_KColorCombo
};


sipClassTypeDef sipTypeDef_kdeui_KColorCombo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KColorCombo,
        {0},
        &plugin_KColorCombo
    },
    {
        sipNameNr_KColorCombo,
        {0, 0, 1},
        7, methods_KColorCombo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KColorCombo,
    0,
    init_type_KColorCombo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KColorCombo,
    0,
    0,
    0,
    release_KColorCombo,
    cast_KColorCombo,
    0,
    0,
    0,
    0,
    0,
    0
};
