/*
 * Module code.
 *
 * Generated by SIP 4.12.4 on Fri Dec 30 00:41:20 2011
 */

#include "sipAPIsolid.h"

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/block.sip"
#include <block.h>
#line 12 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 22 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 37 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 46 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 52 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 55 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"


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

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

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

            return sipConvertFromEnum(sipRes,sipType_Solid_DeviceInterface_Type);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Block *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->deviceMajor();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Block *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->deviceMinor();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Block *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Solid_Block, &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(sipParseErr, sipName_Block, sipName_device, NULL);

    return NULL;
}


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

    if (targetType == sipType_Solid_Block)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_Solid_Block[] = {
    {SIP_MLNAME_CAST(sipName_device), meth_Solid_Block_device, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceInterfaceType), meth_Solid_Block_deviceInterfaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceMajor), meth_Solid_Block_deviceMajor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceMinor), meth_Solid_Block_deviceMinor, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_solid_Solid_Block = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__Block,
        {0}
    },
    {
        sipNameNr_Block,
        {3, 255, 0},
        4, methods_Solid_Block,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Solid_Block,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_Block,
    0,
    0,
    0,
    release_Solid_Block,
    cast_Solid_Block,
    0,
    0,
    0
},
    &Solid::Block::staticMetaObject,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/battery.sip"
#include <battery.h>
#line 266 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 270 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 273 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 276 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 279 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 282 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 285 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 288 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 291 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 294 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 297 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 300 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 303 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 306 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 309 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"


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

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

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

            return sipConvertFromEnum(sipRes,sipType_Solid_DeviceInterface_Type);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Battery *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPlugged();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Battery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Solid_Battery, &sipCpp))
        {
            Solid::Battery::BatteryType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->type();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_Battery_BatteryType);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Battery *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->chargePercent();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Battery *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isRechargeable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Solid::Battery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Solid_Battery, &sipCpp))
        {
            Solid::Battery::ChargeState sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->chargeState();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_Battery_ChargeState);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Solid_Battery)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_Solid_Battery[] = {
    {SIP_MLNAME_CAST(sipName_chargePercent), meth_Solid_Battery_chargePercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_chargeState), meth_Solid_Battery_chargeState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceInterfaceType), meth_Solid_Battery_deviceInterfaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPlugged), meth_Solid_Battery_isPlugged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isRechargeable), meth_Solid_Battery_isRechargeable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Solid_Battery_type, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Solid_Battery[] = {
    {sipName_CameraBattery, Solid::Battery::CameraBattery, 11},
    {sipName_Charging, Solid::Battery::Charging, 12},
    {sipName_Discharging, Solid::Battery::Discharging, 12},
    {sipName_KeyboardBattery, Solid::Battery::KeyboardBattery, 11},
    {sipName_KeyboardMouseBattery, Solid::Battery::KeyboardMouseBattery, 11},
    {sipName_MonitorBattery, Solid::Battery::MonitorBattery, 11},
    {sipName_MouseBattery, Solid::Battery::MouseBattery, 11},
    {sipName_NoCharge, Solid::Battery::NoCharge, 12},
    {sipName_PdaBattery, Solid::Battery::PdaBattery, 11},
    {sipName_PhoneBattery, Solid::Battery::PhoneBattery, 11},
    {sipName_PrimaryBattery, Solid::Battery::PrimaryBattery, 11},
    {sipName_UnknownBattery, Solid::Battery::UnknownBattery, 11},
    {sipName_UpsBattery, Solid::Battery::UpsBattery, 11},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Solid_Battery[] = {
    {"plugStateChanged(bool,QString)", 0, 0},
    {"chargeStateChanged(int,QString)", 0, 0},
    {"chargePercentChanged(int,QString)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_solid_Solid_Battery = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__Battery,
        {0}
    },
    {
        sipNameNr_Battery,
        {3, 255, 0},
        6, methods_Solid_Battery,
        13, enummembers_Solid_Battery,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Solid_Battery,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_Battery,
    0,
    0,
    0,
    release_Solid_Battery,
    cast_Solid_Battery,
    0,
    0,
    0
},
    &Solid::Battery::staticMetaObject,
    0,
    pyqt4_signals_Solid_Battery
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/audiointerface.sip"
#include <audiointerface.h>
#line 601 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/audiointerface.sip"
#include <audiointerface.h>
#line 605 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"


extern "C" {static int slot_Solid_AudioInterface_AudioInterfaceTypes___bool__(PyObject *);}
static int slot_Solid_AudioInterface_AudioInterfaceTypes___bool__(PyObject *sipSelf)
{
    Solid::AudioInterface::AudioInterfaceTypes *sipCpp = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Solid_AudioInterface_AudioInterfaceTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 331 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 623 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Solid_AudioInterface_AudioInterfaceTypes___ne__(PyObject *,PyObject *);}
static PyObject *slot_Solid_AudioInterface_AudioInterfaceTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    Solid::AudioInterface::AudioInterfaceTypes *sipCpp = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Solid_AudioInterface_AudioInterfaceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;

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

#line 326 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 653 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
            sipReleaseType(const_cast<Solid::AudioInterface::AudioInterfaceTypes *>(a0),sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_solid,ne_slot,sipType_Solid_AudioInterface_AudioInterfaceTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Solid_AudioInterface_AudioInterfaceTypes___eq__(PyObject *,PyObject *);}
static PyObject *slot_Solid_AudioInterface_AudioInterfaceTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    Solid::AudioInterface::AudioInterfaceTypes *sipCpp = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Solid_AudioInterface_AudioInterfaceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;

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

#line 321 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 689 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
            sipReleaseType(const_cast<Solid::AudioInterface::AudioInterfaceTypes *>(a0),sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_solid,eq_slot,sipType_Solid_AudioInterface_AudioInterfaceTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_Solid_AudioInterface_AudioInterfaceTypes___invert__(PyObject *);}
static PyObject *slot_Solid_AudioInterface_AudioInterfaceTypes___invert__(PyObject *sipSelf)
{
    Solid::AudioInterface::AudioInterfaceTypes *sipCpp = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Solid_AudioInterface_AudioInterfaceTypes));

    if (!sipCpp)
        return 0;


    {
        {
            Solid::AudioInterface::AudioInterfaceTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Solid::AudioInterface::AudioInterfaceTypes(~(*sipCpp));
            Py_END_ALLOW_THREADS

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

    return 0;
}


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

    {
        Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Solid_AudioInterface_AudioInterfaceTypes, &a0, &a0State, &a1))
        {
            Solid::AudioInterface::AudioInterfaceTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Solid::AudioInterface::AudioInterfaceTypes((*a0 & a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;
        Solid::AudioInterface::AudioInterfaceTypes * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Solid_AudioInterface_AudioInterfaceTypes, &a0, &a0State, sipType_Solid_AudioInterface_AudioInterfaceTypes, &a1, &a1State))
        {
            Solid::AudioInterface::AudioInterfaceTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Solid::AudioInterface::AudioInterfaceTypes((*a0 ^ *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);
            sipReleaseType(a1,sipType_Solid_AudioInterface_AudioInterfaceTypes,a1State);

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

    {
        Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Solid_AudioInterface_AudioInterfaceTypes, &a0, &a0State, &a1))
        {
            Solid::AudioInterface::AudioInterfaceTypes *sipRes = 0;

#line 315 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Solid::AudioInterface::AudioInterfaceTypes(*a0 ^ a1);
#line 798 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
            sipReleaseType(a0,sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


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

    {
        Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;
        Solid::AudioInterface::AudioInterfaceTypes * a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_Solid_AudioInterface_AudioInterfaceTypes, &a0, &a0State, sipType_Solid_AudioInterface_AudioInterfaceTypes, &a1, &a1State))
        {
            Solid::AudioInterface::AudioInterfaceTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Solid::AudioInterface::AudioInterfaceTypes((*a0 | *a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);
            sipReleaseType(a1,sipType_Solid_AudioInterface_AudioInterfaceTypes,a1State);

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

    {
        Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Solid_AudioInterface_AudioInterfaceTypes, &a0, &a0State, &a1))
        {
            Solid::AudioInterface::AudioInterfaceTypes *sipRes = 0;

#line 310 "/usr/local/share/py-sip/QtCore/qglobal.sip"
        sipRes = new Solid::AudioInterface::AudioInterfaceTypes(*a0 | a1);
#line 850 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
            sipReleaseType(a0,sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

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


extern "C" {static PyObject *slot_Solid_AudioInterface_AudioInterfaceTypes___int__(PyObject *);}
static PyObject *slot_Solid_AudioInterface_AudioInterfaceTypes___int__(PyObject *sipSelf)
{
    Solid::AudioInterface::AudioInterfaceTypes *sipCpp = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Solid_AudioInterface_AudioInterfaceTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = *sipCpp;
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


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

    Solid::AudioInterface::AudioInterfaceTypes *sipCpp = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Solid_AudioInterface_AudioInterfaceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Solid_AudioInterface_AudioInterfaceTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Solid::AudioInterface::AudioInterfaceTypes::operator^=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    Solid::AudioInterface::AudioInterfaceTypes *sipCpp = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Solid_AudioInterface_AudioInterfaceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Solid_AudioInterface_AudioInterfaceTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Solid::AudioInterface::AudioInterfaceTypes::operator|=(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    Solid::AudioInterface::AudioInterfaceTypes *sipCpp = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Solid_AudioInterface_AudioInterfaceTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->Solid::AudioInterface::AudioInterfaceTypes::operator&=(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    return NULL;
}


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

    delete reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Solid_AudioInterface_AudioInterfaceTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_Solid_AudioInterface_AudioInterfaceTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Solid::AudioInterface::AudioInterfaceTypes *>(sipSrc);
}


extern "C" {static void *array_Solid_AudioInterface_AudioInterfaceTypes(SIP_SSIZE_T);}
static void *array_Solid_AudioInterface_AudioInterfaceTypes(SIP_SSIZE_T sipNrElem)
{
    return new Solid::AudioInterface::AudioInterfaceTypes[sipNrElem];
}


extern "C" {static void *copy_Solid_AudioInterface_AudioInterfaceTypes(const void *, SIP_SSIZE_T);}
static void *copy_Solid_AudioInterface_AudioInterfaceTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Solid::AudioInterface::AudioInterfaceTypes(reinterpret_cast<const Solid::AudioInterface::AudioInterfaceTypes *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_Solid_AudioInterface_AudioInterfaceTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Solid_AudioInterface_AudioInterfaceTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Solid::AudioInterface::AudioInterfaceTypes *sipCpp = 0;

    {
        const Solid::AudioInterface::AudioInterfaceTypes * a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Solid_AudioInterface_AudioInterfaceTypes, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Solid::AudioInterface::AudioInterfaceTypes(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<Solid::AudioInterface::AudioInterfaceTypes *>(a0),sipType_Solid_AudioInterface_AudioInterfaceTypes,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Solid::AudioInterface::AudioInterfaceTypes(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Solid::AudioInterface::AudioInterfaceTypes();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Solid_AudioInterface_AudioInterfaceTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_Solid_AudioInterface_AudioInterfaceTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    Solid::AudioInterface::AudioInterfaceTypes **sipCppPtr = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes **>(sipCppPtrV);

#line 336 "/usr/local/share/py-sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Solid::AudioInterface::AudioInterfaceTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Solid_AudioInterface_AudioInterfaceType)) ||
            sipCanConvertToType(sipPy, sipType_Solid_AudioInterface_AudioInterfaceTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Solid_AudioInterface_AudioInterfaceType)))
{
    *sipCppPtr = new Solid::AudioInterface::AudioInterfaceTypes(SIPLong_AsLong(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Solid::AudioInterface::AudioInterfaceTypes *>(sipConvertToType(sipPy, sipType_Solid_AudioInterface_AudioInterfaceTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 1145 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Solid_AudioInterface_AudioInterfaceTypes[] = {
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___bool__, bool_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___ne__, ne_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___eq__, eq_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___invert__, invert_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___and__, and_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___xor__, xor_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___or__, or_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___int__, int_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___ixor__, ixor_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___ior__, ior_slot},
    {(void *)slot_Solid_AudioInterface_AudioInterfaceTypes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};


pyqt4ClassTypeDef sipTypeDef_solid_Solid_AudioInterface_AudioInterfaceTypes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Solid__AudioInterface__AudioInterfaceTypes,
        {0}
    },
    {
        sipNameNr_AudioInterfaceTypes,
        {5, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_Solid_AudioInterface_AudioInterfaceTypes,
    init_Solid_AudioInterface_AudioInterfaceTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_AudioInterface_AudioInterfaceTypes,
    assign_Solid_AudioInterface_AudioInterfaceTypes,
    array_Solid_AudioInterface_AudioInterfaceTypes,
    copy_Solid_AudioInterface_AudioInterfaceTypes,
    release_Solid_AudioInterface_AudioInterfaceTypes,
    cast_Solid_AudioInterface_AudioInterfaceTypes,
    convertTo_Solid_AudioInterface_AudioInterfaceTypes,
    0,
    0
},
    0,
    1,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/audiointerface.sip"
#include <audiointerface.h>
#line 1218 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1222 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/audiointerface.sip"
#include <audiointerface.h>
#line 1225 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1228 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1231 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 1234 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1237 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1240 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1243 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1246 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1249 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1252 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1255 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1258 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1261 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1264 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"


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

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

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

            return sipConvertFromEnum(sipRes,sipType_Solid_DeviceInterface_Type);
        }
    }

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

    return NULL;
}


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

    {
        Solid::AudioInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Solid_AudioInterface, &sipCpp))
        {
            Solid::AudioInterface::AudioDriver sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->driver();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_AudioInterface_AudioDriver);
        }
    }

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

    return NULL;
}


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

    {
        Solid::AudioInterface *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::AudioInterface *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::AudioInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Solid_AudioInterface, &sipCpp))
        {
            Solid::AudioInterface::AudioInterfaceTypes *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Solid::AudioInterface::AudioInterfaceTypes(sipCpp->deviceType());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Solid::AudioInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Solid_AudioInterface, &sipCpp))
        {
            Solid::AudioInterface::SoundcardType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->soundcardType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_AudioInterface_SoundcardType);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Solid_AudioInterface)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_Solid_AudioInterface[] = {
    {SIP_MLNAME_CAST(sipName_deviceInterfaceType), meth_Solid_AudioInterface_deviceInterfaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceType), meth_Solid_AudioInterface_deviceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_driver), meth_Solid_AudioInterface_driver, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_driverHandle), meth_Solid_AudioInterface_driverHandle, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_name), meth_Solid_AudioInterface_name, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_soundcardType), meth_Solid_AudioInterface_soundcardType, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Solid_AudioInterface[] = {
    {sipName_Alsa, Solid::AudioInterface::Alsa, 6},
    {sipName_AudioControl, Solid::AudioInterface::AudioControl, 7},
    {sipName_AudioInput, Solid::AudioInterface::AudioInput, 7},
    {sipName_AudioOutput, Solid::AudioInterface::AudioOutput, 7},
    {sipName_FirewireSoundcard, Solid::AudioInterface::FirewireSoundcard, 9},
    {sipName_Headset, Solid::AudioInterface::Headset, 9},
    {sipName_InternalSoundcard, Solid::AudioInterface::InternalSoundcard, 9},
    {sipName_Modem, Solid::AudioInterface::Modem, 9},
    {sipName_OpenSoundSystem, Solid::AudioInterface::OpenSoundSystem, 6},
    {sipName_UnknownAudioDriver, Solid::AudioInterface::UnknownAudioDriver, 6},
    {sipName_UnknownAudioInterfaceType, Solid::AudioInterface::UnknownAudioInterfaceType, 7},
    {sipName_UsbSoundcard, Solid::AudioInterface::UsbSoundcard, 9},
};


pyqt4ClassTypeDef sipTypeDef_solid_Solid_AudioInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__AudioInterface,
        {0}
    },
    {
        sipNameNr_AudioInterface,
        {3, 255, 0},
        6, methods_Solid_AudioInterface,
        12, enummembers_Solid_AudioInterface,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Solid_AudioInterface,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_AudioInterface,
    0,
    0,
    0,
    release_Solid_AudioInterface,
    cast_Solid_AudioInterface,
    0,
    0,
    0
},
    &Solid::AudioInterface::staticMetaObject,
    0,
    0
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/acadapter.sip"
#include <acadapter.h>
#line 1546 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 1550 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 1553 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 1556 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1559 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1562 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 1565 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 1568 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1571 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 1574 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 1577 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1580 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1583 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1586 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1589 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart6.cpp"


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

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

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

            return sipConvertFromEnum(sipRes,sipType_Solid_DeviceInterface_Type);
        }
    }

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

    return NULL;
}


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

    {
        Solid::AcAdapter *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isPlugged();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Solid_AcAdapter)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_Solid_AcAdapter[] = {
    {SIP_MLNAME_CAST(sipName_deviceInterfaceType), meth_Solid_AcAdapter_deviceInterfaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isPlugged), meth_Solid_AcAdapter_isPlugged, METH_VARARGS, NULL}
};


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


pyqt4ClassTypeDef sipTypeDef_solid_Solid_AcAdapter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__AcAdapter,
        {0}
    },
    {
        sipNameNr_AcAdapter,
        {3, 255, 0},
        2, methods_Solid_AcAdapter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Solid_AcAdapter,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_AcAdapter,
    0,
    0,
    0,
    release_Solid_AcAdapter,
    cast_Solid_AcAdapter,
    0,
    0,
    0
},
    &Solid::AcAdapter::staticMetaObject,
    0,
    pyqt4_signals_Solid_AcAdapter
};
