/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 20:21:39 2009
 */

#include "sipAPIphonon.h"


#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 13 "sipphononpart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 19 "sipphononpart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 50 "sipphononpart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 53 "sipphononpart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 56 "sipphononpart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 59 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 62 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 65 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 68 "sipphononpart7.cpp"


extern "C" {static PyObject *meth_Phonon_EffectDescription_fromIndex(PyObject *, PyObject *);}
static PyObject *meth_Phonon_EffectDescription_fromIndex(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"i",&a0))
        {
            Phonon::EffectDescription *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::EffectDescription(Phonon::EffectDescription::fromIndex(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_EffectDescription,sipName_fromIndex);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_EffectDescription_name(PyObject *, PyObject *);}
static PyObject *meth_Phonon_EffectDescription_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::EffectDescription *sipCpp;

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_EffectDescription_description(PyObject *, PyObject *);}
static PyObject *meth_Phonon_EffectDescription_description(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::EffectDescription *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_EffectDescription,&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(sipArgsParsed,sipName_EffectDescription,sipName_description);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_EffectDescription_property(PyObject *, PyObject *);}
static PyObject *meth_Phonon_EffectDescription_property(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const char * a0;
        PyObject *a0Keep;
        Phonon::EffectDescription *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAA",&sipSelf,sipType_Phonon_EffectDescription,&sipCpp,&a0Keep,&a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->property(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_EffectDescription_propertyNames(PyObject *, PyObject *);}
static PyObject *meth_Phonon_EffectDescription_propertyNames(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::EffectDescription *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_EffectDescription,&sipCpp))
        {
            QList<QByteArray> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>(sipCpp->propertyNames());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QByteArray,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_EffectDescription,sipName_propertyNames);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_EffectDescription_isValid(PyObject *, PyObject *);}
static PyObject *meth_Phonon_EffectDescription_isValid(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::EffectDescription *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_EffectDescription,&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(sipArgsParsed,sipName_EffectDescription,sipName_isValid);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_EffectDescription_index(PyObject *, PyObject *);}
static PyObject *meth_Phonon_EffectDescription_index(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::EffectDescription *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_EffectDescription,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->index();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *slot_Phonon_EffectDescription___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Phonon_EffectDescription___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectDescription *sipCpp = reinterpret_cast<Phonon::EffectDescription *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectDescription));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Phonon::EffectDescription * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_Phonon_EffectDescription,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Phonon::EffectDescription::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_phonon,ne_slot,sipType_Phonon_EffectDescription,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Phonon_EffectDescription___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Phonon_EffectDescription___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectDescription *sipCpp = reinterpret_cast<Phonon::EffectDescription *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectDescription));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Phonon::EffectDescription * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_Phonon_EffectDescription,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Phonon::EffectDescription::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_phonon,eq_slot,sipType_Phonon_EffectDescription,sipSelf,sipArg);
}


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

    return NULL;
}


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

    delete reinterpret_cast<Phonon::EffectDescription *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Phonon_EffectDescription(void *, const void*);}
static void assign_Phonon_EffectDescription(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Phonon::EffectDescription *>(sipDst) = *reinterpret_cast<const Phonon::EffectDescription *>(sipSrc);
}


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


extern "C" {static void *init_Phonon_EffectDescription(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Phonon_EffectDescription(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Phonon::EffectDescription *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::EffectDescription();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        int a0;
        const QHash<QByteArray,QVariant> * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"iJ1",&a0,sipType_QHash_0200QByteArray_0200QVariant,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::EffectDescription(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QHash<QByteArray,QVariant> *>(a1),sipType_QHash_0200QByteArray_0200QVariant,a1State);
        }
    }

    if (!sipCpp)
    {
        const Phonon::EffectDescription * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_Phonon_EffectDescription,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::EffectDescription(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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


static PyMethodDef methods_Phonon_EffectDescription[] = {
    {SIP_MLNAME_CAST(sipName_description), meth_Phonon_EffectDescription_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromIndex), meth_Phonon_EffectDescription_fromIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_Phonon_EffectDescription_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Phonon_EffectDescription_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Phonon_EffectDescription_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_Phonon_EffectDescription_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyNames), meth_Phonon_EffectDescription_propertyNames, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_phonon_Phonon_EffectDescription = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Phonon__EffectDescription,
        {0}
    },
    sipNameNr_EffectDescription,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 255, 0},
    0,
    slots_Phonon_EffectDescription,
    7, methods_Phonon_EffectDescription,
    0, 0,
    0, 0,
    init_Phonon_EffectDescription,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_EffectDescription,
    release_Phonon_EffectDescription,
    cast_Phonon_EffectDescription,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Phonon_EffectDescription,
    0,
    0,
    0
};


#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 478 "sipphononpart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 481 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 484 "sipphononpart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 515 "sipphononpart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 518 "sipphononpart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 521 "sipphononpart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 524 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 527 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 530 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 533 "sipphononpart7.cpp"


extern "C" {static PyObject *meth_Phonon_AudioCaptureDevice_fromIndex(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioCaptureDevice_fromIndex(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"i",&a0))
        {
            Phonon::AudioCaptureDevice *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::AudioCaptureDevice(Phonon::AudioCaptureDevice::fromIndex(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AudioCaptureDevice,sipName_fromIndex);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioCaptureDevice_name(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioCaptureDevice_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioCaptureDevice *sipCpp;

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioCaptureDevice_description(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioCaptureDevice_description(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioCaptureDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_AudioCaptureDevice,&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(sipArgsParsed,sipName_AudioCaptureDevice,sipName_description);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioCaptureDevice_property(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioCaptureDevice_property(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const char * a0;
        PyObject *a0Keep;
        Phonon::AudioCaptureDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAA",&sipSelf,sipType_Phonon_AudioCaptureDevice,&sipCpp,&a0Keep,&a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->property(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioCaptureDevice_propertyNames(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioCaptureDevice_propertyNames(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioCaptureDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_AudioCaptureDevice,&sipCpp))
        {
            QList<QByteArray> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>(sipCpp->propertyNames());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QByteArray,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AudioCaptureDevice,sipName_propertyNames);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioCaptureDevice_isValid(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioCaptureDevice_isValid(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioCaptureDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_AudioCaptureDevice,&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(sipArgsParsed,sipName_AudioCaptureDevice,sipName_isValid);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioCaptureDevice_index(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioCaptureDevice_index(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioCaptureDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_AudioCaptureDevice,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->index();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *slot_Phonon_AudioCaptureDevice___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Phonon_AudioCaptureDevice___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::AudioCaptureDevice *sipCpp = reinterpret_cast<Phonon::AudioCaptureDevice *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_AudioCaptureDevice));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Phonon::AudioCaptureDevice * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_Phonon_AudioCaptureDevice,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Phonon::AudioCaptureDevice::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_phonon,ne_slot,sipType_Phonon_AudioCaptureDevice,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Phonon_AudioCaptureDevice___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Phonon_AudioCaptureDevice___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::AudioCaptureDevice *sipCpp = reinterpret_cast<Phonon::AudioCaptureDevice *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_AudioCaptureDevice));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Phonon::AudioCaptureDevice * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_Phonon_AudioCaptureDevice,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Phonon::AudioCaptureDevice::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_phonon,eq_slot,sipType_Phonon_AudioCaptureDevice,sipSelf,sipArg);
}


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

    return NULL;
}


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

    delete reinterpret_cast<Phonon::AudioCaptureDevice *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Phonon_AudioCaptureDevice(void *, const void*);}
static void assign_Phonon_AudioCaptureDevice(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Phonon::AudioCaptureDevice *>(sipDst) = *reinterpret_cast<const Phonon::AudioCaptureDevice *>(sipSrc);
}


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


extern "C" {static void *init_Phonon_AudioCaptureDevice(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Phonon_AudioCaptureDevice(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Phonon::AudioCaptureDevice *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::AudioCaptureDevice();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        int a0;
        const QHash<QByteArray,QVariant> * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"iJ1",&a0,sipType_QHash_0200QByteArray_0200QVariant,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::AudioCaptureDevice(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QHash<QByteArray,QVariant> *>(a1),sipType_QHash_0200QByteArray_0200QVariant,a1State);
        }
    }

    if (!sipCpp)
    {
        const Phonon::AudioCaptureDevice * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_Phonon_AudioCaptureDevice,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::AudioCaptureDevice(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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


static PyMethodDef methods_Phonon_AudioCaptureDevice[] = {
    {SIP_MLNAME_CAST(sipName_description), meth_Phonon_AudioCaptureDevice_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromIndex), meth_Phonon_AudioCaptureDevice_fromIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_Phonon_AudioCaptureDevice_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Phonon_AudioCaptureDevice_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Phonon_AudioCaptureDevice_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_Phonon_AudioCaptureDevice_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyNames), meth_Phonon_AudioCaptureDevice_propertyNames, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_phonon_Phonon_AudioCaptureDevice = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Phonon__AudioCaptureDevice,
        {0}
    },
    sipNameNr_AudioCaptureDevice,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 255, 0},
    0,
    slots_Phonon_AudioCaptureDevice,
    7, methods_Phonon_AudioCaptureDevice,
    0, 0,
    0, 0,
    init_Phonon_AudioCaptureDevice,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_AudioCaptureDevice,
    release_Phonon_AudioCaptureDevice,
    cast_Phonon_AudioCaptureDevice,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Phonon_AudioCaptureDevice,
    0,
    0,
    0
};


#line 43 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qhash.h>
#line 943 "sipphononpart7.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 946 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 949 "sipphononpart7.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 980 "sipphononpart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 983 "sipphononpart7.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 986 "sipphononpart7.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 989 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 992 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 995 "sipphononpart7.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 998 "sipphononpart7.cpp"


extern "C" {static PyObject *meth_Phonon_AudioOutputDevice_fromIndex(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioOutputDevice_fromIndex(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"i",&a0))
        {
            Phonon::AudioOutputDevice *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::AudioOutputDevice(Phonon::AudioOutputDevice::fromIndex(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AudioOutputDevice,sipName_fromIndex);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioOutputDevice_name(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioOutputDevice_name(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioOutputDevice *sipCpp;

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

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

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioOutputDevice_description(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioOutputDevice_description(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioOutputDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_AudioOutputDevice,&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(sipArgsParsed,sipName_AudioOutputDevice,sipName_description);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioOutputDevice_property(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioOutputDevice_property(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const char * a0;
        PyObject *a0Keep;
        Phonon::AudioOutputDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BAA",&sipSelf,sipType_Phonon_AudioOutputDevice,&sipCpp,&a0Keep,&a0))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->property(a0));
            Py_END_ALLOW_THREADS
            Py_DECREF(a0Keep);

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

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

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioOutputDevice_propertyNames(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioOutputDevice_propertyNames(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioOutputDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_AudioOutputDevice,&sipCpp))
        {
            QList<QByteArray> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<QByteArray>(sipCpp->propertyNames());
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QList_0200QByteArray,NULL);
            delete sipRes;

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_AudioOutputDevice,sipName_propertyNames);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioOutputDevice_isValid(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioOutputDevice_isValid(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioOutputDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_AudioOutputDevice,&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(sipArgsParsed,sipName_AudioOutputDevice,sipName_isValid);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_AudioOutputDevice_index(PyObject *, PyObject *);}
static PyObject *meth_Phonon_AudioOutputDevice_index(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::AudioOutputDevice *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Phonon_AudioOutputDevice,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->index();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *slot_Phonon_AudioOutputDevice___ne__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Phonon_AudioOutputDevice___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::AudioOutputDevice *sipCpp = reinterpret_cast<Phonon::AudioOutputDevice *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_AudioOutputDevice));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Phonon::AudioOutputDevice * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_Phonon_AudioOutputDevice,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Phonon::AudioOutputDevice::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_phonon,ne_slot,sipType_Phonon_AudioOutputDevice,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Phonon_AudioOutputDevice___eq__(PyObject *sipSelf,PyObject *sipArg);}
static PyObject *slot_Phonon_AudioOutputDevice___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::AudioOutputDevice *sipCpp = reinterpret_cast<Phonon::AudioOutputDevice *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_AudioOutputDevice));

    if (!sipCpp)
        return 0;

    int sipArgsParsed = 0;

    {
        const Phonon::AudioOutputDevice * a0;

        if (sipParseArgs(&sipArgsParsed,sipArg,"1J9",sipType_Phonon_AudioOutputDevice,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->Phonon::AudioOutputDevice::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    return sipPySlotExtend(&sipModuleAPI_phonon,eq_slot,sipType_Phonon_AudioOutputDevice,sipSelf,sipArg);
}


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

    return NULL;
}


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

    delete reinterpret_cast<Phonon::AudioOutputDevice *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Phonon_AudioOutputDevice(void *, const void*);}
static void assign_Phonon_AudioOutputDevice(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<Phonon::AudioOutputDevice *>(sipDst) = *reinterpret_cast<const Phonon::AudioOutputDevice *>(sipSrc);
}


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


extern "C" {static void *init_Phonon_AudioOutputDevice(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Phonon_AudioOutputDevice(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Phonon::AudioOutputDevice *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::AudioOutputDevice();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        int a0;
        const QHash<QByteArray,QVariant> * a1;
        int a1State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"iJ1",&a0,sipType_QHash_0200QByteArray_0200QVariant,&a1,&a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::AudioOutputDevice(a0,*a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QHash<QByteArray,QVariant> *>(a1),sipType_QHash_0200QByteArray_0200QVariant,a1State);
        }
    }

    if (!sipCpp)
    {
        const Phonon::AudioOutputDevice * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_Phonon_AudioOutputDevice,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::AudioOutputDevice(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


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


static PyMethodDef methods_Phonon_AudioOutputDevice[] = {
    {SIP_MLNAME_CAST(sipName_description), meth_Phonon_AudioOutputDevice_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fromIndex), meth_Phonon_AudioOutputDevice_fromIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), meth_Phonon_AudioOutputDevice_index, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Phonon_AudioOutputDevice_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Phonon_AudioOutputDevice_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_Phonon_AudioOutputDevice_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyNames), meth_Phonon_AudioOutputDevice_propertyNames, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_phonon_Phonon_AudioOutputDevice = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Phonon__AudioOutputDevice,
        {0}
    },
    sipNameNr_AudioOutputDevice,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 255, 0},
    0,
    slots_Phonon_AudioOutputDevice,
    7, methods_Phonon_AudioOutputDevice,
    0, 0,
    0, 0,
    init_Phonon_AudioOutputDevice,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_AudioOutputDevice,
    release_Phonon_AudioOutputDevice,
    cast_Phonon_AudioOutputDevice,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_Phonon_AudioOutputDevice,
    0,
    0,
    0
};


#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1408 "sipphononpart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/phonon/effectparameter.sip"
#include <phonon/effectparameter.h>
#line 1411 "sipphononpart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/phonon/mediaobject.sip"
#include <phonon/mediaobject.h>
#line 1414 "sipphononpart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/phonon/mediasource.sip"
#include <phonon/mediasource.h>
#line 1417 "sipphononpart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/phonon/path.sip"
#include <phonon/path.h>
#line 1420 "sipphononpart7.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/phonon/medianode.sip"
#include <phonon/medianode.h>
#line 1423 "sipphononpart7.cpp"


extern "C" {static PyObject *meth_Phonon_createPath(PyObject *,PyObject *);}
static PyObject *meth_Phonon_createPath(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::MediaNode * a0;
        Phonon::MediaNode * a1;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J8J8",sipType_Phonon_MediaNode,&a0,sipType_Phonon_MediaNode,&a1))
        {
            Phonon::Path *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::Path(Phonon::createPath(a0,a1));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_createPath);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_createPlayer(PyObject *,PyObject *);}
static PyObject *meth_Phonon_createPlayer(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::Category a0;
        const Phonon::MediaSource& a1def = Phonon::MediaSource();
        const Phonon::MediaSource * a1 = &a1def;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E|J9",sipType_Phonon_Category,&a0,sipType_Phonon_MediaSource,&a1))
        {
            Phonon::MediaObject *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Phonon::createPlayer(a0,*a1);
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_createPlayer);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_qHash(PyObject *,PyObject *);}
static PyObject *meth_Phonon_qHash(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const Phonon::EffectParameter * a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9",sipType_Phonon_EffectParameter,&a0))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Phonon::qHash(*a0);
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_qHash);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_categoryToString(PyObject *,PyObject *);}
static PyObject *meth_Phonon_categoryToString(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        Phonon::Category a0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E",sipType_Phonon_Category,&a0))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(Phonon::categoryToString(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_categoryToString);

    return NULL;
}


extern "C" {static PyObject *meth_Phonon_phononVersion(PyObject *,PyObject *);}
static PyObject *meth_Phonon_phononVersion(PyObject *,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            const char *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Phonon::phononVersion();
            Py_END_ALLOW_THREADS

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipArgsParsed,sipName_phononVersion);

    return NULL;
}


static PyMethodDef methods_Phonon[] = {
    {SIP_MLNAME_CAST(sipName_categoryToString), meth_Phonon_categoryToString, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createPath), meth_Phonon_createPath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createPlayer), meth_Phonon_createPlayer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_phononVersion), meth_Phonon_phononVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_qHash), meth_Phonon_qHash, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Phonon[] = {
    {sipName_AccessibilityCategory, Phonon::AccessibilityCategory, 9},
    {sipName_AlbumMetaData, Phonon::AlbumMetaData, 25},
    {sipName_ArtistMetaData, Phonon::ArtistMetaData, 25},
    {sipName_AudioCaptureDeviceType, Phonon::AudioCaptureDeviceType, 26},
    {sipName_AudioChannelType, Phonon::AudioChannelType, 26},
    {sipName_AudioOutputDeviceType, Phonon::AudioOutputDeviceType, 26},
    {sipName_BufferingState, Phonon::BufferingState, 29},
    {sipName_Cd, Phonon::Cd, 10},
    {sipName_CommunicationCategory, Phonon::CommunicationCategory, 9},
    {sipName_DateMetaData, Phonon::DateMetaData, 25},
    {sipName_DescriptionMetaData, Phonon::DescriptionMetaData, 25},
    {sipName_Dvd, Phonon::Dvd, 10},
    {sipName_EffectType, Phonon::EffectType, 26},
    {sipName_ErrorState, Phonon::ErrorState, 29},
    {sipName_FatalError, Phonon::FatalError, 17},
    {sipName_GameCategory, Phonon::GameCategory, 9},
    {sipName_GenreMetaData, Phonon::GenreMetaData, 25},
    {sipName_LastCategory, Phonon::LastCategory, 9},
    {sipName_LoadingState, Phonon::LoadingState, 29},
    {sipName_MusicBrainzDiscIdMetaData, Phonon::MusicBrainzDiscIdMetaData, 25},
    {sipName_MusicCategory, Phonon::MusicCategory, 9},
    {sipName_NoCategory, Phonon::NoCategory, 9},
    {sipName_NoDisc, Phonon::NoDisc, 10},
    {sipName_NoError, Phonon::NoError, 17},
    {sipName_NormalError, Phonon::NormalError, 17},
    {sipName_NotificationCategory, Phonon::NotificationCategory, 9},
    {sipName_PausedState, Phonon::PausedState, 29},
    {sipName_PlayingState, Phonon::PlayingState, 29},
    {sipName_StoppedState, Phonon::StoppedState, 29},
    {sipName_SubtitleType, Phonon::SubtitleType, 26},
    {sipName_TitleMetaData, Phonon::TitleMetaData, 25},
    {sipName_TracknumberMetaData, Phonon::TracknumberMetaData, 25},
    {sipName_Vcd, Phonon::Vcd, 10},
    {sipName_VideoCategory, Phonon::VideoCategory, 9},
};


pyqt4ClassTypeDef pyqt4Type_phonon_Phonon = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_Phonon,
        {0}
    },
    sipNameNr_Phonon,
    -1,
    -1,
    {0, 0, 1},
    0,
    0,
    5, methods_Phonon,
    34, enummembers_Phonon,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};
