/*
 * Module code.
 *
 * Generated by SIP 4.10.2 on Sun Jul 11 10:11:26 2010
 */

#include "sipAPInepomuk.h"

#line 45 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/resource.sip"
#include <nepomuk/resource.h>
#line 12 "sipnepomukpart4.cpp"

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/resourcemanager.sip"
#include <nepomuk/resourcemanager.h>
#line 16 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 22 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 25 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 28 "sipnepomukpart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/tag.sip"
#include <nepomuk/tag.h>
#line 31 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 34 "sipnepomukpart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/thing.sip"
#include <nepomuk/thing.h>
#line 37 "sipnepomukpart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/variant.sip"
#include <nepomuk/variant.h>
#line 40 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 43 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 46 "sipnepomukpart4.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 49 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 52 "sipnepomukpart4.cpp"


class sipNepomuk_Resource : public Nepomuk::Resource
{
public:
    sipNepomuk_Resource();
    sipNepomuk_Resource(Nepomuk::ResourceManager *);
    sipNepomuk_Resource(const Nepomuk::Resource&);
    sipNepomuk_Resource(const QString&,const QUrl&);
    sipNepomuk_Resource(const QString&,const QUrl&,Nepomuk::ResourceManager *);
    sipNepomuk_Resource(const QString&,const QString&);
    sipNepomuk_Resource(const QUrl&,const QUrl&);
    sipNepomuk_Resource(const QUrl&,const QUrl&,Nepomuk::ResourceManager *);
    ~sipNepomuk_Resource();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipNepomuk_Resource(const sipNepomuk_Resource &);
    sipNepomuk_Resource &operator = (const sipNepomuk_Resource &);
};

sipNepomuk_Resource::sipNepomuk_Resource(): Nepomuk::Resource(), sipPySelf(0)
{
}

sipNepomuk_Resource::sipNepomuk_Resource(Nepomuk::ResourceManager *a0): Nepomuk::Resource(a0), sipPySelf(0)
{
}

sipNepomuk_Resource::sipNepomuk_Resource(const Nepomuk::Resource& a0): Nepomuk::Resource(a0), sipPySelf(0)
{
}

sipNepomuk_Resource::sipNepomuk_Resource(const QString& a0,const QUrl& a1): Nepomuk::Resource(a0,a1), sipPySelf(0)
{
}

sipNepomuk_Resource::sipNepomuk_Resource(const QString& a0,const QUrl& a1,Nepomuk::ResourceManager *a2): Nepomuk::Resource(a0,a1,a2), sipPySelf(0)
{
}

sipNepomuk_Resource::sipNepomuk_Resource(const QString& a0,const QString& a1): Nepomuk::Resource(a0,a1), sipPySelf(0)
{
}

sipNepomuk_Resource::sipNepomuk_Resource(const QUrl& a0,const QUrl& a1): Nepomuk::Resource(a0,a1), sipPySelf(0)
{
}

sipNepomuk_Resource::sipNepomuk_Resource(const QUrl& a0,const QUrl& a1,Nepomuk::ResourceManager *a2): Nepomuk::Resource(a0,a1,a2), sipPySelf(0)
{
}

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


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            Nepomuk::ResourceManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->manager();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->resourceUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->resourceType());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QUrl>(sipCpp->types());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QList<QUrl> * a0;
        int a0State = 0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QList_0100QUrl,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<QUrl> *>(a0),sipType_QList_0100QUrl,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QUrl * a0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addType(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QUrl * a0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QUrl, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasType(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            QHash<QString,Nepomuk::Variant> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QString,Nepomuk::Variant>(sipCpp->allProperties());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            QHash<QUrl,Nepomuk::Variant> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QUrl,Nepomuk::Variant>(sipCpp->properties());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QUrl * a0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QUrl, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasProperty(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasProperty(*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_Resource, sipName_hasProperty, NULL);

    return NULL;
}


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

    {
        const QUrl * a0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QUrl, &a0))
        {
            Nepomuk::Variant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Variant(sipCpp->property(*a0));
            Py_END_ALLOW_THREADS

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Nepomuk::Variant *sipRes;

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

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

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

    return NULL;
}


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

    {
        const QUrl * a0;
        const Nepomuk::Variant * a1;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QUrl, &a0, sipType_Nepomuk_Variant, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProperty(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const Nepomuk::Variant * a1;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QString,&a0, &a0State, sipType_Nepomuk_Variant, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProperty(*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_Resource, sipName_setProperty, NULL);

    return NULL;
}


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

    {
        const QUrl * a0;
        const Nepomuk::Variant * a1;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QUrl, &a0, sipType_Nepomuk_Variant, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addProperty(*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_Resource, sipName_addProperty, NULL);

    return NULL;
}


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

    {
        const QUrl * a0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeProperty(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QUrl * a0;
        const Nepomuk::Variant * a1;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QUrl, &a0, sipType_Nepomuk_Variant, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeProperty(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeProperty(*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_Resource, sipName_removeProperty, NULL);

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exists();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &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_Resource, sipName_isValid, NULL);

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            Nepomuk::Thing *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Thing(sipCpp->pimoThing());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::descriptionUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIdentifiers(*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_Resource, sipName_setIdentifiers, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addIdentifier(*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_Resource, sipName_addIdentifier, NULL);

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::identifierUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAltLabels(*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_Resource, sipName_setAltLabels, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addAltLabel(*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_Resource, sipName_addAltLabel, NULL);

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::altLabelUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            QList<Nepomuk::Resource> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Resource>(sipCpp->annotations());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QList<Nepomuk::Resource> * a0;
        int a0State = 0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QList_0100Nepomuk_Resource,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAnnotations(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<Nepomuk::Resource> *>(a0),sipType_QList_0100Nepomuk_Resource,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Nepomuk::Resource * a0;
        Nepomuk::Resource *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::annotationUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            QList<Nepomuk::Tag> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Tag>(sipCpp->tags());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QList<Nepomuk::Tag> * a0;
        int a0State = 0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QList_0100Nepomuk_Tag,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTags(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<Nepomuk::Tag> *>(a0),sipType_QList_0100Nepomuk_Tag,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Nepomuk::Tag * a0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_Nepomuk_Tag, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addTag(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::tagUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            QList<Nepomuk::Resource> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Resource>(sipCpp->topics());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QList<Nepomuk::Resource> * a0;
        int a0State = 0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QList_0100Nepomuk_Resource,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTopics(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<Nepomuk::Resource> *>(a0),sipType_QList_0100Nepomuk_Resource,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Nepomuk::Resource * a0;
        Nepomuk::Resource *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::topicUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            QList<Nepomuk::Resource> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Resource>(sipCpp->isTopicOfs());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QList<Nepomuk::Resource> * a0;
        int a0State = 0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QList_0100Nepomuk_Resource,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIsTopicOfs(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<Nepomuk::Resource> *>(a0),sipType_QList_0100Nepomuk_Resource,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Nepomuk::Resource * a0;
        Nepomuk::Resource *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::isTopicOfUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            QList<Nepomuk::Resource> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Resource>(sipCpp->isRelateds());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QList<Nepomuk::Resource> * a0;
        int a0State = 0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QList_0100Nepomuk_Resource,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIsRelateds(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QList<Nepomuk::Resource> *>(a0),sipType_QList_0100Nepomuk_Resource,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Nepomuk::Resource * a0;
        Nepomuk::Resource *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::isRelatedUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::labelUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            quint32 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rating();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        quint32 a0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRating(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::ratingUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSymbols(*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_Resource, sipName_setSymbols, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Resource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addSymbol(*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_Resource, sipName_addSymbol, NULL);

    return NULL;
}


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Nepomuk::Resource::symbolUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            QList<Nepomuk::Resource> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Resource>(sipCpp->annotationOf());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Resource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Resource, &sipCpp))
        {
            QList<Nepomuk::Resource> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Resource>(sipCpp->isRelatedOf());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList<Nepomuk::Resource> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Resource>(Nepomuk::Resource::allResources());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


extern "C" {static PyObject *slot_Nepomuk_Resource___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Nepomuk_Resource___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Nepomuk::Resource *sipCpp = reinterpret_cast<Nepomuk::Resource *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Nepomuk_Resource));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Nepomuk::Resource * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_Nepomuk_Resource, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Nepomuk::Resource::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_nepomuk,ne_slot,sipType_Nepomuk_Resource,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Nepomuk_Resource___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Nepomuk_Resource___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Nepomuk::Resource *sipCpp = reinterpret_cast<Nepomuk::Resource *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Nepomuk_Resource));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Nepomuk::Resource * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_Nepomuk_Resource, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Nepomuk::Resource::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_nepomuk,eq_slot,sipType_Nepomuk_Resource,sipSelf,sipArg);
}


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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipNepomuk_Resource *>(sipCppV);
    else
        delete reinterpret_cast<Nepomuk::Resource *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_Nepomuk_Resource(SIP_SSIZE_T);}
static void *array_Nepomuk_Resource(SIP_SSIZE_T sipNrElem)
{
    return new Nepomuk::Resource[sipNrElem];
}


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


extern "C" {static void dealloc_Nepomuk_Resource(sipSimpleWrapper *);}
static void dealloc_Nepomuk_Resource(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipNepomuk_Resource *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Nepomuk_Resource(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Nepomuk::ResourceManager * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_Nepomuk_ResourceManager, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipNepomuk_Resource(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const Nepomuk::Resource * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString * a0;
        int a0State = 0;
        const QUrl * a1;
        Nepomuk::ResourceManager * a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J9J8", sipType_QString,&a0, &a0State, sipType_QUrl, &a1, sipType_Nepomuk_ResourceManager, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipNepomuk_Resource(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QUrl * a0;
        const QUrl& a1def = QUrl();
        const QUrl * a1 = &a1def;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|J9", sipType_QUrl, &a0, sipType_QUrl, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipNepomuk_Resource(*a0,*a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QUrl * a0;
        const QUrl * a1;
        Nepomuk::ResourceManager * a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9J8", sipType_QUrl, &a0, sipType_QUrl, &a1, sipType_Nepomuk_ResourceManager, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipNepomuk_Resource(*a0,*a1,a2);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Nepomuk_Resource[] = {
    {(void *)slot_Nepomuk_Resource___ne__, ne_slot},
    {(void *)slot_Nepomuk_Resource___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_Nepomuk_Resource[] = {
    {SIP_MLNAME_CAST(sipName_addAltLabel), meth_Nepomuk_Resource_addAltLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addAnnotation), meth_Nepomuk_Resource_addAnnotation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addIdentifier), meth_Nepomuk_Resource_addIdentifier, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addIsRelated), meth_Nepomuk_Resource_addIsRelated, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addIsTopicOf), meth_Nepomuk_Resource_addIsTopicOf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addProperty), meth_Nepomuk_Resource_addProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addSymbol), meth_Nepomuk_Resource_addSymbol, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addTag), meth_Nepomuk_Resource_addTag, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addTopic), meth_Nepomuk_Resource_addTopic, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addType), meth_Nepomuk_Resource_addType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allProperties), meth_Nepomuk_Resource_allProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allResources), meth_Nepomuk_Resource_allResources, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_altLabelUri), meth_Nepomuk_Resource_altLabelUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_altLabels), meth_Nepomuk_Resource_altLabels, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_annotationOf), meth_Nepomuk_Resource_annotationOf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_annotationUri), meth_Nepomuk_Resource_annotationUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_annotations), meth_Nepomuk_Resource_annotations, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_className), meth_Nepomuk_Resource_className, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_Nepomuk_Resource_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_descriptionUri), meth_Nepomuk_Resource_descriptionUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exists), meth_Nepomuk_Resource_exists, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_genericDescription), meth_Nepomuk_Resource_genericDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_genericIcon), meth_Nepomuk_Resource_genericIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_genericLabel), meth_Nepomuk_Resource_genericLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasProperty), meth_Nepomuk_Resource_hasProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasType), meth_Nepomuk_Resource_hasType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_identifierUri), meth_Nepomuk_Resource_identifierUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_identifiers), meth_Nepomuk_Resource_identifiers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRelatedOf), meth_Nepomuk_Resource_isRelatedOf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRelatedUri), meth_Nepomuk_Resource_isRelatedUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRelateds), meth_Nepomuk_Resource_isRelateds, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTopicOfUri), meth_Nepomuk_Resource_isTopicOfUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isTopicOfs), meth_Nepomuk_Resource_isTopicOfs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Nepomuk_Resource_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_label), meth_Nepomuk_Resource_label, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_labelUri), meth_Nepomuk_Resource_labelUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manager), meth_Nepomuk_Resource_manager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pimoThing), meth_Nepomuk_Resource_pimoThing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_properties), meth_Nepomuk_Resource_properties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_Nepomuk_Resource_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rating), meth_Nepomuk_Resource_rating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ratingUri), meth_Nepomuk_Resource_ratingUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_Nepomuk_Resource_remove, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeProperty), meth_Nepomuk_Resource_removeProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resourceType), meth_Nepomuk_Resource_resourceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resourceUri), meth_Nepomuk_Resource_resourceUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAltLabels), meth_Nepomuk_Resource_setAltLabels, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAnnotations), meth_Nepomuk_Resource_setAnnotations, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_Nepomuk_Resource_setDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIdentifiers), meth_Nepomuk_Resource_setIdentifiers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIsRelateds), meth_Nepomuk_Resource_setIsRelateds, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIsTopicOfs), meth_Nepomuk_Resource_setIsTopicOfs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_Nepomuk_Resource_setLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_Nepomuk_Resource_setProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRating), meth_Nepomuk_Resource_setRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSymbols), meth_Nepomuk_Resource_setSymbols, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTags), meth_Nepomuk_Resource_setTags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTopics), meth_Nepomuk_Resource_setTopics, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTypes), meth_Nepomuk_Resource_setTypes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_symbolUri), meth_Nepomuk_Resource_symbolUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_symbols), meth_Nepomuk_Resource_symbols, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tagUri), meth_Nepomuk_Resource_tagUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tags), meth_Nepomuk_Resource_tags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_topicUri), meth_Nepomuk_Resource_topicUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_topics), meth_Nepomuk_Resource_topics, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Nepomuk_Resource_type, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_types), meth_Nepomuk_Resource_types, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uri), meth_Nepomuk_Resource_uri, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_nepomuk_Nepomuk_Resource = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Nepomuk__Resource,
        {0}
    },
    {
        sipNameNr_Resource,
        {4, 255, 0},
        68, methods_Nepomuk_Resource,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Nepomuk_Resource,
    init_Nepomuk_Resource,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Nepomuk_Resource,
    assign_Nepomuk_Resource,
    array_Nepomuk_Resource,
    copy_Nepomuk_Resource,
    release_Nepomuk_Resource,
    cast_Nepomuk_Resource,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/property.sip"
#include <nepomuk/property.h>
#line 2449 "sipnepomukpart4.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 2453 "sipnepomukpart4.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/class.sip"
#include <nepomuk/class.h>
#line 2456 "sipnepomukpart4.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/literal.sip"
#include <nepomuk/literal.h>
#line 2459 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2462 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2465 "sipnepomukpart4.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/entity.sip"
#include <nepomuk/entity.h>
#line 2468 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 2471 "sipnepomukpart4.cpp"


class sipNepomuk_Types_Property : public Nepomuk::Types::Property
{
public:
    sipNepomuk_Types_Property();
    sipNepomuk_Types_Property(const QUrl&);
    sipNepomuk_Types_Property(const Nepomuk::Types::Property&);
    ~sipNepomuk_Types_Property();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipNepomuk_Types_Property(const sipNepomuk_Types_Property &);
    sipNepomuk_Types_Property &operator = (const sipNepomuk_Types_Property &);
};

sipNepomuk_Types_Property::sipNepomuk_Types_Property(): Nepomuk::Types::Property(), sipPySelf(0)
{
}

sipNepomuk_Types_Property::sipNepomuk_Types_Property(const QUrl& a0): Nepomuk::Types::Property(a0), sipPySelf(0)
{
}

sipNepomuk_Types_Property::sipNepomuk_Types_Property(const Nepomuk::Types::Property& a0): Nepomuk::Types::Property(a0), sipPySelf(0)
{
}

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


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

    {
        Nepomuk::Types::Property *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Property, &sipCpp))
        {
            QList<Nepomuk::Types::Property> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Types::Property>(sipCpp->parentProperties());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Types::Property *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Property, &sipCpp))
        {
            QList<Nepomuk::Types::Property> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Types::Property>(sipCpp->subProperties());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Types::Property *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Property, &sipCpp))
        {
            Nepomuk::Types::Property *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Types::Property(sipCpp->inverseProperty());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Types::Property *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Property, &sipCpp))
        {
            Nepomuk::Types::Class *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Types::Class(sipCpp->range());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Types::Property *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Property, &sipCpp))
        {
            Nepomuk::Types::Literal *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Types::Literal(sipCpp->literalRangeType());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Types::Property *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Property, &sipCpp))
        {
            Nepomuk::Types::Class *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Types::Class(sipCpp->domain());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Types::Property *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->cardinality();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Types::Property *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->minCardinality();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Types::Property *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maxCardinality();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Nepomuk::Types::Property * a0;
        Nepomuk::Types::Property *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isParentOf(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Nepomuk::Types::Property * a0;
        Nepomuk::Types::Property *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSubPropertyOf(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Nepomuk_Types_Property)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Nepomuk_Types_Entity)->ctd_cast((Nepomuk::Types::Entity *)(Nepomuk::Types::Property *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipNepomuk_Types_Property *>(sipCppV);
    else
        delete reinterpret_cast<Nepomuk::Types::Property *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Nepomuk_Types_Property(void *, SIP_SSIZE_T, const void *);}
static void assign_Nepomuk_Types_Property(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Nepomuk::Types::Property *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Nepomuk::Types::Property *>(sipSrc);
}


extern "C" {static void *array_Nepomuk_Types_Property(SIP_SSIZE_T);}
static void *array_Nepomuk_Types_Property(SIP_SSIZE_T sipNrElem)
{
    return new Nepomuk::Types::Property[sipNrElem];
}


extern "C" {static void *copy_Nepomuk_Types_Property(const void *, SIP_SSIZE_T);}
static void *copy_Nepomuk_Types_Property(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Nepomuk::Types::Property(reinterpret_cast<const Nepomuk::Types::Property *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Nepomuk_Types_Property(sipSimpleWrapper *);}
static void dealloc_Nepomuk_Types_Property(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipNepomuk_Types_Property *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Nepomuk_Types_Property(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QUrl * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const Nepomuk::Types::Property * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Nepomuk_Types_Property[] = {
    {SIP_MLNAME_CAST(sipName_cardinality), meth_Nepomuk_Types_Property_cardinality, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_domain), meth_Nepomuk_Types_Property_domain, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inverseProperty), meth_Nepomuk_Types_Property_inverseProperty, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isParentOf), meth_Nepomuk_Types_Property_isParentOf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSubPropertyOf), meth_Nepomuk_Types_Property_isSubPropertyOf, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_literalRangeType), meth_Nepomuk_Types_Property_literalRangeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxCardinality), meth_Nepomuk_Types_Property_maxCardinality, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minCardinality), meth_Nepomuk_Types_Property_minCardinality, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentProperties), meth_Nepomuk_Types_Property_parentProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_range), meth_Nepomuk_Types_Property_range, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subProperties), meth_Nepomuk_Types_Property_subProperties, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_nepomuk_Nepomuk_Types_Property = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Nepomuk__Types__Property,
        {0}
    },
    {
        sipNameNr_Property,
        {34, 255, 0},
        11, methods_Nepomuk_Types_Property,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Nepomuk_Types_Property,
    0,
    init_Nepomuk_Types_Property,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Nepomuk_Types_Property,
    assign_Nepomuk_Types_Property,
    array_Nepomuk_Types_Property,
    copy_Nepomuk_Types_Property,
    release_Nepomuk_Types_Property,
    cast_Nepomuk_Types_Property,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/ontology.sip"
#include <nepomuk/ontology.h>
#line 2995 "sipnepomukpart4.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 2999 "sipnepomukpart4.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/property.sip"
#include <nepomuk/property.h>
#line 3002 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3005 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3008 "sipnepomukpart4.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/class.sip"
#include <nepomuk/class.h>
#line 3011 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3014 "sipnepomukpart4.cpp"
#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/entity.sip"
#include <nepomuk/entity.h>
#line 3017 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 3020 "sipnepomukpart4.cpp"


class sipNepomuk_Types_Ontology : public Nepomuk::Types::Ontology
{
public:
    sipNepomuk_Types_Ontology();
    sipNepomuk_Types_Ontology(const QUrl&);
    sipNepomuk_Types_Ontology(const Nepomuk::Types::Ontology&);
    ~sipNepomuk_Types_Ontology();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipNepomuk_Types_Ontology(const sipNepomuk_Types_Ontology &);
    sipNepomuk_Types_Ontology &operator = (const sipNepomuk_Types_Ontology &);
};

sipNepomuk_Types_Ontology::sipNepomuk_Types_Ontology(): Nepomuk::Types::Ontology(), sipPySelf(0)
{
}

sipNepomuk_Types_Ontology::sipNepomuk_Types_Ontology(const QUrl& a0): Nepomuk::Types::Ontology(a0), sipPySelf(0)
{
}

sipNepomuk_Types_Ontology::sipNepomuk_Types_Ontology(const Nepomuk::Types::Ontology& a0): Nepomuk::Types::Ontology(a0), sipPySelf(0)
{
}

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


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

    {
        Nepomuk::Types::Ontology *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Ontology, &sipCpp))
        {
            QList<Nepomuk::Types::Class> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Types::Class>(sipCpp->allClasses());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Nepomuk::Types::Ontology *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Types_Ontology, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Nepomuk::Types::Class *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Types::Class(sipCpp->findClassByName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        Nepomuk::Types::Ontology *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_Nepomuk_Types_Ontology, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Nepomuk::Types::Class *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Types::Class(sipCpp->findClassByLabel(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    {
        Nepomuk::Types::Ontology *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Ontology, &sipCpp))
        {
            QList<Nepomuk::Types::Property> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Nepomuk::Types::Property>(sipCpp->allProperties());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Nepomuk::Types::Ontology *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Nepomuk_Types_Ontology, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Nepomuk::Types::Property *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Types::Property(sipCpp->findPropertyByName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;
        Nepomuk::Types::Ontology *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|J1", &sipSelf, sipType_Nepomuk_Types_Ontology, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Nepomuk::Types::Property *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Nepomuk::Types::Property(sipCpp->findPropertyByLabel(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

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

    return NULL;
}


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

    if (targetType == sipType_Nepomuk_Types_Ontology)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Nepomuk_Types_Entity)->ctd_cast((Nepomuk::Types::Entity *)(Nepomuk::Types::Ontology *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipNepomuk_Types_Ontology *>(sipCppV);
    else
        delete reinterpret_cast<Nepomuk::Types::Ontology *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Nepomuk_Types_Ontology(void *, SIP_SSIZE_T, const void *);}
static void assign_Nepomuk_Types_Ontology(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Nepomuk::Types::Ontology *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Nepomuk::Types::Ontology *>(sipSrc);
}


extern "C" {static void *array_Nepomuk_Types_Ontology(SIP_SSIZE_T);}
static void *array_Nepomuk_Types_Ontology(SIP_SSIZE_T sipNrElem)
{
    return new Nepomuk::Types::Ontology[sipNrElem];
}


extern "C" {static void *copy_Nepomuk_Types_Ontology(const void *, SIP_SSIZE_T);}
static void *copy_Nepomuk_Types_Ontology(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Nepomuk::Types::Ontology(reinterpret_cast<const Nepomuk::Types::Ontology *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Nepomuk_Types_Ontology(sipSimpleWrapper *);}
static void dealloc_Nepomuk_Types_Ontology(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipNepomuk_Types_Ontology *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Nepomuk_Types_Ontology(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QUrl * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const Nepomuk::Types::Ontology * a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Nepomuk_Types_Ontology[] = {
    {SIP_MLNAME_CAST(sipName_allClasses), meth_Nepomuk_Types_Ontology_allClasses, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_allProperties), meth_Nepomuk_Types_Ontology_allProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findClassByLabel), meth_Nepomuk_Types_Ontology_findClassByLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findClassByName), meth_Nepomuk_Types_Ontology_findClassByName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findPropertyByLabel), meth_Nepomuk_Types_Ontology_findPropertyByLabel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_findPropertyByName), meth_Nepomuk_Types_Ontology_findPropertyByName, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_nepomuk_Nepomuk_Types_Ontology = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Nepomuk__Types__Ontology,
        {0}
    },
    {
        sipNameNr_Ontology,
        {34, 255, 0},
        6, methods_Nepomuk_Types_Ontology,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Nepomuk_Types_Ontology,
    0,
    init_Nepomuk_Types_Ontology,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Nepomuk_Types_Ontology,
    assign_Nepomuk_Types_Ontology,
    array_Nepomuk_Types_Ontology,
    copy_Nepomuk_Types_Ontology,
    release_Nepomuk_Types_Ontology,
    cast_Nepomuk_Types_Ontology,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/nepomukservice.sip"
#include <nepomuk/nepomukservice.h>
#line 3422 "sipnepomukpart4.cpp"

#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 3426 "sipnepomukpart4.cpp"
#line 53 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/soprano/model.sip"
#include <soprano/model.h>
#line 3429 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3432 "sipnepomukpart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3435 "sipnepomukpart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3438 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3441 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3444 "sipnepomukpart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3447 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3450 "sipnepomukpart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3453 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3456 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3459 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3462 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3465 "sipnepomukpart4.cpp"


class sipNepomuk_Service : public Nepomuk::Service
{
public:
    sipNepomuk_Service(QObject *,bool);
    virtual ~sipNepomuk_Service();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_setServiceInitialized(bool);
    Soprano::Model * sipProtect_mainModel();

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

    char sipPyMethods[7];
};

sipNepomuk_Service::sipNepomuk_Service(QObject *a0,bool a1): Nepomuk::Service(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipNepomuk_Service::metaObject() const
{
    return sip_nepomuk_qt_metaobject(sipPySelf,sipType_Nepomuk_Service);
}

int sipNepomuk_Service::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Nepomuk::Service::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_nepomuk_qt_metacall(sipPySelf,sipType_Nepomuk_Service,_c,_id,_a);

    return _id;
}

void *sipNepomuk_Service::qt_metacast(const char *_clname)
{
    return (sip_nepomuk_qt_metacast && sip_nepomuk_qt_metacast(sipPySelf,sipType_Nepomuk_Service,_clname)) ? this : Nepomuk::Service::qt_metacast(_clname);
}

bool sipNepomuk_Service::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QObject::event(a0);

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

    return ((sipVH_QtCore_5)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

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

    if (!meth)
        return QObject::eventFilter(a0,a1);

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

    return ((sipVH_QtCore_18)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipNepomuk_Service::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipNepomuk_Service::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_25)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipNepomuk_Service::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipNepomuk_Service::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipNepomuk_Service::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

int sipNepomuk_Service::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipNepomuk_Service::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipNepomuk_Service::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipNepomuk_Service::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipNepomuk_Service::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipNepomuk_Service::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipNepomuk_Service::sipProtect_setServiceInitialized(bool a0)
{
    Nepomuk::Service::setServiceInitialized(a0);
}

Soprano::Model * sipNepomuk_Service::sipProtect_mainModel()
{
    return Nepomuk::Service::mainModel();
}


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

    {
        char * a0;
        sipNepomuk_Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Nepomuk_Service, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 3734 "sipnepomukpart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipNepomuk_Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Nepomuk_Service, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipNepomuk_Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Nepomuk_Service, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipNepomuk_Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Nepomuk_Service, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipNepomuk_Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Nepomuk_Service, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipNepomuk_Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Nepomuk_Service, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipNepomuk_Service *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipNepomuk_Service *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Service, &sipCpp))
        {
            Soprano::Model *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_mainModel();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_Nepomuk_Service)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Nepomuk::Service *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipNepomuk_Service *>(sipCppV);
    else
        delete reinterpret_cast<Nepomuk::Service *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Nepomuk_Service(sipSimpleWrapper *);}
static void dealloc_Nepomuk_Service(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipNepomuk_Service *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Nepomuk_Service(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    {
        QObject * a0 = 0;
        bool a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Nepomuk_Service[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Nepomuk_Service_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Nepomuk_Service_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Nepomuk_Service_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Nepomuk_Service_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mainModel), meth_Nepomuk_Service_mainModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Nepomuk_Service_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setServiceInitialized), meth_Nepomuk_Service_setServiceInitialized, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Nepomuk_Service_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_nepomuk_Nepomuk_Service = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Nepomuk__Service,
        {0}
    },
    {
        sipNameNr_Service,
        {4, 255, 0},
        8, methods_Nepomuk_Service,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Nepomuk_Service,
    0,
    init_Nepomuk_Service,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Nepomuk_Service,
    0,
    0,
    0,
    release_Nepomuk_Service,
    cast_Nepomuk_Service,
    0,
    0,
    0
},
    &Nepomuk::Service::staticMetaObject,
    0,
    0
};

#line 29 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/literal.sip"
#include <nepomuk/literal.h>
#line 4078 "sipnepomukpart4.cpp"

#line 41 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 4082 "sipnepomukpart4.cpp"
#line 131 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4085 "sipnepomukpart4.cpp"


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

    {
        Nepomuk::Types::Literal *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(sipCpp->dataTypeUri());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Nepomuk::Types::Literal *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Literal, &sipCpp))
        {
            QVariant::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->dataType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QVariant_Type);
        }
    }

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

    return NULL;
}


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

    {
        Nepomuk::Types::Literal *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Nepomuk_Types_Literal, &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_Literal, sipName_isValid, NULL);

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<Nepomuk::Types::Literal *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Nepomuk_Types_Literal(void *, SIP_SSIZE_T, const void *);}
static void assign_Nepomuk_Types_Literal(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Nepomuk::Types::Literal *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Nepomuk::Types::Literal *>(sipSrc);
}


extern "C" {static void *array_Nepomuk_Types_Literal(SIP_SSIZE_T);}
static void *array_Nepomuk_Types_Literal(SIP_SSIZE_T sipNrElem)
{
    return new Nepomuk::Types::Literal[sipNrElem];
}


extern "C" {static void *copy_Nepomuk_Types_Literal(const void *, SIP_SSIZE_T);}
static void *copy_Nepomuk_Types_Literal(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Nepomuk::Types::Literal(reinterpret_cast<const Nepomuk::Types::Literal *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Nepomuk_Types_Literal(sipSimpleWrapper *);}
static void dealloc_Nepomuk_Types_Literal(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Nepomuk_Types_Literal(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Nepomuk_Types_Literal(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Nepomuk_Types_Literal(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Nepomuk::Types::Literal *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Types::Literal();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const Nepomuk::Types::Literal * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Nepomuk_Types_Literal, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Types::Literal(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QUrl * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QUrl, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Nepomuk::Types::Literal(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Nepomuk_Types_Literal[] = {
    {SIP_MLNAME_CAST(sipName_dataType), meth_Nepomuk_Types_Literal_dataType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataTypeUri), meth_Nepomuk_Types_Literal_dataTypeUri, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Nepomuk_Types_Literal_isValid, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_nepomuk_Nepomuk_Types_Literal = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Nepomuk__Types__Literal,
        {0}
    },
    {
        sipNameNr_Literal,
        {34, 255, 0},
        3, methods_Nepomuk_Types_Literal,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_Nepomuk_Types_Literal,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Nepomuk_Types_Literal,
    assign_Nepomuk_Types_Literal,
    array_Nepomuk_Types_Literal,
    copy_Nepomuk_Types_Literal,
    release_Nepomuk_Types_Literal,
    cast_Nepomuk_Types_Literal,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/ktagdisplaywidget.sip"
#include <nepomuk/ktagdisplaywidget.h>
#line 4328 "sipnepomukpart4.cpp"

#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4332 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4335 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4338 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4341 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 4344 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4347 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4350 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 4353 "sipnepomukpart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 4356 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 4359 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 4362 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 4365 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 4368 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 4371 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 4374 "sipnepomukpart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4377 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 4380 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 4383 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 4386 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 4389 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 4392 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4395 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 4398 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4401 "sipnepomukpart4.cpp"
#line 520 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 539 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4406 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4409 "sipnepomukpart4.cpp"
#line 478 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4412 "sipnepomukpart4.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4415 "sipnepomukpart4.cpp"
#line 565 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4418 "sipnepomukpart4.cpp"
#line 619 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4421 "sipnepomukpart4.cpp"
#line 590 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4424 "sipnepomukpart4.cpp"
#line 607 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4427 "sipnepomukpart4.cpp"
#line 675 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4430 "sipnepomukpart4.cpp"
#line 301 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4433 "sipnepomukpart4.cpp"
#line 490 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4436 "sipnepomukpart4.cpp"
#line 442 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4439 "sipnepomukpart4.cpp"
#line 428 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4442 "sipnepomukpart4.cpp"
#line 414 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4445 "sipnepomukpart4.cpp"
#line 399 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4448 "sipnepomukpart4.cpp"
#line 379 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4451 "sipnepomukpart4.cpp"
#line 350 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4454 "sipnepomukpart4.cpp"
#line 279 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4457 "sipnepomukpart4.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 4460 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 4463 "sipnepomukpart4.cpp"
#line 68 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 4466 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 4469 "sipnepomukpart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4472 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 4475 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 4478 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 4481 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4484 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 4487 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 4490 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 4493 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 4496 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 4499 "sipnepomukpart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4502 "sipnepomukpart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4505 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4508 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4511 "sipnepomukpart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 4514 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4517 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4520 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4523 "sipnepomukpart4.cpp"


class sipKTagDisplayWidget : public KTagDisplayWidget
{
public:
    sipKTagDisplayWidget(QWidget *);
    virtual ~sipKTagDisplayWidget();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int devType() const;
    void setVisible(bool);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() const;
    bool event(QEvent *);
    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 *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    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 eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKTagDisplayWidget::sipKTagDisplayWidget(QWidget *a0): KTagDisplayWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKTagDisplayWidget::metaObject() const
{
    return sip_nepomuk_qt_metaobject(sipPySelf,sipType_KTagDisplayWidget);
}

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

    if (_id >= 0)
        _id = sip_nepomuk_qt_metacall(sipPySelf,sipType_KTagDisplayWidget,_c,_id,_a);

    return _id;
}

void *sipKTagDisplayWidget::qt_metacast(const char *_clname)
{
    return (sip_nepomuk_qt_metacast && sip_nepomuk_qt_metacast(sipPySelf,sipType_KTagDisplayWidget,_clname)) ? this : KTagDisplayWidget::qt_metacast(_clname);
}

int sipKTagDisplayWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

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

    return ((sipVH_QtCore_6)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

void sipKTagDisplayWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

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

    ((sipVH_QtGui_6)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

QSize sipKTagDisplayWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::sizeHint();

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

    return ((sipVH_QtGui_4)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipKTagDisplayWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::minimumSizeHint();

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

    return ((sipVH_QtGui_4)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipKTagDisplayWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

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

    return ((sipVH_QtGui_28)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[28]))(sipGILState,meth,a0);
}

QPaintEngine * sipKTagDisplayWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

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

    return ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth);
}

bool sipKTagDisplayWidget::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::event(a0);

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

    return ((sipVH_QtCore_5)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::mousePressEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_26)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::mouseReleaseEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_26)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::mouseDoubleClickEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_26)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::mouseMoveEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_26)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::wheelEvent(QWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_5)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QWidget::keyPressEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_25)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_25)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_24)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_24)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::enterEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::leaveEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::paintEvent(QPaintEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QWidget::paintEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_3)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::moveEvent(QMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_23)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::resizeEvent(QResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QWidget::resizeEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_2)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_22)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::contextMenuEvent(QContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::contextMenuEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_21)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::tabletEvent(QTabletEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_20)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::actionEvent(QActionEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_19)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::dragEnterEvent(QDragEnterEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_18)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::dragMoveEvent(QDragMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_17)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::dragLeaveEvent(QDragLeaveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_16)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::dropEvent(QDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_15)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_1)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QWidget::hideEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_0)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::changeEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

int sipKTagDisplayWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

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

    return ((sipVH_QtGui_14)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_13)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

QVariant sipKTagDisplayWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::inputMethodQuery(a0);

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

    return ((sipVH_QtGui_12)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

bool sipKTagDisplayWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

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

    return ((sipVH_QtGui_11)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

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

    ((sipVH_QtGui_6)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

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

    ((sipVH_QtGui_10)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

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

    ((sipVH_QtGui_9)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

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

    ((sipVH_QtGui_6)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

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

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

    if (!meth)
        return QObject::eventFilter(a0,a1);

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

    return ((sipVH_QtCore_18)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipKTagDisplayWidget::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_25)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKTagDisplayWidget::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

int sipKTagDisplayWidget::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKTagDisplayWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipKTagDisplayWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipKTagDisplayWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKTagDisplayWidget::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKTagDisplayWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKTagDisplayWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKTagDisplayWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKTagDisplayWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKTagDisplayWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKTagDisplayWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKTagDisplayWidget::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKTagDisplayWidget::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}


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

    {
        char * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 5756 "sipnepomukpart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTagDisplayWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTagDisplayWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTagDisplayWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|mbb", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_KTagDisplayWidget, sipName_create, NULL);

    return NULL;
}


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

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|bb", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(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_KTagDisplayWidget, sipName_destroy, NULL);

    return NULL;
}


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

    {
        bool a0;
        sipKTagDisplayWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKTagDisplayWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKTagDisplayWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QFont * a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKTagDisplayWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KTagDisplayWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTags(*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_KTagDisplayWidget, sipName_setTags, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addTag(*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_KTagDisplayWidget, sipName_addTag, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KTagDisplayWidget, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addTags(*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_KTagDisplayWidget, sipName_addTags, NULL);

    return NULL;
}


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

    {
        KTagDisplayWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KTagDisplayWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(KTagDisplayWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKTagDisplayWidget *>(sipCppV);
    else
        delete reinterpret_cast<KTagDisplayWidget *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KTagDisplayWidget(sipSimpleWrapper *);}
static void dealloc_KTagDisplayWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKTagDisplayWidget *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KTagDisplayWidget(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    {
        QWidget * a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KTagDisplayWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KTagDisplayWidget_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addTag), meth_KTagDisplayWidget_addTag, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addTags), meth_KTagDisplayWidget_addTags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KTagDisplayWidget_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KTagDisplayWidget_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_KTagDisplayWidget_clear, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KTagDisplayWidget_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KTagDisplayWidget_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KTagDisplayWidget_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KTagDisplayWidget_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KTagDisplayWidget_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KTagDisplayWidget_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KTagDisplayWidget_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KTagDisplayWidget_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KTagDisplayWidget_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KTagDisplayWidget_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KTagDisplayWidget_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KTagDisplayWidget_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KTagDisplayWidget_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KTagDisplayWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KTagDisplayWidget_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KTagDisplayWidget_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KTagDisplayWidget_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KTagDisplayWidget_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KTagDisplayWidget_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KTagDisplayWidget_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KTagDisplayWidget_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KTagDisplayWidget_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KTagDisplayWidget_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KTagDisplayWidget_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KTagDisplayWidget_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KTagDisplayWidget_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KTagDisplayWidget_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KTagDisplayWidget_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KTagDisplayWidget_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KTagDisplayWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KTagDisplayWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KTagDisplayWidget_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KTagDisplayWidget_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KTagDisplayWidget_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KTagDisplayWidget_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KTagDisplayWidget_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KTagDisplayWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTags), meth_KTagDisplayWidget_setTags, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KTagDisplayWidget_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KTagDisplayWidget_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KTagDisplayWidget_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KTagDisplayWidget_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KTagDisplayWidget_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KTagDisplayWidget_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KTagDisplayWidget[] = {
    {"tagClicked(const QString&)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_nepomuk_KTagDisplayWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KTagDisplayWidget,
        {0}
    },
    {
        sipNameNr_KTagDisplayWidget,
        {0, 0, 1},
        50, methods_KTagDisplayWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KTagDisplayWidget,
    0,
    init_KTagDisplayWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KTagDisplayWidget,
    0,
    0,
    0,
    release_KTagDisplayWidget,
    cast_KTagDisplayWidget,
    0,
    0,
    0
},
    &KTagDisplayWidget::staticMetaObject,
    0,
    pyqt4_signals_KTagDisplayWidget
};

#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/nepomuk/kratingwidget.sip"
#include <nepomuk/kratingwidget.h>
#line 7324 "sipnepomukpart4.cpp"

#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7328 "sipnepomukpart4.cpp"
#line 428 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7331 "sipnepomukpart4.cpp"
#line 399 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7334 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7337 "sipnepomukpart4.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7340 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 7343 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 7346 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7349 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7352 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 7355 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 7358 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 7361 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qframe.sip"
#include <qframe.h>
#line 7364 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7367 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 7370 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7373 "sipnepomukpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 7376 "sipnepomukpart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 7379 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7382 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 7385 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 7388 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 7391 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 7394 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 7397 "sipnepomukpart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7400 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 7403 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 7406 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 7409 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7412 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 7415 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7418 "sipnepomukpart4.cpp"
#line 520 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 539 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7423 "sipnepomukpart4.cpp"
#line 478 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7426 "sipnepomukpart4.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7429 "sipnepomukpart4.cpp"
#line 565 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7432 "sipnepomukpart4.cpp"
#line 619 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7435 "sipnepomukpart4.cpp"
#line 590 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7438 "sipnepomukpart4.cpp"
#line 607 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7441 "sipnepomukpart4.cpp"
#line 675 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7444 "sipnepomukpart4.cpp"
#line 301 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7447 "sipnepomukpart4.cpp"
#line 490 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7450 "sipnepomukpart4.cpp"
#line 442 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7453 "sipnepomukpart4.cpp"
#line 414 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7456 "sipnepomukpart4.cpp"
#line 379 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7459 "sipnepomukpart4.cpp"
#line 350 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7462 "sipnepomukpart4.cpp"
#line 279 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 7465 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 7468 "sipnepomukpart4.cpp"
#line 68 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 7471 "sipnepomukpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 7474 "sipnepomukpart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7477 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 7480 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 7483 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 7486 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 7489 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 7492 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 7495 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 7498 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 7501 "sipnepomukpart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7504 "sipnepomukpart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 7507 "sipnepomukpart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 7510 "sipnepomukpart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7513 "sipnepomukpart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 7516 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 7519 "sipnepomukpart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 7522 "sipnepomukpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 7525 "sipnepomukpart4.cpp"


class sipKRatingWidget : public KRatingWidget
{
public:
    sipKRatingWidget(QWidget *);
    virtual ~sipKRatingWidget();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtect_drawFrame(QPainter *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSize sizeHint() const;
    bool event(QEvent *);
    void paintEvent(QPaintEvent *);
    void changeEvent(QEvent *);
    int devType() const;
    void setVisible(bool);
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() 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 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 *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    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 eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipKRatingWidget::sipKRatingWidget(QWidget *a0): KRatingWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKRatingWidget::metaObject() const
{
    return sip_nepomuk_qt_metaobject(sipPySelf,sipType_KRatingWidget);
}

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

    if (_id >= 0)
        _id = sip_nepomuk_qt_metacall(sipPySelf,sipType_KRatingWidget,_c,_id,_a);

    return _id;
}

void *sipKRatingWidget::qt_metacast(const char *_clname)
{
    return (sip_nepomuk_qt_metacast && sip_nepomuk_qt_metacast(sipPySelf,sipType_KRatingWidget,_clname)) ? this : KRatingWidget::qt_metacast(_clname);
}

QSize sipKRatingWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KRatingWidget::sizeHint();

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

    return ((sipVH_QtGui_4)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

bool sipKRatingWidget::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QFrame::event(a0);

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

    return ((sipVH_QtCore_5)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKRatingWidget::paintEvent(QPaintEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        KRatingWidget::paintEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_3)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKRatingWidget::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QFrame::changeEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

int sipKRatingWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

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

    return ((sipVH_QtCore_6)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

void sipKRatingWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

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

    ((sipVH_QtGui_6)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

QSize sipKRatingWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::minimumSizeHint();

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

    return ((sipVH_QtGui_4)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

int sipKRatingWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

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

    return ((sipVH_QtGui_28)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[28]))(sipGILState,meth,a0);
}

QPaintEngine * sipKRatingWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

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

    return ((sipVH_QtGui_27)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[27]))(sipGILState,meth);
}

void sipKRatingWidget::mousePressEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        KRatingWidget::mousePressEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_26)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKRatingWidget::mouseReleaseEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_26)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKRatingWidget::mouseDoubleClickEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_26)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKRatingWidget::mouseMoveEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        KRatingWidget::mouseMoveEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_26)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipKRatingWidget::wheelEvent(QWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_5)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipKRatingWidget::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QWidget::keyPressEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_25)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKRatingWidget::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_25)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKRatingWidget::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_24)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKRatingWidget::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_24)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKRatingWidget::enterEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKRatingWidget::leaveEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        KRatingWidget::leaveEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKRatingWidget::moveEvent(QMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_23)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipKRatingWidget::resizeEvent(QResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        KRatingWidget::resizeEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_2)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKRatingWidget::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_22)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipKRatingWidget::contextMenuEvent(QContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QWidget::contextMenuEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_21)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipKRatingWidget::tabletEvent(QTabletEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_20)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKRatingWidget::actionEvent(QActionEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_19)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKRatingWidget::dragEnterEvent(QDragEnterEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_18)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKRatingWidget::dragMoveEvent(QDragMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_17)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKRatingWidget::dragLeaveEvent(QDragLeaveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_16)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipKRatingWidget::dropEvent(QDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_15)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipKRatingWidget::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_1)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipKRatingWidget::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QWidget::hideEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_0)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

int sipKRatingWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

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

    return ((sipVH_QtGui_14)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

void sipKRatingWidget::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

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

    ((sipVH_QtGui_13)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

QVariant sipKRatingWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::inputMethodQuery(a0);

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

    return ((sipVH_QtGui_12)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

bool sipKRatingWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

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

    return ((sipVH_QtGui_11)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipKRatingWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

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

    ((sipVH_QtGui_6)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKRatingWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

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

    ((sipVH_QtGui_10)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipKRatingWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

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

    ((sipVH_QtGui_9)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKRatingWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

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

    ((sipVH_QtGui_6)(sipModuleAPI_nepomuk_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKRatingWidget::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

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

    ((sipVH_QtCore_11)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

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

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

    if (!meth)
        return QObject::eventFilter(a0,a1);

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

    return ((sipVH_QtCore_18)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipKRatingWidget::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_9)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipKRatingWidget::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_25)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipKRatingWidget::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_17)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipKRatingWidget::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipKRatingWidget::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

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

    ((sipVH_QtCore_24)(sipModuleAPI_nepomuk_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

int sipKRatingWidget::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipKRatingWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKRatingWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipKRatingWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipKRatingWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipKRatingWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKRatingWidget::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipKRatingWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipKRatingWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipKRatingWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipKRatingWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipKRatingWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipKRatingWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipKRatingWidget::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipKRatingWidget::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipKRatingWidget::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipKRatingWidget::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipKRatingWidget::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

bool sipKRatingWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QFrame::event(a0) : event(a0));
}

void sipKRatingWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipKRatingWidget::sipProtect_drawFrame(QPainter *a0)
{
    QFrame::drawFrame(a0);
}

void sipKRatingWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::paintEvent(a0) : paintEvent(a0));
}

void sipKRatingWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? KRatingWidget::resizeEvent(a0) : resizeEvent(a0));
}


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

    {
        char * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KRatingWidget, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 8764 "sipnepomukpart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KRatingWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_KRatingWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|mbb", &sipSelf, sipType_KRatingWidget, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_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_KRatingWidget, sipName_create, NULL);

    return NULL;
}


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

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|bb", &sipSelf, sipType_KRatingWidget, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(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_KRatingWidget, sipName_destroy, NULL);

    return NULL;
}


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

    {
        bool a0;
        sipKRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRatingWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPalette * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QFont * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KRatingWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRatingWidget, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_drawFrame(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRatingWidget, &sipCpp))
        {
            unsigned sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rating();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maxRating();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Qt::Alignment(sipCpp->alignment());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KRatingWidget, &sipCpp))
        {
            Qt::LayoutDirection sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->layoutDirection();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_LayoutDirection);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->spacing();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

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

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->halfStepsEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        KRatingWidget *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        int a0;
        KRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::Alignment * a0;
        int a0State = 0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAlignment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::LayoutDirection a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_Qt_LayoutDirection, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLayoutDirection(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QIcon * a0;
        KRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPixmap * a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCustomPixmap(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPixmap * a0;
        KRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QPixmap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPixmap(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KRatingWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipKRatingWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KRatingWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_KRatingWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFrame)->ctd_cast((QFrame *)(KRatingWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKRatingWidget *>(sipCppV);
    else
        delete reinterpret_cast<KRatingWidget *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_KRatingWidget(sipSimpleWrapper *);}
static void dealloc_KRatingWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipKRatingWidget *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_KRatingWidget(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


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

    {
        QWidget * a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_KRatingWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_KRatingWidget_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_alignment), meth_KRatingWidget_alignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_KRatingWidget_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KRatingWidget_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_KRatingWidget_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KRatingWidget_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_KRatingWidget_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_KRatingWidget_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KRatingWidget_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_KRatingWidget_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KRatingWidget_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_KRatingWidget_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_KRatingWidget_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_KRatingWidget_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), meth_KRatingWidget_drawFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_KRatingWidget_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_KRatingWidget_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_KRatingWidget_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_KRatingWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_KRatingWidget_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_KRatingWidget_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_KRatingWidget_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_KRatingWidget_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_KRatingWidget_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_KRatingWidget_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_halfStepsEnabled), meth_KRatingWidget_halfStepsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_KRatingWidget_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KRatingWidget_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_KRatingWidget_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_KRatingWidget_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_KRatingWidget_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_KRatingWidget_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_layoutDirection), meth_KRatingWidget_layoutDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_KRatingWidget_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maxRating), meth_KRatingWidget_maxRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_KRatingWidget_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_KRatingWidget_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_KRatingWidget_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_KRatingWidget_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_KRatingWidget_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_KRatingWidget_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_KRatingWidget_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_KRatingWidget_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rating), meth_KRatingWidget_rating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KRatingWidget_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_KRatingWidget_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_KRatingWidget_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_KRatingWidget_setAlignment, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomPixmap), meth_KRatingWidget_setCustomPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHalfStepsEnabled), meth_KRatingWidget_setHalfStepsEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KRatingWidget_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLayoutDirection), meth_KRatingWidget_setLayoutDirection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaxRating), meth_KRatingWidget_setMaxRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOnlyPaintFullSteps), meth_KRatingWidget_setOnlyPaintFullSteps, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_KRatingWidget_setPixmap, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmapSize), meth_KRatingWidget_setPixmapSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRating), meth_KRatingWidget_setRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_KRatingWidget_setSpacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_KRatingWidget_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_KRatingWidget_sizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_spacing), meth_KRatingWidget_spacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_KRatingWidget_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KRatingWidget_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_KRatingWidget_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_KRatingWidget_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_KRatingWidget_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KRatingWidget[] = {
    {"ratingChanged(int)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_nepomuk_KRatingWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KRatingWidget,
        {0}
    },
    {
        sipNameNr_KRatingWidget,
        {0, 0, 1},
        66, methods_KRatingWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KRatingWidget,
    0,
    init_KRatingWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KRatingWidget,
    0,
    0,
    0,
    release_KRatingWidget,
    cast_KRatingWidget,
    0,
    0,
    0
},
    &KRatingWidget::staticMetaObject,
    0,
    pyqt4_signals_KRatingWidget
};
