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

#include "sipAPIphonon.h"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/mediacontroller.sip"
#include <phonon/mediacontroller.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/mediaobject.sip"
#include <phonon/mediaobject.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 41 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/objectdescription.sip"
#include <phonon/objectdescription.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 41 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/objectdescription.sip"
#include <phonon/objectdescription.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/mediacontroller.sip"
#include <phonon/mediacontroller.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 61 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 64 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 67 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 70 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"


class sipPhonon_MediaController : public Phonon::MediaController
{
public:
    sipPhonon_MediaController(Phonon::MediaObject*);
    virtual ~sipPhonon_MediaController();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipPhonon_MediaController::sipPhonon_MediaController(Phonon::MediaObject*a0): Phonon::MediaController(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPhonon_MediaController::metaObject() const
{
    return sip_phonon_qt_metaobject(sipPySelf,sipType_Phonon_MediaController);
}

int sipPhonon_MediaController::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Phonon::MediaController::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_phonon_qt_metacall(sipPySelf,sipType_Phonon_MediaController,_c,_id,_a);

    return _id;
}

void *sipPhonon_MediaController::qt_metacast(const char *_clname)
{
    return (sip_phonon_qt_metacast(sipPySelf, sipType_Phonon_MediaController, _clname)) ? this : Phonon::MediaController::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return Phonon::MediaController::event(a0);

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

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


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

    {
        const Phonon::MediaController *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_MediaController, &sipCpp))
        {
            Phonon::MediaController::Features*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::MediaController::Features(sipCpp->supportedFeatures());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->availableAngles();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentAngle();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->availableChapters();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentChapter();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->availableTitles();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentTitle();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->autoplayTitles();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_MediaController, &sipCpp))
        {
            Phonon::AudioChannelDescription*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::AudioChannelDescription(sipCpp->currentAudioChannel());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_MediaController, &sipCpp))
        {
            Phonon::SubtitleDescription*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::SubtitleDescription(sipCpp->currentSubtitle());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_MediaController, &sipCpp))
        {
            QList<Phonon::AudioChannelDescription>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Phonon::AudioChannelDescription>(sipCpp->availableAudioChannels());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::MediaController *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_MediaController, &sipCpp))
        {
            QList<Phonon::SubtitleDescription>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Phonon::SubtitleDescription>(sipCpp->availableSubtitles());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::AudioChannelDescription* a0;
        Phonon::MediaController *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::SubtitleDescription* a0;
        Phonon::MediaController *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Phonon::MediaController *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Phonon::MediaController *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Phonon::MediaController *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Phonon::MediaController *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::MediaController *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::MediaController *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Phonon_MediaController)
        return ptr;

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

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        Phonon::MediaObject* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Phonon_MediaController[] = {
    {SIP_MLNAME_CAST(sipName_autoplayTitles), meth_Phonon_MediaController_autoplayTitles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_availableAngles), meth_Phonon_MediaController_availableAngles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_availableAudioChannels), meth_Phonon_MediaController_availableAudioChannels, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_availableChapters), meth_Phonon_MediaController_availableChapters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_availableSubtitles), meth_Phonon_MediaController_availableSubtitles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_availableTitles), meth_Phonon_MediaController_availableTitles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentAngle), meth_Phonon_MediaController_currentAngle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentAudioChannel), meth_Phonon_MediaController_currentAudioChannel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChapter), meth_Phonon_MediaController_currentChapter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentSubtitle), meth_Phonon_MediaController_currentSubtitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentTitle), meth_Phonon_MediaController_currentTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_nextTitle), meth_Phonon_MediaController_nextTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_previousTitle), meth_Phonon_MediaController_previousTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoplayTitles), meth_Phonon_MediaController_setAutoplayTitles, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentAngle), meth_Phonon_MediaController_setCurrentAngle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentAudioChannel), meth_Phonon_MediaController_setCurrentAudioChannel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentChapter), meth_Phonon_MediaController_setCurrentChapter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentSubtitle), meth_Phonon_MediaController_setCurrentSubtitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentTitle), meth_Phonon_MediaController_setCurrentTitle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedFeatures), meth_Phonon_MediaController_supportedFeatures, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Phonon_MediaController[] = {
    {sipName_Angles, static_cast<int>(Phonon::MediaController::Angles), 27},
    {sipName_Chapters, static_cast<int>(Phonon::MediaController::Chapters), 27},
    {sipName_Navigations, static_cast<int>(Phonon::MediaController::Navigations), 27},
    {sipName_Titles, static_cast<int>(Phonon::MediaController::Titles), 27},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Phonon_MediaController[] = {
    {"titleChanged(int)", 0, 0, 0},
    {"availableTitlesChanged(int)", 0, 0, 0},
    {"chapterChanged(int)", 0, 0, 0},
    {"availableChaptersChanged(int)", 0, 0, 0},
    {"angleChanged(int)", 0, 0, 0},
    {"availableAnglesChanged(int)", 0, 0, 0},
    {"availableAudioChannelsChanged()", 0, 0, 0},
    {"availableSubtitlesChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_MediaController = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Phonon__MediaController,
        {0}
    },
    {
        sipNameNr_MediaController,
        {0, 255, 0},
        20, methods_Phonon_MediaController,
        4, enummembers_Phonon_MediaController,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Phonon_MediaController,
    0,
    init_type_Phonon_MediaController,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_MediaController,
    0,
    0,
    0,
    release_Phonon_MediaController,
    cast_Phonon_MediaController,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Phonon::MediaController::staticMetaObject,
    0,
    signals_Phonon_MediaController,
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/globalconfig.sip"
#include <phonon/globalconfig.h>
#line 969 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"

#line 628 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 973 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qhash.sip"
#include <qhash.h>
#line 976 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 979 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 985 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"


class sipPhonon_GlobalConfig : public Phonon::GlobalConfig
{
public:
    sipPhonon_GlobalConfig();
    sipPhonon_GlobalConfig(const Phonon::GlobalConfig&);
    ~sipPhonon_GlobalConfig();

public:
    sipSimpleWrapper *sipPySelf;

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

sipPhonon_GlobalConfig::sipPhonon_GlobalConfig(): Phonon::GlobalConfig(), sipPySelf(0)
{
}

sipPhonon_GlobalConfig::sipPhonon_GlobalConfig(const Phonon::GlobalConfig& a0): Phonon::GlobalConfig(a0), sipPySelf(0)
{
}

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


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

    {
        const Phonon::GlobalConfig *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hideAdvancedDevices();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0 = 1;
        Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|b", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHideAdvancedDevices(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::ObjectDescriptionType a0;
        int a1;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEi", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_ObjectDescriptionType, &a0, &a1))
        {
            QHash<QByteArray,QVariant>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QByteArray,QVariant>(sipCpp->deviceProperties(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, &a0))
        {
            QHash<QByteArray,QVariant>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QByteArray,QVariant>(sipCpp->audioOutputDeviceProperties(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, &a0))
        {
            QHash<QByteArray,QVariant>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QByteArray,QVariant>(sipCpp->videoCaptureDeviceProperties(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        int a0;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, &a0))
        {
            QHash<QByteArray,QVariant>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QHash<QByteArray,QVariant>(sipCpp->audioCaptureDeviceProperties(a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Phonon::Category a0;
        QList<int>* a1;
        int a1State = 0;
        Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_Category, &a0, sipType_QList_1800,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAudioOutputDeviceListFor(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QList_1800,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::Category a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_Category, &a0, &a1))
        {
            QList<int>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<int>(sipCpp->audioOutputDeviceListFor(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Phonon::Category a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_Category, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->audioOutputDeviceFor(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Phonon::CaptureCategory a0;
        QList<int>* a1;
        int a1State = 0;
        Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_CaptureCategory, &a0, sipType_QList_1800,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVideoCaptureDeviceListFor(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QList_1800,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Phonon::Category a0;
        QList<int>* a1;
        int a1State = 0;
        Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_Category, &a0, sipType_QList_1800,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVideoCaptureDeviceListFor(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QList_1800,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::CaptureCategory a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_CaptureCategory, &a0, &a1))
        {
            QList<int>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<int>(sipCpp->videoCaptureDeviceListFor(a0,a1));
            Py_END_ALLOW_THREADS

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

    {
        Phonon::Category a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_Category, &a0, &a1))
        {
            QList<int>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<int>(sipCpp->videoCaptureDeviceListFor(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Phonon::CaptureCategory a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_CaptureCategory, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->videoCaptureDeviceFor(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        Phonon::Category a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_Category, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->videoCaptureDeviceFor(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Phonon::CaptureCategory a0;
        QList<int>* a1;
        int a1State = 0;
        Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_CaptureCategory, &a0, sipType_QList_1800,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAudioCaptureDeviceListFor(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QList_1800,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Phonon::Category a0;
        QList<int>* a1;
        int a1State = 0;
        Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_Category, &a0, sipType_QList_1800,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAudioCaptureDeviceListFor(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QList_1800,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::CaptureCategory a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_CaptureCategory, &a0, &a1))
        {
            QList<int>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<int>(sipCpp->audioCaptureDeviceListFor(a0,a1));
            Py_END_ALLOW_THREADS

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

    {
        Phonon::Category a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_Category, &a0, &a1))
        {
            QList<int>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<int>(sipCpp->audioCaptureDeviceListFor(a0,a1));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Phonon::CaptureCategory a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_CaptureCategory, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->audioCaptureDeviceFor(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        Phonon::Category a0;
        int a1 = Phonon::GlobalConfig::AdvancedDevicesFromSettings;
        const Phonon::GlobalConfig *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE|i", &sipSelf, sipType_Phonon_GlobalConfig, &sipCpp, sipType_Phonon_Category, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->audioCaptureDeviceFor(a0,a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    return NULL;
}


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

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipPhonon_GlobalConfig *>(sipCppV);
    else
        delete reinterpret_cast<Phonon::GlobalConfig *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const Phonon::GlobalConfig* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Phonon_GlobalConfig[] = {
    {SIP_MLNAME_CAST(sipName_audioCaptureDeviceFor), meth_Phonon_GlobalConfig_audioCaptureDeviceFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_audioCaptureDeviceListFor), meth_Phonon_GlobalConfig_audioCaptureDeviceListFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_audioCaptureDeviceProperties), meth_Phonon_GlobalConfig_audioCaptureDeviceProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_audioOutputDeviceFor), meth_Phonon_GlobalConfig_audioOutputDeviceFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_audioOutputDeviceListFor), meth_Phonon_GlobalConfig_audioOutputDeviceListFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_audioOutputDeviceProperties), meth_Phonon_GlobalConfig_audioOutputDeviceProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceProperties), meth_Phonon_GlobalConfig_deviceProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideAdvancedDevices), meth_Phonon_GlobalConfig_hideAdvancedDevices, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAudioCaptureDeviceListFor), meth_Phonon_GlobalConfig_setAudioCaptureDeviceListFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAudioOutputDeviceListFor), meth_Phonon_GlobalConfig_setAudioOutputDeviceListFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHideAdvancedDevices), meth_Phonon_GlobalConfig_setHideAdvancedDevices, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVideoCaptureDeviceListFor), meth_Phonon_GlobalConfig_setVideoCaptureDeviceListFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_videoCaptureDeviceFor), meth_Phonon_GlobalConfig_videoCaptureDeviceFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_videoCaptureDeviceListFor), meth_Phonon_GlobalConfig_videoCaptureDeviceListFor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_videoCaptureDeviceProperties), meth_Phonon_GlobalConfig_videoCaptureDeviceProperties, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Phonon_GlobalConfig[] = {
    {sipName_AdvancedDevicesFromSettings, static_cast<int>(Phonon::GlobalConfig::AdvancedDevicesFromSettings), 25},
    {sipName_HideAdvancedDevices, static_cast<int>(Phonon::GlobalConfig::HideAdvancedDevices), 25},
    {sipName_HideUnavailableDevices, static_cast<int>(Phonon::GlobalConfig::HideUnavailableDevices), 25},
    {sipName_ShowAdvancedDevices, static_cast<int>(Phonon::GlobalConfig::ShowAdvancedDevices), 25},
    {sipName_ShowUnavailableDevices, static_cast<int>(Phonon::GlobalConfig::ShowUnavailableDevices), 25},
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_GlobalConfig = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Phonon__GlobalConfig,
        {0}
    },
    {
        sipNameNr_GlobalConfig,
        {0, 255, 0},
        15, methods_Phonon_GlobalConfig,
        5, enummembers_Phonon_GlobalConfig,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_Phonon_GlobalConfig,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_GlobalConfig,
    0,
    0,
    0,
    release_Phonon_GlobalConfig,
    cast_Phonon_GlobalConfig,
    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/phonon/effectwidget.sip"
#include <phonon/effectwidget.h>
#line 1710 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/effect.sip"
#include <phonon/effect.h>
#line 1714 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1717 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1720 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 1723 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1726 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1729 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 1732 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 1735 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1738 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1741 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 1744 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 1747 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 1750 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 1753 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 1756 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1759 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 1762 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 1765 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 1768 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 1771 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 1774 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1777 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 1780 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1783 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 656 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1786 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1789 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 616 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1792 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 605 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1795 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 748 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1798 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 801 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1801 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 774 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1804 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 790 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1807 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 863 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1810 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 412 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1813 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 627 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1816 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 583 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1819 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 570 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1822 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 557 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1825 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 533 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1828 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 514 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1831 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 483 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1834 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 356 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1837 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 261 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 1840 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 1843 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 61 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 1846 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 39 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 1849 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1852 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 1855 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 1858 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 1861 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1864 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 1867 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 1870 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 1873 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 1876 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 1879 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1888 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1891 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"


class sipPhonon_EffectWidget : public Phonon::EffectWidget
{
public:
    sipPhonon_EffectWidget(Phonon::Effect*,QWidget*);
    virtual ~sipPhonon_EffectWidget();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[47];
};

sipPhonon_EffectWidget::sipPhonon_EffectWidget(Phonon::Effect*a0,QWidget*a1): Phonon::EffectWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPhonon_EffectWidget::metaObject() const
{
    return sip_phonon_qt_metaobject(sipPySelf,sipType_Phonon_EffectWidget);
}

int sipPhonon_EffectWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Phonon::EffectWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_phonon_qt_metacall(sipPySelf,sipType_Phonon_EffectWidget,_c,_id,_a);

    return _id;
}

void *sipPhonon_EffectWidget::qt_metacast(const char *_clname)
{
    return (sip_phonon_qt_metacast(sipPySelf, sipType_Phonon_EffectWidget, _clname)) ? this : Phonon::EffectWidget::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
    {
        Phonon::EffectWidget::languageChange();
        return;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return Phonon::EffectWidget::focusNextPrevChild(a0);

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

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

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

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

    if (!sipMeth)
        return Phonon::EffectWidget::inputMethodQuery(a0);

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return Phonon::EffectWidget::metric(a0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return Phonon::EffectWidget::event(a0);

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

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

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

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

    if (!sipMeth)
        return Phonon::EffectWidget::paintEngine();

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

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

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

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

    if (!sipMeth)
        return Phonon::EffectWidget::heightForWidth(a0);

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

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

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

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

    if (!sipMeth)
        return Phonon::EffectWidget::minimumSizeHint();

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

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

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

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

    if (!sipMeth)
        return Phonon::EffectWidget::sizeHint();

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return Phonon::EffectWidget::devType();

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

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


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

    if (targetType == sipType_Phonon_EffectWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(Phonon::EffectWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        Phonon::Effect* a0;
        QWidget* a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_EffectWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Phonon__EffectWidget,
        {0}
    },
    {
        sipNameNr_EffectWidget,
        {0, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Phonon_EffectWidget,
    0,
    init_type_Phonon_EffectWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_EffectWidget,
    0,
    0,
    0,
    release_Phonon_EffectWidget,
    cast_Phonon_EffectWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Phonon::EffectWidget::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/effectparameter.sip"
#include <phonon/effectparameter.h>
#line 2956 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/effectparameter.sip"
#include <phonon/effectparameter.h>
#line 2960 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"


extern "C" {static int slot_Phonon_EffectParameter_Hints___bool__(PyObject *);}
static int slot_Phonon_EffectParameter_Hints___bool__(PyObject *sipSelf)
{
    Phonon::EffectParameter::Hints *sipCpp = reinterpret_cast<Phonon::EffectParameter::Hints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter_Hints));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 370 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Phonon::EffectParameter::Hints::Int() != 0);
#else
        sipRes = (sipCpp->operator int() != 0);
#endif
#line 2982 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Phonon_EffectParameter_Hints___ne__(PyObject *,PyObject *);}
static PyObject *slot_Phonon_EffectParameter_Hints___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectParameter::Hints *sipCpp = reinterpret_cast<Phonon::EffectParameter::Hints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter_Hints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Phonon::EffectParameter::Hints* a0;
        int a0State = 0;

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

#line 361 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Phonon::EffectParameter::Hints::Int() != a0->operator Phonon::EffectParameter::Hints::Int());
#else
        sipRes = (sipCpp->operator int() != a0->operator int());
#endif
#line 3016 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
            sipReleaseType(const_cast<Phonon::EffectParameter::Hints *>(a0),sipType_Phonon_EffectParameter_Hints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_Phonon_EffectParameter_Hints___eq__(PyObject *,PyObject *);}
static PyObject *slot_Phonon_EffectParameter_Hints___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectParameter::Hints *sipCpp = reinterpret_cast<Phonon::EffectParameter::Hints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter_Hints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Phonon::EffectParameter::Hints* a0;
        int a0State = 0;

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

#line 352 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
#if QT_VERSION >= 0x050000
        sipRes = (sipCpp->operator Phonon::EffectParameter::Hints::Int() == a0->operator Phonon::EffectParameter::Hints::Int());
#else
        sipRes = (sipCpp->operator int() == a0->operator int());
#endif
#line 3056 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
            sipReleaseType(const_cast<Phonon::EffectParameter::Hints *>(a0),sipType_Phonon_EffectParameter_Hints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_Phonon_EffectParameter_Hints___invert__(PyObject *);}
static PyObject *slot_Phonon_EffectParameter_Hints___invert__(PyObject *sipSelf)
{
    Phonon::EffectParameter::Hints *sipCpp = reinterpret_cast<Phonon::EffectParameter::Hints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter_Hints));

    if (!sipCpp)
        return 0;


    {
        {
            Phonon::EffectParameter::Hints*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::EffectParameter::Hints(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


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

    {
        Phonon::EffectParameter::Hints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Phonon_EffectParameter_Hints, &a0, &a0State, &a1))
        {
            Phonon::EffectParameter::Hints*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::EffectParameter::Hints((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Phonon_EffectParameter_Hints,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        Phonon::EffectParameter::Hints* a0;
        int a0State = 0;
        Phonon::EffectParameter::Hints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Phonon_EffectParameter_Hints, &a0, &a0State, sipType_Phonon_EffectParameter_Hints, &a1, &a1State))
        {
            Phonon::EffectParameter::Hints*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::EffectParameter::Hints((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Phonon_EffectParameter_Hints,a0State);
            sipReleaseType(a1,sipType_Phonon_EffectParameter_Hints,a1State);

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

    {
        Phonon::EffectParameter::Hints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Phonon_EffectParameter_Hints, &a0, &a0State, &a1))
        {
            Phonon::EffectParameter::Hints*sipRes = 0;

#line 346 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Phonon::EffectParameter::Hints(*a0 ^ a1);
#line 3165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
            sipReleaseType(a0,sipType_Phonon_EffectParameter_Hints,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        Phonon::EffectParameter::Hints* a0;
        int a0State = 0;
        Phonon::EffectParameter::Hints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Phonon_EffectParameter_Hints, &a0, &a0State, sipType_Phonon_EffectParameter_Hints, &a1, &a1State))
        {
            Phonon::EffectParameter::Hints*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::EffectParameter::Hints((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Phonon_EffectParameter_Hints,a0State);
            sipReleaseType(a1,sipType_Phonon_EffectParameter_Hints,a1State);

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

    {
        Phonon::EffectParameter::Hints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Phonon_EffectParameter_Hints, &a0, &a0State, &a1))
        {
            Phonon::EffectParameter::Hints*sipRes = 0;

#line 341 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
        sipRes = new Phonon::EffectParameter::Hints(*a0 | a1);
#line 3217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
            sipReleaseType(a0,sipType_Phonon_EffectParameter_Hints,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_Phonon_EffectParameter_Hints___int__(PyObject *);}
static PyObject *slot_Phonon_EffectParameter_Hints___int__(PyObject *sipSelf)
{
    Phonon::EffectParameter::Hints *sipCpp = reinterpret_cast<Phonon::EffectParameter::Hints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter_Hints));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    Phonon::EffectParameter::Hints *sipCpp = reinterpret_cast<Phonon::EffectParameter::Hints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter_Hints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Phonon::EffectParameter::Hints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Phonon_EffectParameter_Hints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Phonon::EffectParameter::Hints::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Phonon_EffectParameter_Hints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    Phonon::EffectParameter::Hints *sipCpp = reinterpret_cast<Phonon::EffectParameter::Hints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter_Hints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Phonon::EffectParameter::Hints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Phonon_EffectParameter_Hints, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Phonon::EffectParameter::Hints::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Phonon_EffectParameter_Hints,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    Phonon::EffectParameter::Hints *sipCpp = reinterpret_cast<Phonon::EffectParameter::Hints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter_Hints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

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

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<Phonon::EffectParameter::Hints *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Phonon_EffectParameter_Hints(void *, SIP_SSIZE_T, const void *);}
static void assign_Phonon_EffectParameter_Hints(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Phonon::EffectParameter::Hints *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Phonon::EffectParameter::Hints *>(sipSrc);
}


extern "C" {static void *array_Phonon_EffectParameter_Hints(SIP_SSIZE_T);}
static void *array_Phonon_EffectParameter_Hints(SIP_SSIZE_T sipNrElem)
{
    return new Phonon::EffectParameter::Hints[sipNrElem];
}


extern "C" {static void *copy_Phonon_EffectParameter_Hints(const void *, SIP_SSIZE_T);}
static void *copy_Phonon_EffectParameter_Hints(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Phonon::EffectParameter::Hints(reinterpret_cast<const Phonon::EffectParameter::Hints *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_type_Phonon_EffectParameter_Hints(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Phonon_EffectParameter_Hints(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Phonon::EffectParameter::Hints *sipCpp = 0;

    {
        const Phonon::EffectParameter::Hints* a0;
        int a0State = 0;

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

            return sipCpp;
        }
    }

    {
        int a0;

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

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::EffectParameter::Hints();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Phonon_EffectParameter_Hints(PyObject *, void **, int *, PyObject *);}
static int convertTo_Phonon_EffectParameter_Hints(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Phonon::EffectParameter::Hints **sipCppPtr = reinterpret_cast<Phonon::EffectParameter::Hints **>(sipCppPtrV);

#line 379 "/usr/share/python3-sip/PyQt4/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Phonon::EffectParameter::Hints is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Phonon_EffectParameter_Hint)) ||
            sipCanConvertToType(sipPy, sipType_Phonon_EffectParameter_Hints, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Phonon_EffectParameter_Hint)))
{
    *sipCppPtr = new Phonon::EffectParameter::Hints(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Phonon::EffectParameter::Hints *>(sipConvertToType(sipPy, sipType_Phonon_EffectParameter_Hints, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 3512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Phonon_EffectParameter_Hints[] = {
    {(void *)slot_Phonon_EffectParameter_Hints___bool__, bool_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___ne__, ne_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___eq__, eq_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___invert__, invert_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___and__, and_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___xor__, xor_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___or__, or_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___int__, int_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___ixor__, ixor_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___ior__, ior_slot},
    {(void *)slot_Phonon_EffectParameter_Hints___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_EffectParameter_Hints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Phonon__EffectParameter__Hints,
        {0}
    },
    {
        sipNameNr_Hints,
        {19, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Phonon_EffectParameter_Hints,
    init_type_Phonon_EffectParameter_Hints,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_EffectParameter_Hints,
    assign_Phonon_EffectParameter_Hints,
    array_Phonon_EffectParameter_Hints,
    copy_Phonon_EffectParameter_Hints,
    release_Phonon_EffectParameter_Hints,
    cast_Phonon_EffectParameter_Hints,
    convertTo_Phonon_EffectParameter_Hints,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/effectparameter.sip"
#include <phonon/effectparameter.h>
#line 3588 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"

#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3592 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/effectparameter.sip"
#include <phonon/effectparameter.h>
#line 3595 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3598 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3601 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3604 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"


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

    {
        const Phonon::EffectParameter *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QVariant_Type);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLogarithmicControl();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->minimumValue());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->maximumValue());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->defaultValue());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariantList(sipCpp->possibleValues());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->id();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *slot_Phonon_EffectParameter___ge__(PyObject *,PyObject *);}
static PyObject *slot_Phonon_EffectParameter___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectParameter *sipCpp = reinterpret_cast<Phonon::EffectParameter *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Phonon::EffectParameter* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_phonon,ge_slot,sipType_Phonon_EffectParameter,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Phonon_EffectParameter___le__(PyObject *,PyObject *);}
static PyObject *slot_Phonon_EffectParameter___le__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectParameter *sipCpp = reinterpret_cast<Phonon::EffectParameter *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Phonon::EffectParameter* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_phonon,le_slot,sipType_Phonon_EffectParameter,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Phonon_EffectParameter___ne__(PyObject *,PyObject *);}
static PyObject *slot_Phonon_EffectParameter___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectParameter *sipCpp = reinterpret_cast<Phonon::EffectParameter *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Phonon::EffectParameter* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_Phonon_EffectParameter___eq__(PyObject *,PyObject *);}
static PyObject *slot_Phonon_EffectParameter___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectParameter *sipCpp = reinterpret_cast<Phonon::EffectParameter *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Phonon::EffectParameter* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_Phonon_EffectParameter___gt__(PyObject *,PyObject *);}
static PyObject *slot_Phonon_EffectParameter___gt__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectParameter *sipCpp = reinterpret_cast<Phonon::EffectParameter *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Phonon::EffectParameter* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_phonon,gt_slot,sipType_Phonon_EffectParameter,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Phonon_EffectParameter___lt__(PyObject *,PyObject *);}
static PyObject *slot_Phonon_EffectParameter___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    Phonon::EffectParameter *sipCpp = reinterpret_cast<Phonon::EffectParameter *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Phonon_EffectParameter));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Phonon::EffectParameter* a0;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_phonon,lt_slot,sipType_Phonon_EffectParameter,sipSelf,sipArg);
}


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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *array_Phonon_EffectParameter(SIP_SSIZE_T);}
static void *array_Phonon_EffectParameter(SIP_SSIZE_T sipNrElem)
{
    return new Phonon::EffectParameter[sipNrElem];
}


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


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


extern "C" {static void *init_type_Phonon_EffectParameter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Phonon_EffectParameter(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Phonon::EffectParameter *sipCpp = 0;

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

            return sipCpp;
        }
    }

    {
        const Phonon::EffectParameter* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Phonon_EffectParameter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::EffectParameter(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        Phonon::EffectParameter::Hints* a2;
        int a2State = 0;
        const QVariant* a3;
        int a3State = 0;
        const QVariant& a4def = QVariant();
        const QVariant* a4 = &a4def;
        int a4State = 0;
        const QVariant& a5def = QVariant();
        const QVariant* a5 = &a5def;
        int a5State = 0;
        const QVariantList& a6def = QVariantList();
        const QVariantList* a6 = &a6def;
        int a6State = 0;
        const QString& a7def = QString();
        const QString* a7 = &a7def;
        int a7State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iJ1J1J1|J1J1J1J1", &a0, sipType_QString,&a1, &a1State, sipType_Phonon_EffectParameter_Hints, &a2, &a2State, sipType_QVariant,&a3, &a3State, sipType_QVariant,&a4, &a4State, sipType_QVariant,&a5, &a5State, sipType_QList_0100QVariant,&a6, &a6State, sipType_QString,&a7, &a7State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Phonon::EffectParameter(a0,*a1,*a2,*a3,*a4,*a5,*a6,*a7);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_Phonon_EffectParameter_Hints,a2State);
            sipReleaseType(const_cast<QVariant *>(a3),sipType_QVariant,a3State);
            sipReleaseType(const_cast<QVariant *>(a4),sipType_QVariant,a4State);
            sipReleaseType(const_cast<QVariant *>(a5),sipType_QVariant,a5State);
            sipReleaseType(const_cast<QVariantList *>(a6),sipType_QList_0100QVariant,a6State);
            sipReleaseType(const_cast<QString *>(a7),sipType_QString,a7State);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Phonon_EffectParameter[] = {
    {(void *)slot_Phonon_EffectParameter___ge__, ge_slot},
    {(void *)slot_Phonon_EffectParameter___le__, le_slot},
    {(void *)slot_Phonon_EffectParameter___ne__, ne_slot},
    {(void *)slot_Phonon_EffectParameter___eq__, eq_slot},
    {(void *)slot_Phonon_EffectParameter___gt__, gt_slot},
    {(void *)slot_Phonon_EffectParameter___lt__, lt_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_Phonon_EffectParameter[] = {
    {SIP_MLNAME_CAST(sipName_defaultValue), meth_Phonon_EffectParameter_defaultValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_Phonon_EffectParameter_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_id), meth_Phonon_EffectParameter_id, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLogarithmicControl), meth_Phonon_EffectParameter_isLogarithmicControl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumValue), meth_Phonon_EffectParameter_maximumValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumValue), meth_Phonon_EffectParameter_minimumValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Phonon_EffectParameter_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_possibleValues), meth_Phonon_EffectParameter_possibleValues, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Phonon_EffectParameter_type, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Phonon_EffectParameter[] = {
    {sipName_IntegerHint, static_cast<int>(Phonon::EffectParameter::IntegerHint), 20},
    {sipName_LogarithmicHint, static_cast<int>(Phonon::EffectParameter::LogarithmicHint), 20},
    {sipName_ToggledHint, static_cast<int>(Phonon::EffectParameter::ToggledHint), 20},
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_EffectParameter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Phonon__EffectParameter,
        {0}
    },
    {
        sipNameNr_EffectParameter,
        {0, 255, 0},
        9, methods_Phonon_EffectParameter,
        3, enummembers_Phonon_EffectParameter,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Phonon_EffectParameter,
    init_type_Phonon_EffectParameter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_EffectParameter,
    assign_Phonon_EffectParameter,
    array_Phonon_EffectParameter,
    copy_Phonon_EffectParameter,
    release_Phonon_EffectParameter,
    cast_Phonon_EffectParameter,
    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/phonon/effect.sip"
#include <phonon/effect.h>
#line 4265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"

#line 41 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/objectdescription.sip"
#include <phonon/objectdescription.h>
#line 4269 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4272 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/effectparameter.sip"
#include <phonon/effectparameter.h>
#line 4275 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4278 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4281 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4284 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/src/pykde4-4.14.3/sip/phonon/path.sip"
#include <phonon/path.h>
#line 4320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"


class sipPhonon_Effect : public Phonon::Effect
{
public:
    sipPhonon_Effect(const Phonon::EffectDescription&,QObject*);
    virtual ~sipPhonon_Effect();

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

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const char*);
    void connectNotify(const char*);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipPhonon_Effect::sipPhonon_Effect(const Phonon::EffectDescription& a0,QObject*a1): Phonon::Effect(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPhonon_Effect::metaObject() const
{
    return sip_phonon_qt_metaobject(sipPySelf,sipType_Phonon_Effect);
}

int sipPhonon_Effect::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Phonon::Effect::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_phonon_qt_metacall(sipPySelf,sipType_Phonon_Effect,_c,_id,_a);

    return _id;
}

void *sipPhonon_Effect::qt_metacast(const char *_clname)
{
    return (sip_phonon_qt_metacast(sipPySelf, sipType_Phonon_Effect, _clname)) ? this : Phonon::Effect::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if (!sipMeth)
        return Phonon::Effect::event(a0);

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

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


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

    {
        const Phonon::Effect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_Effect, &sipCpp))
        {
            Phonon::EffectDescription*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Phonon::EffectDescription(sipCpp->description());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::Effect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_Effect, &sipCpp))
        {
            QList<Phonon::EffectParameter>*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Phonon::EffectParameter>(sipCpp->parameters());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter* a0;
        const Phonon::Effect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Phonon_Effect, &sipCpp, sipType_Phonon_EffectParameter, &a0))
        {
            QVariant*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant(sipCpp->parameterValue(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::EffectParameter* a0;
        const QVariant* a1;
        int a1State = 0;
        Phonon::Effect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_Phonon_Effect, &sipCpp, sipType_Phonon_EffectParameter, &a0, sipType_QVariant,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setParameterValue(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Phonon_Effect)
        return ptr;

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

    if ((res = ((const sipClassTypeDef *)sipType_Phonon_MediaNode)->ctd_cast((Phonon::MediaNode *)(Phonon::Effect *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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

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


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

    {
        const Phonon::EffectDescription* a0;
        QObject* a1 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Phonon_Effect[] = {{141, 0, 0}, {29, 255, 1}};


static PyMethodDef methods_Phonon_Effect[] = {
    {SIP_MLNAME_CAST(sipName_description), meth_Phonon_Effect_description, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parameterValue), meth_Phonon_Effect_parameterValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parameters), meth_Phonon_Effect_parameters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setParameterValue), meth_Phonon_Effect_setParameterValue, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_Effect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Phonon__Effect,
        {0}
    },
    {
        sipNameNr_Effect,
        {0, 255, 0},
        4, methods_Phonon_Effect,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Phonon_Effect,
    0,
    init_type_Phonon_Effect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_Effect,
    0,
    0,
    0,
    release_Phonon_Effect,
    cast_Phonon_Effect,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Phonon::Effect::staticMetaObject,
    0,
    0
};


#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4761 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 355 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4764 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 338 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4767 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 4770 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 274 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4773 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 33 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4776 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 37 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4779 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4782 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 120 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 4785 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 4788 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 36 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 4791 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 35 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4794 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4797 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-2.x86_64/build/sip/phonon/sipphononpart5.cpp"


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

    if (targetType == sipType_Phonon_BackendCapabilities_Notifier)
        return ptr;

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

    return NULL;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


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


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


/* Define this type's signals. */
static const pyqt4QtSignal signals_Phonon_BackendCapabilities_Notifier[] = {
    {"availableAudioCaptureDevicesChanged()", 0, 0, 0},
    {"availableAudioOutputDevicesChanged()", 0, 0, 0},
    {"capabilitiesChanged()", 0, 0, 0},
    {0, 0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_BackendCapabilities_Notifier = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Phonon__BackendCapabilities__Notifier,
        {0}
    },
    {
        sipNameNr_Notifier,
        {10, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Phonon_BackendCapabilities_Notifier,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_BackendCapabilities_Notifier,
    0,
    0,
    0,
    release_Phonon_BackendCapabilities_Notifier,
    cast_Phonon_BackendCapabilities_Notifier,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    signals_Phonon_BackendCapabilities_Notifier,
};
