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

#include "sipAPIphonon.h"

#line 589 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"


extern "C" {static void assign_QPair_0100QByteArray_0100QString(void *, SIP_SSIZE_T, const void *);}
static void assign_QPair_0100QByteArray_0100QString(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QPair<QByteArray,QString> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QPair<QByteArray,QString> *>(sipSrc);
}


extern "C" {static void *array_QPair_0100QByteArray_0100QString(SIP_SSIZE_T);}
static void *array_QPair_0100QByteArray_0100QString(SIP_SSIZE_T sipNrElem)
{
    return new QPair<QByteArray,QString>[sipNrElem];
}


extern "C" {static void *copy_QPair_0100QByteArray_0100QString(const void *, SIP_SSIZE_T);}
static void *copy_QPair_0100QByteArray_0100QString(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QPair<QByteArray,QString>(reinterpret_cast<const QPair<QByteArray,QString> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QPair_0100QByteArray_0100QString(void *, int);}
static void release_QPair_0100QByteArray_0100QString(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QPair<QByteArray,QString> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QPair_0100QByteArray_0100QString(PyObject *, void **, int *, PyObject *);}
static int convertTo_QPair_0100QByteArray_0100QString(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QPair<QByteArray,QString> **sipCppPtr = reinterpret_cast<QPair<QByteArray,QString> **>(sipCppPtrV);

#line 619 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return (PyTuple_Size(sipPy) == 2);


    int state1, state2;

    PyObject *t1obj = PyTuple_GET_ITEM(sipPy, 0);
    PyObject *t2obj = PyTuple_GET_ITEM(sipPy, 1);
    
    QByteArray *t1 = reinterpret_cast<QByteArray *>(sipConvertToType(t1obj, sipType_QByteArray, sipTransferObj, SIP_NOT_NONE, &state1, sipIsErr));
    QString *t2 = reinterpret_cast<QString *>(sipConvertToType(t2obj, sipType_QString, sipTransferObj, SIP_NOT_NONE, &state2, sipIsErr));

    if (*sipIsErr)
    {
        sipReleaseType(t1, sipType_QByteArray, state1);
        sipReleaseType(t2, sipType_QString, state2);

        return 0;
    }

    QPair<QByteArray, QString> *qp = new QPair<QByteArray, QString>;
 
    qp->first  = *t1;
    qp->second = *t2;

    *sipCppPtr = qp;
 
    return sipGetState(sipTransferObj);
#line 92 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
}


extern "C" {static PyObject *convertFrom_QPair_0100QByteArray_0100QString(void *, PyObject *);}
static PyObject *convertFrom_QPair_0100QByteArray_0100QString(void *sipCppV, PyObject *sipTransferObj)
{
   QPair<QByteArray,QString> *sipCpp = reinterpret_cast<QPair<QByteArray,QString> *>(sipCppV);

#line 593 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/kdecore/typedefs.sip"
    // Create the tuple.
    QByteArray *t1 = new QByteArray(sipCpp->first);
    QString *t2 = new QString(sipCpp->second);
    
    PyObject *t1obj = sipConvertFromNewType(t1, sipType_QByteArray, sipTransferObj);
    PyObject *t2obj = sipConvertFromNewType(t2, sipType_QString, sipTransferObj);
    
    if (t1obj == NULL || t2obj == NULL)
    {   
        if (t1obj)
            Py_DECREF(t1obj);
        else
            delete t1;
    
        if (t2obj)
            Py_DECREF(t2obj);
        else
            delete t2;
    
        return NULL;
    }
       
    return Py_BuildValue((char *)"NN", t1obj, t2obj);
#line 125 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
}


sipMappedTypeDef sipTypeDef_phonon_QPair_0100QByteArray_0100QString = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1645,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QPair_0100QByteArray_0100QString,
    array_QPair_0100QByteArray_0100QString,
    copy_QPair_0100QByteArray_0100QString,
    release_QPair_0100QByteArray_0100QString,
    convertTo_QPair_0100QByteArray_0100QString,
    convertFrom_QPair_0100QByteArray_0100QString
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/volumeslider.sip"
#include <phonon/volumeslider.h>
#line 156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 160 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/audiooutput.sip"
#include <phonon/audiooutput.h>
#line 163 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 166 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 169 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 172 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 175 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 178 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 181 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 184 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 187 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 190 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 193 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 196 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 199 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 202 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 205 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 208 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 211 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 214 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 217 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 220 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 223 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 226 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 229 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 232 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 235 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 238 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 241 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 244 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 247 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 250 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 253 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 256 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 259 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 262 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 265 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 268 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 271 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 274 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 277 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 280 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 283 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 286 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 289 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 292 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 295 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 298 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 301 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 304 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 307 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 310 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 313 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 316 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 319 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 322 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 325 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 328 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 331 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 334 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 337 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 343 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 346 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 349 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"


class sipPhonon_VolumeSlider : public Phonon::VolumeSlider
{
public:
    sipPhonon_VolumeSlider(QWidget*);
    sipPhonon_VolumeSlider(Phonon::AudioOutput*,QWidget*);
    virtual ~sipPhonon_VolumeSlider();

    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_VolumeSlider(const sipPhonon_VolumeSlider &);
    sipPhonon_VolumeSlider &operator = (const sipPhonon_VolumeSlider &);

    char sipPyMethods[47];
};

sipPhonon_VolumeSlider::sipPhonon_VolumeSlider(QWidget*a0): Phonon::VolumeSlider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPhonon_VolumeSlider::sipPhonon_VolumeSlider(Phonon::AudioOutput*a0,QWidget*a1): Phonon::VolumeSlider(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPhonon_VolumeSlider::metaObject() const
{
    return sip_phonon_qt_metaobject(sipPySelf,sipType_Phonon_VolumeSlider);
}

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

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

    return _id;
}

void *sipPhonon_VolumeSlider::qt_metacast(const char *_clname)
{
    return (sip_phonon_qt_metacast(sipPySelf, sipType_Phonon_VolumeSlider, _clname)) ? this : Phonon::VolumeSlider::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VolumeSlider::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_VolumeSlider::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VolumeSlider::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_VolumeSlider::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::VolumeSlider::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_VolumeSlider::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::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::VolumeSlider::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_VolumeSlider::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VolumeSlider::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_VolumeSlider::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VolumeSlider::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_VolumeSlider::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::VolumeSlider::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_VolumeSlider::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VolumeSlider::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_VolumeSlider::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VolumeSlider::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_VolumeSlider::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeSlider::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_VolumeSlider::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VolumeSlider::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);
}


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

    {
        const Phonon::VolumeSlider *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasTracking();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTracking(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_VolumeSlider, sipName_setTracking, NULL);

    return NULL;
}


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

    {
        const Phonon::VolumeSlider *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->pageStep();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPageStep(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_VolumeSlider, sipName_setPageStep, NULL);

    return NULL;
}


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

    {
        const Phonon::VolumeSlider *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->singleStep();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSingleStep(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_VolumeSlider, sipName_setSingleStep, NULL);

    return NULL;
}


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

    {
        const Phonon::VolumeSlider *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isMuteVisible();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VolumeSlider *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QSize(sipCpp->iconSize());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maximumVolume();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp))
        {
            Qt::Orientation sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->orientation();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VolumeSlider *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->audioOutput();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        qreal a0;
        Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumVolume(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_VolumeSlider, sipName_setMaximumVolume, NULL);

    return NULL;
}


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

    {
        Qt::Orientation a0;
        Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setOrientation(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_VolumeSlider, sipName_setOrientation, NULL);

    return NULL;
}


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

    {
        bool a0;
        Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMuteVisible(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_VolumeSlider, sipName_setMuteVisible, NULL);

    return NULL;
}


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

    {
        const QSize* a0;
        Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp, sipType_QSize, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconSize(*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_VolumeSlider, sipName_setIconSize, NULL);

    return NULL;
}


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

    {
        Phonon::AudioOutput* a0;
        Phonon::VolumeSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Phonon_VolumeSlider, &sipCpp, sipType_Phonon_AudioOutput, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAudioOutput(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_VolumeSlider, sipName_setAudioOutput, NULL);

    return NULL;
}


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

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

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Phonon_VolumeSlider(void *, int);}
static void release_Phonon_VolumeSlider(void *sipCppV,int)
{
    Phonon::VolumeSlider *sipCpp = reinterpret_cast<Phonon::VolumeSlider *>(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_VolumeSlider(sipSimpleWrapper *);}
static void dealloc_Phonon_VolumeSlider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPhonon_VolumeSlider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Phonon_VolumeSlider[] = {
    {SIP_MLNAME_CAST(sipName_audioOutput), meth_Phonon_VolumeSlider_audioOutput, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasTracking), meth_Phonon_VolumeSlider_hasTracking, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_Phonon_VolumeSlider_iconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isMuteVisible), meth_Phonon_VolumeSlider_isMuteVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumVolume), meth_Phonon_VolumeSlider_maximumVolume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_orientation), meth_Phonon_VolumeSlider_orientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pageStep), meth_Phonon_VolumeSlider_pageStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAudioOutput), meth_Phonon_VolumeSlider_setAudioOutput, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_Phonon_VolumeSlider_setIconSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumVolume), meth_Phonon_VolumeSlider_setMaximumVolume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMuteVisible), meth_Phonon_VolumeSlider_setMuteVisible, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_Phonon_VolumeSlider_setOrientation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPageStep), meth_Phonon_VolumeSlider_setPageStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSingleStep), meth_Phonon_VolumeSlider_setSingleStep, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTracking), meth_Phonon_VolumeSlider_setTracking, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_singleStep), meth_Phonon_VolumeSlider_singleStep, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_VolumeSlider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Phonon__VolumeSlider,
        {0}
    },
    {
        sipNameNr_VolumeSlider,
        {0, 255, 0},
        16, methods_Phonon_VolumeSlider,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Phonon_VolumeSlider,
    0,
    init_type_Phonon_VolumeSlider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_VolumeSlider,
    0,
    0,
    0,
    release_Phonon_VolumeSlider,
    cast_Phonon_VolumeSlider,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Phonon::VolumeSlider::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/volumefadereffect.sip"
#include <phonon/volumefadereffect.h>
#line 1872 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/effectparameter.sip"
#include <phonon/effectparameter.h>
#line 1876 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1879 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1882 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 41 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/objectdescription.sip"
#include <phonon/objectdescription.h>
#line 1885 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1888 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1891 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1894 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 1897 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1900 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1903 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1906 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1909 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 1912 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 1915 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1918 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1921 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 1924 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/path.sip"
#include <phonon/path.h>
#line 1927 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"


class sipPhonon_VolumeFaderEffect : public Phonon::VolumeFaderEffect
{
public:
    sipPhonon_VolumeFaderEffect();
    virtual ~sipPhonon_VolumeFaderEffect();

    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_VolumeFaderEffect(const sipPhonon_VolumeFaderEffect &);
    sipPhonon_VolumeFaderEffect &operator = (const sipPhonon_VolumeFaderEffect &);

    char sipPyMethods[7];
};

sipPhonon_VolumeFaderEffect::sipPhonon_VolumeFaderEffect(): Phonon::VolumeFaderEffect(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPhonon_VolumeFaderEffect::metaObject() const
{
    return sip_phonon_qt_metaobject(sipPySelf,sipType_Phonon_VolumeFaderEffect);
}

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

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

    return _id;
}

void *sipPhonon_VolumeFaderEffect::qt_metacast(const char *_clname)
{
    return (sip_phonon_qt_metacast(sipPySelf, sipType_Phonon_VolumeFaderEffect, _clname)) ? this : Phonon::VolumeFaderEffect::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        Phonon::VolumeFaderEffect::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_VolumeFaderEffect::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeFaderEffect::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_VolumeFaderEffect::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeFaderEffect::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_VolumeFaderEffect::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeFaderEffect::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_VolumeFaderEffect::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VolumeFaderEffect::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_VolumeFaderEffect::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VolumeFaderEffect::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_VolumeFaderEffect::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VolumeFaderEffect::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_VolumeFaderEffect_volume(PyObject *, PyObject *);}
static PyObject *meth_Phonon_VolumeFaderEffect_volume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Phonon::VolumeFaderEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VolumeFaderEffect, &sipCpp))
        {
            float sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->volume();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble((double)sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VolumeFaderEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VolumeFaderEffect, &sipCpp))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->volumeDecibel();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VolumeFaderEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VolumeFaderEffect, &sipCpp))
        {
            Phonon::VolumeFaderEffect::FadeCurve sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fadeCurve();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Phonon_VolumeFaderEffect_FadeCurve);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Phonon::VolumeFaderEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Phonon_VolumeFaderEffect, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->fadeIn(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_VolumeFaderEffect, sipName_fadeIn, NULL);

    return NULL;
}


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

    {
        int a0;
        Phonon::VolumeFaderEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Phonon_VolumeFaderEffect, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->fadeOut(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_VolumeFaderEffect, sipName_fadeOut, NULL);

    return NULL;
}


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

    {
        float a0;
        Phonon::VolumeFaderEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bf", &sipSelf, sipType_Phonon_VolumeFaderEffect, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVolume(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_VolumeFaderEffect, sipName_setVolume, NULL);

    return NULL;
}


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

    {
        double a0;
        Phonon::VolumeFaderEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VolumeFaderEffect, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVolumeDecibel(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_VolumeFaderEffect, sipName_setVolumeDecibel, NULL);

    return NULL;
}


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

    {
        Phonon::VolumeFaderEffect::FadeCurve a0;
        Phonon::VolumeFaderEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Phonon_VolumeFaderEffect, &sipCpp, sipType_Phonon_VolumeFaderEffect_FadeCurve, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFadeCurve(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_VolumeFaderEffect, sipName_setFadeCurve, NULL);

    return NULL;
}


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

    {
        float a0;
        int a1;
        Phonon::VolumeFaderEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bfi", &sipSelf, sipType_Phonon_VolumeFaderEffect, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->fadeTo(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Phonon_MediaNode)
        return static_cast<Phonon::MediaNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Phonon_VolumeFaderEffect(void *, int);}
static void release_Phonon_VolumeFaderEffect(void *sipCppV,int)
{
    Phonon::VolumeFaderEffect *sipCpp = reinterpret_cast<Phonon::VolumeFaderEffect *>(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_VolumeFaderEffect(sipSimpleWrapper *);}
static void dealloc_Phonon_VolumeFaderEffect(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPhonon_VolumeFaderEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Phonon_VolumeFaderEffect[] = {
    {SIP_MLNAME_CAST(sipName_fadeCurve), meth_Phonon_VolumeFaderEffect_fadeCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fadeIn), meth_Phonon_VolumeFaderEffect_fadeIn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fadeOut), meth_Phonon_VolumeFaderEffect_fadeOut, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fadeTo), meth_Phonon_VolumeFaderEffect_fadeTo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFadeCurve), meth_Phonon_VolumeFaderEffect_setFadeCurve, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVolume), meth_Phonon_VolumeFaderEffect_setVolume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVolumeDecibel), meth_Phonon_VolumeFaderEffect_setVolumeDecibel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_volume), meth_Phonon_VolumeFaderEffect_volume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_volumeDecibel), meth_Phonon_VolumeFaderEffect_volumeDecibel, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Phonon_VolumeFaderEffect[] = {
    {sipName_Fade12Decibel, static_cast<int>(Phonon::VolumeFaderEffect::Fade12Decibel), 51},
    {sipName_Fade3Decibel, static_cast<int>(Phonon::VolumeFaderEffect::Fade3Decibel), 51},
    {sipName_Fade6Decibel, static_cast<int>(Phonon::VolumeFaderEffect::Fade6Decibel), 51},
    {sipName_Fade9Decibel, static_cast<int>(Phonon::VolumeFaderEffect::Fade9Decibel), 51},
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_VolumeFaderEffect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Phonon__VolumeFaderEffect,
        {0}
    },
    {
        sipNameNr_VolumeFaderEffect,
        {0, 255, 0},
        9, methods_Phonon_VolumeFaderEffect,
        4, enummembers_Phonon_VolumeFaderEffect,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Phonon_VolumeFaderEffect,
    0,
    init_type_Phonon_VolumeFaderEffect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_VolumeFaderEffect,
    0,
    0,
    0,
    release_Phonon_VolumeFaderEffect,
    cast_Phonon_VolumeFaderEffect,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Phonon::VolumeFaderEffect::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/videowidgetinterface.sip"
#include <phonon/videowidgetinterface.h>
#line 2502 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/videowidget.sip"
#include <phonon/videowidget.h>
#include <phonon/abstractvideooutput.h>
#line 2510 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"


class sipPhonon_VideoWidgetInterface : public Phonon::VideoWidgetInterface
{
public:
    sipPhonon_VideoWidgetInterface();
    sipPhonon_VideoWidgetInterface(const Phonon::VideoWidgetInterface&);
    virtual ~sipPhonon_VideoWidgetInterface();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QWidget* widget();
    void setSaturation(qreal);
    qreal saturation() const;
    void setHue(qreal);
    qreal hue() const;
    void setContrast(qreal);
    qreal contrast() const;
    void setScaleMode(Phonon::VideoWidget::ScaleMode);
    Phonon::VideoWidget::ScaleMode scaleMode() const;
    void setBrightness(qreal);
    qreal brightness() const;
    void setAspectRatio(Phonon::VideoWidget::AspectRatio);
    Phonon::VideoWidget::AspectRatio aspectRatio() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[13];
};

sipPhonon_VideoWidgetInterface::sipPhonon_VideoWidgetInterface(): Phonon::VideoWidgetInterface(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPhonon_VideoWidgetInterface::sipPhonon_VideoWidgetInterface(const Phonon::VideoWidgetInterface& a0): Phonon::VideoWidgetInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

QWidget* sipPhonon_VideoWidgetInterface::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_VideoWidgetInterface,sipName_widget);

    if (!sipMeth)
        return 0;

    typedef QWidget* (*sipVH_QtGui_106)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipPhonon_VideoWidgetInterface::setSaturation(qreal a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_VideoWidgetInterface,sipName_setSaturation);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtGui_205)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double);

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

qreal sipPhonon_VideoWidgetInterface::saturation() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern double sipVH_phonon_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipPhonon_VideoWidgetInterface::setHue(qreal a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_VideoWidgetInterface,sipName_setHue);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtGui_205)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double);

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

qreal sipPhonon_VideoWidgetInterface::hue() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern double sipVH_phonon_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipPhonon_VideoWidgetInterface::setContrast(qreal a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_VideoWidgetInterface,sipName_setContrast);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtGui_205)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double);

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

qreal sipPhonon_VideoWidgetInterface::contrast() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern double sipVH_phonon_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipPhonon_VideoWidgetInterface::setScaleMode(Phonon::VideoWidget::ScaleMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_VideoWidgetInterface,sipName_setScaleMode);

    if (!sipMeth)
        return;

    extern void sipVH_phonon_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Phonon::VideoWidget::ScaleMode);

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

Phonon::VideoWidget::ScaleMode sipPhonon_VideoWidgetInterface::scaleMode() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return (Phonon::VideoWidget::ScaleMode)0;

    extern Phonon::VideoWidget::ScaleMode sipVH_phonon_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipPhonon_VideoWidgetInterface::setBrightness(qreal a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_VideoWidgetInterface,sipName_setBrightness);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtGui_205)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double);

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

qreal sipPhonon_VideoWidgetInterface::brightness() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_VideoWidgetInterface,sipName_brightness);

    if (!sipMeth)
        return 0;

    extern double sipVH_phonon_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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

void sipPhonon_VideoWidgetInterface::setAspectRatio(Phonon::VideoWidget::AspectRatio a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_VideoWidgetInterface,sipName_setAspectRatio);

    if (!sipMeth)
        return;

    extern void sipVH_phonon_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Phonon::VideoWidget::AspectRatio);

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

Phonon::VideoWidget::AspectRatio sipPhonon_VideoWidgetInterface::aspectRatio() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return (Phonon::VideoWidget::AspectRatio)0;

    extern Phonon::VideoWidget::AspectRatio sipVH_phonon_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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


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

    {
        const Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp))
        {
            Phonon::VideoWidget::AspectRatio sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_aspectRatio);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->aspectRatio();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Phonon_VideoWidget_AspectRatio);
        }
    }

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

    return NULL;
}


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

    {
        Phonon::VideoWidget::AspectRatio a0;
        Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp, sipType_Phonon_VideoWidget_AspectRatio, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_setAspectRatio);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAspectRatio(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_VideoWidgetInterface, sipName_setAspectRatio, NULL);

    return NULL;
}


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

    {
        const Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp))
        {
            qreal sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_brightness);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->brightness();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_setBrightness);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBrightness(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_VideoWidgetInterface, sipName_setBrightness, NULL);

    return NULL;
}


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

    {
        const Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp))
        {
            Phonon::VideoWidget::ScaleMode sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_scaleMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->scaleMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Phonon_VideoWidget_ScaleMode);
        }
    }

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

    return NULL;
}


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

    {
        Phonon::VideoWidget::ScaleMode a0;
        Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp, sipType_Phonon_VideoWidget_ScaleMode, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_setScaleMode);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScaleMode(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_VideoWidgetInterface, sipName_setScaleMode, NULL);

    return NULL;
}


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

    {
        const Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp))
        {
            qreal sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_contrast);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contrast();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_setContrast);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContrast(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_VideoWidgetInterface, sipName_setContrast, NULL);

    return NULL;
}


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

    {
        const Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp))
        {
            qreal sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_hue);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hue();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_setHue);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp))
        {
            qreal sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_saturation);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->saturation();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        Phonon::VideoWidgetInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VideoWidgetInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_setSaturation);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSaturation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::VideoWidgetInterface *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_VideoWidgetInterface, sipName_widget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->widget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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

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


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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const Phonon::VideoWidgetInterface* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Phonon_VideoWidgetInterface[] = {
    {SIP_MLNAME_CAST(sipName_aspectRatio), meth_Phonon_VideoWidgetInterface_aspectRatio, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_brightness), meth_Phonon_VideoWidgetInterface_brightness, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contrast), meth_Phonon_VideoWidgetInterface_contrast, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hue), meth_Phonon_VideoWidgetInterface_hue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saturation), meth_Phonon_VideoWidgetInterface_saturation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scaleMode), meth_Phonon_VideoWidgetInterface_scaleMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAspectRatio), meth_Phonon_VideoWidgetInterface_setAspectRatio, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBrightness), meth_Phonon_VideoWidgetInterface_setBrightness, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContrast), meth_Phonon_VideoWidgetInterface_setContrast, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHue), meth_Phonon_VideoWidgetInterface_setHue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSaturation), meth_Phonon_VideoWidgetInterface_setSaturation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScaleMode), meth_Phonon_VideoWidgetInterface_setScaleMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_Phonon_VideoWidgetInterface_widget, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_VideoWidgetInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_Phonon__VideoWidgetInterface,
        {0}
    },
    {
        sipNameNr_VideoWidgetInterface,
        {0, 255, 0},
        13, methods_Phonon_VideoWidgetInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_Phonon_VideoWidgetInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_VideoWidgetInterface,
    0,
    0,
    0,
    release_Phonon_VideoWidgetInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/videowidget.sip"
#include <phonon/videowidget.h>
#include <phonon/abstractvideooutput.h>
#line 3340 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3344 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qimage.sip"
#include <qimage.h>
#line 3347 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3350 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3353 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3356 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 3359 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3362 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3365 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 3368 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 3371 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 3374 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3377 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 3380 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3383 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 3386 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 3389 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 3392 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3395 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 3398 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 3401 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 3404 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 3407 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 3410 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3413 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 3416 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 3419 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3422 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3425 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3428 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3431 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3434 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3437 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3440 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3443 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3446 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3449 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3452 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3455 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3458 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3461 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3464 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3467 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 3470 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 3473 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 3476 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 3479 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3482 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 3485 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 3488 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 3491 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3494 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3497 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 3500 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 3503 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 3506 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 3509 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3512 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 3515 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 3518 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3521 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3524 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 3527 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3530 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3533 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 3536 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/path.sip"
#include <phonon/path.h>
#line 3539 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"


class sipPhonon_VideoWidget : public Phonon::VideoWidget
{
public:
    sipPhonon_VideoWidget(QWidget*);
    virtual ~sipPhonon_VideoWidget();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[48];
};

sipPhonon_VideoWidget::sipPhonon_VideoWidget(QWidget*a0): Phonon::VideoWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPhonon_VideoWidget::metaObject() const
{
    return sip_phonon_qt_metaobject(sipPySelf,sipType_Phonon_VideoWidget);
}

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

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

    return _id;
}

void *sipPhonon_VideoWidget::qt_metacast(const char *_clname)
{
    return (sip_phonon_qt_metacast(sipPySelf, sipType_Phonon_VideoWidget, _clname)) ? this : Phonon::VideoWidget::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoWidget::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_VideoWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoWidget::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);
}

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

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoWidget::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_VideoWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoWidget::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_VideoWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoWidget::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_VideoWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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);
}

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

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

    if (!sipMeth)
        return Phonon::VideoWidget::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_VideoWidget::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::VideoWidget::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_VideoWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoWidget::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_VideoWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoWidget::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_VideoWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoWidget::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_VideoWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoWidget::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);
}


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

    {
        const Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp))
        {
            Phonon::VideoWidget::AspectRatio sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->aspectRatio();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Phonon_VideoWidget_AspectRatio);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp))
        {
            Phonon::VideoWidget::ScaleMode sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->scaleMode();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Phonon_VideoWidget_ScaleMode);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->brightness();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contrast();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hue();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp))
        {
            qreal sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->saturation();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setFullScreen(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_VideoWidget, sipName_setFullScreen, NULL);

    return NULL;
}


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

    {
        Phonon::VideoWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::VideoWidget *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::VideoWidget::AspectRatio a0;
        Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp, sipType_Phonon_VideoWidget_AspectRatio, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAspectRatio(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_VideoWidget, sipName_setAspectRatio, NULL);

    return NULL;
}


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

    {
        Phonon::VideoWidget::ScaleMode a0;
        Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp, sipType_Phonon_VideoWidget_ScaleMode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setScaleMode(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_VideoWidget, sipName_setScaleMode, NULL);

    return NULL;
}


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

    {
        qreal a0;
        Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBrightness(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_VideoWidget, sipName_setBrightness, NULL);

    return NULL;
}


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

    {
        qreal a0;
        Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContrast(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_VideoWidget, sipName_setContrast, NULL);

    return NULL;
}


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

    {
        qreal a0;
        Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qreal a0;
        Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSaturation(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent* a0;
        Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Phonon::VideoWidget::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent* a0;
        Phonon::VideoWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Phonon_VideoWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Phonon::VideoWidget::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoWidget *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QImage(sipCpp->snapshot());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

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

    if (targetType == sipType_Phonon_AbstractVideoOutput)
        return static_cast<Phonon::AbstractVideoOutput *>(sipCpp);

    if (targetType == sipType_Phonon_MediaNode)
        return static_cast<Phonon::MediaNode *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Phonon_VideoWidget(void *, int);}
static void release_Phonon_VideoWidget(void *sipCppV,int)
{
    Phonon::VideoWidget *sipCpp = reinterpret_cast<Phonon::VideoWidget *>(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_VideoWidget(sipSimpleWrapper *);}
static void dealloc_Phonon_VideoWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPhonon_VideoWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
        QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Phonon_VideoWidget[] = {
    {SIP_MLNAME_CAST(sipName_aspectRatio), meth_Phonon_VideoWidget_aspectRatio, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_brightness), meth_Phonon_VideoWidget_brightness, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contrast), meth_Phonon_VideoWidget_contrast, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterFullScreen), meth_Phonon_VideoWidget_enterFullScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Phonon_VideoWidget_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_exitFullScreen), meth_Phonon_VideoWidget_exitFullScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hue), meth_Phonon_VideoWidget_hue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Phonon_VideoWidget_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_saturation), meth_Phonon_VideoWidget_saturation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scaleMode), meth_Phonon_VideoWidget_scaleMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAspectRatio), meth_Phonon_VideoWidget_setAspectRatio, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBrightness), meth_Phonon_VideoWidget_setBrightness, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setContrast), meth_Phonon_VideoWidget_setContrast, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setFullScreen), meth_Phonon_VideoWidget_setFullScreen, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHue), meth_Phonon_VideoWidget_setHue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSaturation), meth_Phonon_VideoWidget_setSaturation, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setScaleMode), meth_Phonon_VideoWidget_setScaleMode, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_snapshot), meth_Phonon_VideoWidget_snapshot, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Phonon_VideoWidget[] = {
    {sipName_AspectRatio16_9, static_cast<int>(Phonon::VideoWidget::AspectRatio16_9), 47},
    {sipName_AspectRatio4_3, static_cast<int>(Phonon::VideoWidget::AspectRatio4_3), 47},
    {sipName_AspectRatioAuto, static_cast<int>(Phonon::VideoWidget::AspectRatioAuto), 47},
    {sipName_AspectRatioWidget, static_cast<int>(Phonon::VideoWidget::AspectRatioWidget), 47},
    {sipName_FitInView, static_cast<int>(Phonon::VideoWidget::FitInView), 48},
    {sipName_ScaleAndCrop, static_cast<int>(Phonon::VideoWidget::ScaleAndCrop), 48},
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_VideoWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Phonon__VideoWidget,
        {0}
    },
    {
        sipNameNr_VideoWidget,
        {0, 255, 0},
        18, methods_Phonon_VideoWidget,
        6, enummembers_Phonon_VideoWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Phonon_VideoWidget,
    0,
    init_type_Phonon_VideoWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_VideoWidget,
    0,
    0,
    0,
    release_Phonon_VideoWidget,
    cast_Phonon_VideoWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Phonon::VideoWidget::staticMetaObject,
    0,
    0
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/videoplayer.sip"
#include <phonon/videoplayer.h>
#line 5112 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"

#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5116 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5119 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/mediasource.sip"
#include <phonon/mediasource.h>
#line 5122 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/videowidget.sip"
#include <phonon/videowidget.h>
#include <phonon/abstractvideooutput.h>
#line 5126 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/audiooutput.sip"
#include <phonon/audiooutput.h>
#line 5129 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/mediaobject.sip"
#include <phonon/mediaobject.h>
#line 5132 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5135 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtCore/qmargins.sip"
#include <qmargins.h>
#line 5138 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5141 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5144 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 5147 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 5150 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 5153 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qlocale.sip"
#include <qlocale.h>
#line 5156 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 5159 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5162 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qregion.sip"
#include <qregion.h>
#line 5165 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5168 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpainter.sip"
#include <qpainter.h>
#line 5171 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5174 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qsize.sip"
#include <qsize.h>
#line 5177 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qrect.sip"
#include <qrect.h>
#line 5180 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 5183 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 5186 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qfont.sip"
#include <qfont.h>
#line 5189 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5192 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qpalette.sip"
#include <qpalette.h>
#line 5195 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5198 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 651 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5201 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 611 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5204 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 600 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5207 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 743 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5210 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 796 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5213 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 769 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5216 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 785 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5219 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 858 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5222 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 407 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5225 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 622 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5228 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 578 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5231 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 565 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5234 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 552 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5237 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 528 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5240 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 509 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5243 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 478 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5246 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5249 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 256 "/usr/share/python3-sip/PyQt4/QtGui/qevent.sip"
#include <qevent.h>
#line 5252 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 5255 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 56 "/usr/share/python3-sip/PyQt4/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 5258 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 34 "/usr/share/python3-sip/PyQt4/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 5261 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5264 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qaction.sip"
#include <qaction.h>
#line 5267 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtGui/qlayout.sip"
#include <qlayout.h>
#line 5270 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 5273 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5276 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5279 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qcursor.sip"
#include <qcursor.h>
#line 5282 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qicon.sip"
#include <qicon.h>
#line 5285 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 5288 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtGui/qstyle.sip"
#include <qstyle.h>
#line 5291 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5294 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5297 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 5300 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5303 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 5306 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 5309 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5312 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5315 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"


class sipPhonon_VideoPlayer : public Phonon::VideoPlayer
{
public:
    sipPhonon_VideoPlayer(Phonon::Category,QWidget*);
    sipPhonon_VideoPlayer(QWidget*);
    virtual ~sipPhonon_VideoPlayer();

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[48];
};

sipPhonon_VideoPlayer::sipPhonon_VideoPlayer(Phonon::Category a0,QWidget*a1): Phonon::VideoPlayer(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipPhonon_VideoPlayer::sipPhonon_VideoPlayer(QWidget*a0): Phonon::VideoPlayer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipPhonon_VideoPlayer::metaObject() const
{
    return sip_phonon_qt_metaobject(sipPySelf,sipType_Phonon_VideoPlayer);
}

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

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

    return _id;
}

void *sipPhonon_VideoPlayer::qt_metacast(const char *_clname)
{
    return (sip_phonon_qt_metacast(sipPySelf, sipType_Phonon_VideoPlayer, _clname)) ? this : Phonon::VideoPlayer::qt_metacast(_clname);
}

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

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::connectNotify(const char*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoPlayer::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_VideoPlayer::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoPlayer::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);
}

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

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoPlayer::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_VideoPlayer::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoPlayer::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_VideoPlayer::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoPlayer::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_VideoPlayer::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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);
}

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

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

    if (!sipMeth)
        return Phonon::VideoPlayer::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_VideoPlayer::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::VideoPlayer::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_VideoPlayer::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoPlayer::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_VideoPlayer::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoPlayer::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_VideoPlayer::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        Phonon::VideoPlayer::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_VideoPlayer::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return Phonon::VideoPlayer::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);
}


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

    {
        const Phonon::VideoPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoPlayer, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->totalTime();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoPlayer, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentTime();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_VideoPlayer, &sipCpp))
        {
            float sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->volume();
            Py_END_ALLOW_THREADS

            return PyFloat_FromDouble((double)sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoPlayer *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPlaying();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoPlayer *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPaused();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const Phonon::VideoPlayer *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->mediaObject();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::VideoPlayer *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->audioOutput();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::VideoPlayer *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->videoWidget();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const Phonon::MediaSource* a0;
        Phonon::VideoPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Phonon_VideoPlayer, &sipCpp, sipType_Phonon_MediaSource, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->load(*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_VideoPlayer, sipName_load, NULL);

    return NULL;
}


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

    {
        const Phonon::MediaSource* a0;
        Phonon::VideoPlayer *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Phonon::VideoPlayer *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::VideoPlayer *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::VideoPlayer *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        Phonon::VideoPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_Phonon_VideoPlayer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->seek(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_VideoPlayer, sipName_seek, NULL);

    return NULL;
}


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

    {
        float a0;
        Phonon::VideoPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bf", &sipSelf, sipType_Phonon_VideoPlayer, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setVolume(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_VideoPlayer, sipName_setVolume, NULL);

    return NULL;
}


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

    {
        QEvent* a0;
        Phonon::VideoPlayer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_Phonon_VideoPlayer, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Phonon::VideoPlayer::event(a0) : sipCpp->event(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

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

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Phonon_VideoPlayer(void *, int);}
static void release_Phonon_VideoPlayer(void *sipCppV,int)
{
    Phonon::VideoPlayer *sipCpp = reinterpret_cast<Phonon::VideoPlayer *>(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_VideoPlayer(sipSimpleWrapper *);}
static void dealloc_Phonon_VideoPlayer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipPhonon_VideoPlayer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_Phonon_VideoPlayer[] = {
    {SIP_MLNAME_CAST(sipName_audioOutput), meth_Phonon_VideoPlayer_audioOutput, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentTime), meth_Phonon_VideoPlayer_currentTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Phonon_VideoPlayer_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPaused), meth_Phonon_VideoPlayer_isPaused, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPlaying), meth_Phonon_VideoPlayer_isPlaying, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_Phonon_VideoPlayer_load, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mediaObject), meth_Phonon_VideoPlayer_mediaObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_pause), meth_Phonon_VideoPlayer_pause, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_play), meth_Phonon_VideoPlayer_play, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_seek), meth_Phonon_VideoPlayer_seek, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVolume), meth_Phonon_VideoPlayer_setVolume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_Phonon_VideoPlayer_stop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_totalTime), meth_Phonon_VideoPlayer_totalTime, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_videoWidget), meth_Phonon_VideoPlayer_videoWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_volume), meth_Phonon_VideoPlayer_volume, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_VideoPlayer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Phonon__VideoPlayer,
        {0}
    },
    {
        sipNameNr_VideoPlayer,
        {0, 255, 0},
        15, methods_Phonon_VideoPlayer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Phonon_VideoPlayer,
    0,
    init_type_Phonon_VideoPlayer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_VideoPlayer,
    0,
    0,
    0,
    release_Phonon_VideoPlayer,
    cast_Phonon_VideoPlayer,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Phonon::VideoPlayer::staticMetaObject,
    0,
    signals_Phonon_VideoPlayer,
};

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/streaminterface.sip"
#include <phonon/streaminterface.h>
#line 6831 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"

#line 27 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/phonon/mediasource.sip"
#include <phonon/mediasource.h>
#line 6835 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 6838 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/phonon/sipphononpart2.cpp"


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

    {
        const QByteArray* a0;
        int a0State = 0;
        Phonon::StreamInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Phonon_StreamInterface, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_StreamInterface, sipName_writeData);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->writeData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::StreamInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Phonon_StreamInterface, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_StreamInterface, sipName_endOfData);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->endOfData();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        Phonon::StreamInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_Phonon_StreamInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_StreamInterface, sipName_setStreamSize);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStreamSize(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_StreamInterface, sipName_setStreamSize, NULL);

    return NULL;
}


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

    {
        bool a0;
        Phonon::StreamInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Phonon_StreamInterface, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_StreamInterface, sipName_setStreamSeekable);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setStreamSeekable(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_StreamInterface, sipName_setStreamSeekable, NULL);

    return NULL;
}


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

    {
        const Phonon::MediaSource* a0;
        Phonon::StreamInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Phonon_StreamInterface, &sipCpp, sipType_Phonon_MediaSource, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->connectToSource(*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_StreamInterface, sipName_connectToSource, NULL);

    return NULL;
}


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

    {
        Phonon::StreamInterface *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Phonon::StreamInterface *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        qint64 a0;
        Phonon::StreamInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_Phonon_StreamInterface, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->seekStream(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_StreamInterface, sipName_seekStream, NULL);

    return NULL;
}


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

    {
        Phonon::StreamInterface *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


static PyMethodDef methods_Phonon_StreamInterface[] = {
    {SIP_MLNAME_CAST(sipName_connectToSource), meth_Phonon_StreamInterface_connectToSource, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endOfData), meth_Phonon_StreamInterface_endOfData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enoughData), meth_Phonon_StreamInterface_enoughData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_needData), meth_Phonon_StreamInterface_needData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_Phonon_StreamInterface_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_seekStream), meth_Phonon_StreamInterface_seekStream, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStreamSeekable), meth_Phonon_StreamInterface_setStreamSeekable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setStreamSize), meth_Phonon_StreamInterface_setStreamSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), meth_Phonon_StreamInterface_writeData, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_phonon_Phonon_StreamInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_Phonon__StreamInterface,
        {0}
    },
    {
        sipNameNr_StreamInterface,
        {0, 255, 0},
        9, methods_Phonon_StreamInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Phonon_StreamInterface,
    0,
    0,
    0,
    release_Phonon_StreamInterface,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
