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

#include "sipAPIsolid.h"

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/genericinterface.sip"
#include <genericinterface.h>
#line 12 "sipsolidpart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "sipsolidpart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 154 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 24 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 27 "sipsolidpart4.cpp"
#line 54 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 30 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33 "sipsolidpart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36 "sipsolidpart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 39 "sipsolidpart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 70 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 73 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 76 "sipsolidpart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 79 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 82 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 85 "sipsolidpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 91 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 94 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 97 "sipsolidpart4.cpp"


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Solid::DeviceInterface::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Solid::GenericInterface::deviceInterfaceType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_DeviceInterface_Type);
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Solid::GenericInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Solid_GenericInterface,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QVariant *sipRes;

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        Solid::GenericInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Solid_GenericInterface,&sipCpp))
        {
            QMap<QString,QVariant> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QMap<QString,QVariant>(sipCpp->allProperties());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Solid::GenericInterface *sipCpp;

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

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Solid_GenericInterface)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Solid_DeviceInterface)->ctd_cast((Solid::DeviceInterface *)(Solid::GenericInterface *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<Solid::GenericInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedClassDef supers_Solid_GenericInterface[] = {{18, 255, 1}};


static PyMethodDef methods_Solid_GenericInterface[] = {
    {SIP_MLNAME_CAST(sipName_allProperties), meth_Solid_GenericInterface_allProperties, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceInterfaceType), meth_Solid_GenericInterface_deviceInterfaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_property), meth_Solid_GenericInterface_property, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyExists), meth_Solid_GenericInterface_propertyExists, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Solid_GenericInterface[] = {
    {sipName_PropertyAdded, Solid::GenericInterface::PropertyAdded, 25},
    {sipName_PropertyModified, Solid::GenericInterface::PropertyModified, 25},
    {sipName_PropertyRemoved, Solid::GenericInterface::PropertyRemoved, 25},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Solid_GenericInterface[] = {
    {"conditionRaised(const QString&,const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_solid_Solid_GenericInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__GenericInterface,
        {0}
    },
    sipNameNr_GenericInterface,
    -1,
    -1,
    {3, 255, 0},
    supers_Solid_GenericInterface,
    0,
    4, methods_Solid_GenericInterface,
    3, enummembers_Solid_GenericInterface,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_GenericInterface,
    release_Solid_GenericInterface,
    cast_Solid_GenericInterface,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Solid::GenericInterface::staticMetaObject,
    0,
    pyqt4_signals_Solid_GenericInterface
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/dvbinterface.sip"
#include <dvbinterface.h>
#line 327 "sipsolidpart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 331 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 334 "sipsolidpart4.cpp"
#line 54 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 337 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 340 "sipsolidpart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 343 "sipsolidpart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 346 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 349 "sipsolidpart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 380 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 383 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 386 "sipsolidpart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 389 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 392 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 395 "sipsolidpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 398 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 401 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 404 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 407 "sipsolidpart4.cpp"


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Solid::DeviceInterface::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Solid::DvbInterface::deviceInterfaceType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_DeviceInterface_Type);
        }
    }

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

    return NULL;
}


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

    {
        Solid::DvbInterface *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::DvbInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->deviceAdapter();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Solid::DvbInterface *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Solid_DvbInterface,&sipCpp))
        {
            Solid::DvbInterface::DeviceType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->deviceType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_DvbInterface_DeviceType);
        }
    }

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

    return NULL;
}


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

    {
        Solid::DvbInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->deviceIndex();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Solid_DvbInterface)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Solid_DeviceInterface)->ctd_cast((Solid::DeviceInterface *)(Solid::DvbInterface *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<Solid::DvbInterface *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedClassDef supers_Solid_DvbInterface[] = {{18, 255, 1}};


static PyMethodDef methods_Solid_DvbInterface[] = {
    {SIP_MLNAME_CAST(sipName_device), meth_Solid_DvbInterface_device, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceAdapter), meth_Solid_DvbInterface_deviceAdapter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceIndex), meth_Solid_DvbInterface_deviceIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceInterfaceType), meth_Solid_DvbInterface_deviceInterfaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceType), meth_Solid_DvbInterface_deviceType, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Solid_DvbInterface[] = {
    {sipName_DvbAudio, Solid::DvbInterface::DvbAudio, 22},
    {sipName_DvbCa, Solid::DvbInterface::DvbCa, 22},
    {sipName_DvbDemux, Solid::DvbInterface::DvbDemux, 22},
    {sipName_DvbDvr, Solid::DvbInterface::DvbDvr, 22},
    {sipName_DvbFrontend, Solid::DvbInterface::DvbFrontend, 22},
    {sipName_DvbNet, Solid::DvbInterface::DvbNet, 22},
    {sipName_DvbOsd, Solid::DvbInterface::DvbOsd, 22},
    {sipName_DvbSec, Solid::DvbInterface::DvbSec, 22},
    {sipName_DvbUnknown, Solid::DvbInterface::DvbUnknown, 22},
    {sipName_DvbVideo, Solid::DvbInterface::DvbVideo, 22},
};


pyqt4ClassTypeDef pyqt4Type_solid_Solid_DvbInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__DvbInterface,
        {0}
    },
    sipNameNr_DvbInterface,
    -1,
    -1,
    {3, 255, 0},
    supers_Solid_DvbInterface,
    0,
    5, methods_Solid_DvbInterface,
    10, enummembers_Solid_DvbInterface,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_DvbInterface,
    release_Solid_DvbInterface,
    cast_Solid_DvbInterface,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Solid::DvbInterface::staticMetaObject,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/devicenotifier.sip"
#include <devicenotifier.h>
#line 654 "sipsolidpart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 658 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 661 "sipsolidpart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 664 "sipsolidpart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 667 "sipsolidpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 670 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 673 "sipsolidpart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 704 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 707 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 710 "sipsolidpart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 713 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 716 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 719 "sipsolidpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 722 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 725 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 728 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 731 "sipsolidpart4.cpp"


class sipSolid_DeviceNotifier : public Solid::DeviceNotifier
{
public:
    sipSolid_DeviceNotifier();
    virtual ~sipSolid_DeviceNotifier();

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

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

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipSolid_DeviceNotifier::sipSolid_DeviceNotifier(): Solid::DeviceNotifier(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipSolid_DeviceNotifier::metaObject() const
{
    return sip_solid_qt_metaobject(sipPySelf,sipType_Solid_DeviceNotifier);
}

int sipSolid_DeviceNotifier::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Solid::DeviceNotifier::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_solid_qt_metacall(sipPySelf,sipType_Solid_DeviceNotifier,_c,_id,_a);

    return _id;
}

void *sipSolid_DeviceNotifier::qt_metacast(const char *_clname)
{
    return (sip_solid_qt_metacast && sip_solid_qt_metacast(sipPySelf,sipType_Solid_DeviceNotifier,_clname)) ? this : Solid::DeviceNotifier::qt_metacast(_clname);
}

bool sipSolid_DeviceNotifier::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_13)(sipModuleAPI_solid_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipSolid_DeviceNotifier::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_solid_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipSolid_DeviceNotifier::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_solid_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipSolid_DeviceNotifier::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_solid_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipSolid_DeviceNotifier::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_solid_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipSolid_DeviceNotifier::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_solid_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipSolid_DeviceNotifier::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_solid_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

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

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

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

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

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

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


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

    {
        char * a0;
        sipSolid_DeviceNotifier *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Solid_DeviceNotifier,&sipCpp,&a0))
        {
            int sipRes = 0;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Solid_DeviceNotifier_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Solid_DeviceNotifier_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipSolid_DeviceNotifier *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Solid_DeviceNotifier,&sipCpp,sipType_QTimerEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Solid_DeviceNotifier_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Solid_DeviceNotifier_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipSolid_DeviceNotifier *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Solid_DeviceNotifier,&sipCpp,sipType_QChildEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Solid_DeviceNotifier_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Solid_DeviceNotifier_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipSolid_DeviceNotifier *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_Solid_DeviceNotifier,&sipCpp,sipType_QEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Solid_DeviceNotifier_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Solid_DeviceNotifier_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSolid_DeviceNotifier *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Solid_DeviceNotifier,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Solid_DeviceNotifier_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Solid_DeviceNotifier_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipSolid_DeviceNotifier *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_Solid_DeviceNotifier,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Solid::DeviceNotifier *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Solid::DeviceNotifier::instance();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    if (targetType == sipType_Solid_DeviceNotifier)
        return ptr;

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

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipSolid_DeviceNotifier *>(sipCppV);
    else
        delete reinterpret_cast<Solid::DeviceNotifier *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


extern "C" {static void *init_Solid_DeviceNotifier(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Solid_DeviceNotifier(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipSolid_DeviceNotifier *sipCpp = 0;

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

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_Solid_DeviceNotifier[] = {{111, 0, 1}};


static PyMethodDef methods_Solid_DeviceNotifier[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Solid_DeviceNotifier_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Solid_DeviceNotifier_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Solid_DeviceNotifier_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Solid_DeviceNotifier_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_instance), meth_Solid_DeviceNotifier_instance, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Solid_DeviceNotifier_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Solid_DeviceNotifier_timerEvent, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Solid_DeviceNotifier[] = {
    {"deviceRemoved(const QString&)", 0},
    {"deviceAdded(const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_solid_Solid_DeviceNotifier = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__DeviceNotifier,
        {0}
    },
    sipNameNr_DeviceNotifier,
    -1,
    -1,
    {3, 255, 0},
    supers_Solid_DeviceNotifier,
    0,
    7, methods_Solid_DeviceNotifier,
    0, 0,
    0, 0,
    init_Solid_DeviceNotifier,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_DeviceNotifier,
    release_Solid_DeviceNotifier,
    cast_Solid_DeviceNotifier,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Solid::DeviceNotifier::staticMetaObject,
    0,
    pyqt4_signals_Solid_DeviceNotifier
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/device.sip"
#include <device.h>
#line 1298 "sipsolidpart4.cpp"

#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1302 "sipsolidpart4.cpp"
#line 54 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 1305 "sipsolidpart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1308 "sipsolidpart4.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/predicate.sip"
#include <predicate.h>
#line 1311 "sipsolidpart4.cpp"


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            QList<Solid::Device> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Solid::Device>(Solid::Device::allDevices());
            Py_END_ALLOW_THREADS

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Solid::DeviceInterface::Type a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"E|J1",sipType_Solid_DeviceInterface_Type,&a0,sipType_QString,&a1,&a1State))
        {
            QList<Solid::Device> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Solid::Device>(Solid::Device::listFromType(a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        const Solid::Predicate * a0;
        const QString& a1def = QString();
        const QString * a1 = &a1def;
        int a1State = 0;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J9|J1",sipType_Solid_Predicate,&a0,sipType_QString,&a1,&a1State))
        {
            QList<Solid::Device> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Solid::Device>(Solid::Device::listFromQuery(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

            return sipResObj;
        }
    }

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

        if (sipParseArgs(&sipArgsParsed,sipArgs,"J1|J1",sipType_QString,&a0,&a0State,sipType_QString,&a1,&a1State))
        {
            QList<Solid::Device> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<Solid::Device>(Solid::Device::listFromQuery(*a0,*a1));
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

            return sipResObj;
        }
    }

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

    return NULL;
}


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

    {
        Solid::Device *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Solid_Device,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isValid();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Device *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::Device *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::Device *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_Solid_Device,&sipCpp))
        {
            Solid::Device *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Solid::Device(sipCpp->parent());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Solid::Device *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::Device *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::Device *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::DeviceInterface::Type a0;
        Solid::Device *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Solid_Device,&sipCpp,sipType_Solid_DeviceInterface_Type,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDeviceInterface(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Solid::DeviceInterface::Type a0;
        Solid::Device *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BE",&sipSelf,sipType_Solid_Device,&sipCpp,sipType_Solid_DeviceInterface_Type,&a0))
        {
            Solid::DeviceInterface *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->asDeviceInterface(a0);
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<Solid::Device *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


extern "C" {static void *init_Solid_Device(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_Solid_Device(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    Solid::Device *sipCpp = 0;

    if (!sipCpp)
    {
        const QString& a0def = QString();
        const QString * a0 = &a0def;
        int a0State = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|J1",sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Solid::Device(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
        }
    }

    if (!sipCpp)
    {
        const Solid::Device * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_Solid_Device,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Solid::Device(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_Solid_Device[] = {
    {SIP_MLNAME_CAST(sipName_allDevices), meth_Solid_Device_allDevices, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_asDeviceInterface), meth_Solid_Device_asDeviceInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Solid_Device_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isDeviceInterface), meth_Solid_Device_isDeviceInterface, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_Solid_Device_isValid, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listFromQuery), meth_Solid_Device_listFromQuery, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_listFromType), meth_Solid_Device_listFromType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_Solid_Device_parent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_parentUdi), meth_Solid_Device_parentUdi, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_product), meth_Solid_Device_product, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_udi), meth_Solid_Device_udi, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_vendor), meth_Solid_Device_vendor, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_solid_Solid_Device = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Solid__Device,
        {0}
    },
    sipNameNr_Device,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {3, 255, 0},
    0,
    0,
    12, methods_Solid_Device,
    0, 0,
    0, 0,
    init_Solid_Device,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_Device,
    release_Solid_Device,
    cast_Solid_Device,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/camera.sip"
#include <camera.h>
#line 1815 "sipsolidpart4.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1819 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1822 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1825 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 1828 "sipsolidpart4.cpp"
#line 54 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 1831 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1834 "sipsolidpart4.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1837 "sipsolidpart4.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1840 "sipsolidpart4.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 1871 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 1874 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 1877 "sipsolidpart4.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1880 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 1883 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 1886 "sipsolidpart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1889 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1892 "sipsolidpart4.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1895 "sipsolidpart4.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1898 "sipsolidpart4.cpp"


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

    {
        if (sipParseArgs(&sipArgsParsed,sipArgs,""))
        {
            Solid::DeviceInterface::Type sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Solid::Camera::deviceInterfaceType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_DeviceInterface_Type);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Camera *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        QString a0def = QString();
        QString * a0 = &a0def;
        int a0State = 0;
        Solid::Camera *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B|J1",&sipSelf,sipType_Solid_Camera,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->supportedDrivers(*a0));
            Py_END_ALLOW_THREADS

            sipReleaseType(a0,sipType_QString,a0State);

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Solid::Camera *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_Solid_Camera,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QVariant *sipRes;

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

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

    return NULL;
}


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

    if (targetType == sipType_Solid_Camera)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Solid_DeviceInterface)->ctd_cast((Solid::DeviceInterface *)(Solid::Camera *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    delete reinterpret_cast<Solid::Camera *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


/* Define this type's super-types. */
static sipEncodedClassDef supers_Solid_Camera[] = {{18, 255, 1}};


static PyMethodDef methods_Solid_Camera[] = {
    {SIP_MLNAME_CAST(sipName_deviceInterfaceType), meth_Solid_Camera_deviceInterfaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_driverHandle), meth_Solid_Camera_driverHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedDrivers), meth_Solid_Camera_supportedDrivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedProtocols), meth_Solid_Camera_supportedProtocols, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_solid_Solid_Camera = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__Camera,
        {0}
    },
    sipNameNr_Camera,
    -1,
    -1,
    {3, 255, 0},
    supers_Solid_Camera,
    0,
    4, methods_Solid_Camera,
    0, 0,
    0, 0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_Camera,
    release_Solid_Camera,
    cast_Solid_Camera,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &Solid::Camera::staticMetaObject,
    0,
    0
};
