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

#include "sipAPIknewstuff.h"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/knewstuff/installation.sip"
#include <knewstuff2/core/installation.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUncompression(*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_Installation, sipName_setUncompression, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCommand(*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_Installation, sipName_setCommand, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUninstallCommand(*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_Installation, sipName_setUninstallCommand, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStandardResourceDir(*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_Installation, sipName_setStandardResourceDir, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTargetDir(*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_Installation, sipName_setTargetDir, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInstallPath(*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_Installation, sipName_setInstallPath, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAbsoluteInstallPath(*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_Installation, sipName_setAbsoluteInstallPath, NULL);

    return NULL;
}


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

    {
        KNS::Installation::Scope a0;
        KNS::Installation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_KNS_Installation_Scope, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScope(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KNS::Installation::Policy a0;
        KNS::Installation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_KNS_Installation_Policy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChecksumPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KNS::Installation::Policy a0;
        KNS::Installation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KNS_Installation, &sipCpp, sipType_KNS_Installation_Policy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSignaturePolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        KNS::Installation *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRemote();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Installation, &sipCpp))
        {
            KNS::Installation::Policy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->checksumPolicy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KNS_Installation_Policy);
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Installation, &sipCpp))
        {
            KNS::Installation::Policy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->signaturePolicy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KNS_Installation_Policy);
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Installation, &sipCpp))
        {
            KNS::Installation::Scope sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->scope();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KNS_Installation_Scope);
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Installation *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->customName();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KNS::Installation *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *init_type_KNS_Installation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KNS_Installation(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KNS::Installation *sipCpp = 0;

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

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KNS_Installation[] = {
    {SIP_MLNAME_CAST(sipName_absoluteInstallPath), meth_KNS_Installation_absoluteInstallPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checksumPolicy), meth_KNS_Installation_checksumPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_command), meth_KNS_Installation_command, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customName), meth_KNS_Installation_customName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installPath), meth_KNS_Installation_installPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRemote), meth_KNS_Installation_isRemote, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scope), meth_KNS_Installation_scope, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAbsoluteInstallPath), meth_KNS_Installation_setAbsoluteInstallPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChecksumPolicy), meth_KNS_Installation_setChecksumPolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCommand), meth_KNS_Installation_setCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCustomName), meth_KNS_Installation_setCustomName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInstallPath), meth_KNS_Installation_setInstallPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScope), meth_KNS_Installation_setScope, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSignaturePolicy), meth_KNS_Installation_setSignaturePolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStandardResourceDir), meth_KNS_Installation_setStandardResourceDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTargetDir), meth_KNS_Installation_setTargetDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUncompression), meth_KNS_Installation_setUncompression, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUninstallCommand), meth_KNS_Installation_setUninstallCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_signaturePolicy), meth_KNS_Installation_signaturePolicy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_standardResourceDir), meth_KNS_Installation_standardResourceDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_targetDir), meth_KNS_Installation_targetDir, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uncompression), meth_KNS_Installation_uncompression, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uninstallCommand), meth_KNS_Installation_uninstallCommand, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KNS_Installation[] = {
    {sipName_CheckAlways, static_cast<int>(KNS::Installation::CheckAlways), 18},
    {sipName_CheckIfPossible, static_cast<int>(KNS::Installation::CheckIfPossible), 18},
    {sipName_CheckNever, static_cast<int>(KNS::Installation::CheckNever), 18},
    {sipName_ScopeSystem, static_cast<int>(KNS::Installation::ScopeSystem), 19},
    {sipName_ScopeUser, static_cast<int>(KNS::Installation::ScopeUser), 19},
};


pyqt4ClassTypeDef sipTypeDef_knewstuff_KNS_Installation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KNS__Installation,
        {0}
    },
    {
        sipNameNr_Installation,
        {0, 255, 0},
        23, methods_KNS_Installation,
        5, enummembers_KNS_Installation,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KNS_Installation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNS_Installation,
    0,
    0,
    0,
    release_KNS_Installation,
    cast_KNS_Installation,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/knewstuff/entry.sip"
#include <knewstuff2/core/entry.h>
#line 797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 801 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 804 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/knewstuff/ktranslatable.sip"
#include <knewstuff2/core/ktranslatable.h>
#line 807 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 810 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/knewstuff/author.sip"
#include <knewstuff2/core/author.h>
#line 813 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"


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

    {
        const KNS::KTranslatable* a0;
        KNS::Entry *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Entry, &sipCpp))
        {
            KNS::KTranslatable*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNS::KTranslatable(sipCpp->name());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCategory(*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_Entry, sipName_setCategory, NULL);

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Author* a0;
        KNS::Entry *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Entry, &sipCpp))
        {
            KNS::Author*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNS::Author(sipCpp->author());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLicense(*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_Entry, sipName_setLicense, NULL);

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::KTranslatable* a0;
        KNS::Entry *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Entry, &sipCpp))
        {
            KNS::KTranslatable*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNS::KTranslatable(sipCpp->summary());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVersion(*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_Entry, sipName_setVersion, NULL);

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        int a0;
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KNS_Entry, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setRelease(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->release();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReleaseDate(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::KTranslatable* a0;
        KNS::Entry *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Entry, &sipCpp))
        {
            KNS::KTranslatable*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNS::KTranslatable(sipCpp->payload());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KNS::KTranslatable* a0;
        KNS::Entry *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Entry, &sipCpp))
        {
            KNS::KTranslatable*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNS::KTranslatable(sipCpp->preview());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QStringList* a0;
        int a0State = 0;
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setInstalledFiles(*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_Entry, sipName_setInstalledFiles, NULL);

    return NULL;
}


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

    {
        const QStringList* a0;
        int a0State = 0;
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUnInstalledFiles(*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_Entry, sipName_setUnInstalledFiles, NULL);

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        int a0;
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KNS_Entry, &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_Entry, sipName_setRating, NULL);

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rating();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KNS_Entry, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDownloads(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->downloads();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setChecksum(*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_Entry, sipName_setChecksum, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSignature(*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_Entry, sipName_setSignature, NULL);

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        KNS::Entry::Status a0;
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_KNS_Entry_Status, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStatus(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Entry, &sipCpp))
        {
            KNS::Entry::Status sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->status();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KNS_Entry_Status);
        }
    }

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

    return NULL;
}


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

    {
        KNS::Entry::Source a0;
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_KNS_Entry, &sipCpp, sipType_KNS_Entry_Source, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSource(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Entry, &sipCpp))
        {
            KNS::Entry::Source sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->source();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_KNS_Entry_Source);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        KNS::Entry *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KNS_Entry, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIdNumber(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Entry *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->idNumber();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KNS::Entry *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_KNS_Entry(SIP_SSIZE_T);}
static void *array_KNS_Entry(SIP_SSIZE_T sipNrElem)
{
    return new KNS::Entry[sipNrElem];
}


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


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


extern "C" {static void *init_type_KNS_Entry(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KNS_Entry(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KNS::Entry *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const KNS::Entry* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_KNS_Entry, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KNS::Entry(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KNS_Entry[] = {
    {SIP_MLNAME_CAST(sipName_author), meth_KNS_Entry_author, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_category), meth_KNS_Entry_category, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_checksum), meth_KNS_Entry_checksum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_downloads), meth_KNS_Entry_downloads, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_idNumber), meth_KNS_Entry_idNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_installedFiles), meth_KNS_Entry_installedFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_license), meth_KNS_Entry_license, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KNS_Entry_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_payload), meth_KNS_Entry_payload, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_preview), meth_KNS_Entry_preview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rating), meth_KNS_Entry_rating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_release), meth_KNS_Entry_release, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_releaseDate), meth_KNS_Entry_releaseDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAuthor), meth_KNS_Entry_setAuthor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCategory), meth_KNS_Entry_setCategory, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setChecksum), meth_KNS_Entry_setChecksum, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDownloads), meth_KNS_Entry_setDownloads, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIdNumber), meth_KNS_Entry_setIdNumber, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setInstalledFiles), meth_KNS_Entry_setInstalledFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLicense), meth_KNS_Entry_setLicense, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_KNS_Entry_setName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPayload), meth_KNS_Entry_setPayload, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPreview), meth_KNS_Entry_setPreview, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRating), meth_KNS_Entry_setRating, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRelease), meth_KNS_Entry_setRelease, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReleaseDate), meth_KNS_Entry_setReleaseDate, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSignature), meth_KNS_Entry_setSignature, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSource), meth_KNS_Entry_setSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStatus), meth_KNS_Entry_setStatus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSummary), meth_KNS_Entry_setSummary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUnInstalledFiles), meth_KNS_Entry_setUnInstalledFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVersion), meth_KNS_Entry_setVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_signature), meth_KNS_Entry_signature, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_source), meth_KNS_Entry_source, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_status), meth_KNS_Entry_status, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_summary), meth_KNS_Entry_summary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_uninstalledFiles), meth_KNS_Entry_uninstalledFiles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_version), meth_KNS_Entry_version, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KNS_Entry[] = {
    {sipName_Cache, static_cast<int>(KNS::Entry::Cache), 15},
    {sipName_Deleted, static_cast<int>(KNS::Entry::Deleted), 16},
    {sipName_Downloadable, static_cast<int>(KNS::Entry::Downloadable), 16},
    {sipName_Installed, static_cast<int>(KNS::Entry::Installed), 16},
    {sipName_Invalid, static_cast<int>(KNS::Entry::Invalid), 16},
    {sipName_Online, static_cast<int>(KNS::Entry::Online), 15},
    {sipName_Registry, static_cast<int>(KNS::Entry::Registry), 15},
    {sipName_Updateable, static_cast<int>(KNS::Entry::Updateable), 16},
};


pyqt4ClassTypeDef sipTypeDef_knewstuff_KNS_Entry = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KNS__Entry,
        {0}
    },
    {
        sipNameNr_Entry,
        {0, 255, 0},
        38, methods_KNS_Entry,
        8, enummembers_KNS_Entry,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KNS_Entry,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNS_Entry,
    assign_KNS_Entry,
    array_KNS_Entry,
    copy_KNS_Entry,
    release_KNS_Entry,
    cast_KNS_Entry,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/knewstuff/category.sip"
#include <knewstuff2/core/category.h>
#line 2053 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"

#line 33 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 2057 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/knewstuff/ktranslatable.sip"
#include <knewstuff2/core/ktranslatable.h>
#line 2060 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 2063 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/knewstuff/sipknewstuffpart4.cpp"


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KNS_Category, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setId(*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_Category, sipName_setId, NULL);

    return NULL;
}


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

    {
        const KNS::Category *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const KNS::KTranslatable* a0;
        KNS::Category *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Category *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Category, &sipCpp))
        {
            KNS::KTranslatable*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNS::KTranslatable(sipCpp->name());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KNS::KTranslatable* a0;
        KNS::Category *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const KNS::Category *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KNS_Category, &sipCpp))
        {
            KNS::KTranslatable*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KNS::KTranslatable(sipCpp->description());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const KUrl* a0;
        KNS::Category *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KNS_Category, &sipCpp, sipType_KUrl, &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_Category, sipName_setIcon, NULL);

    return NULL;
}


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

    {
        const KNS::Category *sipCpp;

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

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

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

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KNS::Category *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *init_type_KNS_Category(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KNS_Category(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    KNS::Category *sipCpp = 0;

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

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_KNS_Category[] = {
    {SIP_MLNAME_CAST(sipName_description), meth_KNS_Category_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_KNS_Category_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_KNS_Category_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_KNS_Category_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_KNS_Category_setDescription, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_KNS_Category_setIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setId), meth_KNS_Category_setId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setName), meth_KNS_Category_setName, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_knewstuff_KNS_Category = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KNS__Category,
        {0}
    },
    {
        sipNameNr_Category,
        {0, 255, 0},
        8, methods_KNS_Category,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_KNS_Category,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KNS_Category,
    0,
    0,
    0,
    release_KNS_Category,
    cast_KNS_Category,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
