/*
 * 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/networkinterface.sip"
#include <networkinterface.h>
#line 12 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.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/sipsolidpart4.cpp"


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = Solid::NetworkInterface::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_NetworkInterface, sipName_deviceInterfaceType, NULL);

    return NULL;
}


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

    {
        Solid::NetworkInterface *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::NetworkInterface *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isWireless();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        Solid::NetworkInterface *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        Solid::NetworkInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Solid_NetworkInterface, &sipCpp))
        {
            qulonglong sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->macAddress();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Solid_NetworkInterface)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_Solid_NetworkInterface[] = {
    {SIP_MLNAME_CAST(sipName_deviceInterfaceType), meth_Solid_NetworkInterface_deviceInterfaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hwAddress), meth_Solid_NetworkInterface_hwAddress, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_ifaceName), meth_Solid_NetworkInterface_ifaceName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isWireless), meth_Solid_NetworkInterface_isWireless, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_macAddress), meth_Solid_NetworkInterface_macAddress, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_solid_Solid_NetworkInterface = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__NetworkInterface,
        {0}
    },
    {
        sipNameNr_NetworkInterface,
        {3, 255, 0},
        5, methods_Solid_NetworkInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Solid_NetworkInterface,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_NetworkInterface,
    0,
    0,
    0,
    release_Solid_NetworkInterface,
    cast_Solid_NetworkInterface,
    0,
    0,
    0
},
    &Solid::NetworkInterface::staticMetaObject,
    0,
    0
};


#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 295 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 298 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 301 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 304 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 307 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 310 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 313 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 316 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 319 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 322 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 325 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 328 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 331 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"


extern "C" {static PyObject *meth_Solid_Networking_Notifier_statusChanged(PyObject *, PyObject *);}
static PyObject *meth_Solid_Networking_Notifier_statusChanged(PyObject *, PyObject *)
{

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

    return NULL;
}


extern "C" {static PyObject *meth_Solid_Networking_Notifier_shouldConnect(PyObject *, PyObject *);}
static PyObject *meth_Solid_Networking_Notifier_shouldConnect(PyObject *, PyObject *)
{

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

    return NULL;
}


extern "C" {static PyObject *meth_Solid_Networking_Notifier_shouldDisconnect(PyObject *, PyObject *);}
static PyObject *meth_Solid_Networking_Notifier_shouldDisconnect(PyObject *, PyObject *)
{

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

    return NULL;
}


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

    if (targetType == sipType_Solid_Networking_Notifier)
        return ptr;

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

    return NULL;
}


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

    delete reinterpret_cast<Solid::Networking::Notifier *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_Solid_Networking_Notifier[] = {
    {SIP_MLNAME_CAST(sipName_shouldConnect), meth_Solid_Networking_Notifier_shouldConnect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_shouldDisconnect), meth_Solid_Networking_Notifier_shouldDisconnect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_statusChanged), meth_Solid_Networking_Notifier_statusChanged, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_solid_Solid_Networking_Notifier = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__Networking__Notifier,
        {0}
    },
    {
        sipNameNr_Notifier,
        {32, 255, 0},
        3, methods_Solid_Networking_Notifier,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Solid_Networking_Notifier,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_Networking_Notifier,
    0,
    0,
    0,
    release_Solid_Networking_Notifier,
    cast_Solid_Networking_Notifier,
    0,
    0,
    0
},
    0,
    0,
    0
};




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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Solid::Networking::Notifier *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Solid::Networking::notifier();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Solid::Networking::Status sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Solid::Networking::status();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_Networking_Status);
        }
    }

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

    return NULL;
}


static PyMethodDef methods_Solid_Networking[] = {
    {SIP_MLNAME_CAST(sipName_notifier), meth_Solid_Networking_notifier, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_status), meth_Solid_Networking_status, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Solid_Networking[] = {
    {sipName_Connected, Solid::Networking::Connected, 35},
    {sipName_Connecting, Solid::Networking::Connecting, 35},
    {sipName_Disconnecting, Solid::Networking::Disconnecting, 35},
    {sipName_Managed, Solid::Networking::Managed, 33},
    {sipName_Manual, Solid::Networking::Manual, 33},
    {sipName_OnNextStatusChange, Solid::Networking::OnNextStatusChange, 33},
    {sipName_Unconnected, Solid::Networking::Unconnected, 35},
    {sipName_Unknown, Solid::Networking::Unknown, 35},
};


pyqt4ClassTypeDef sipTypeDef_solid_Solid_Networking = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_NAMESPACE,
        sipNameNr_Solid__Networking,
        {0}
    },
    {
        sipNameNr_Networking,
        {3, 255, 0},
        2, methods_Solid_Networking,
        8, enummembers_Solid_Networking,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/internetgateway.sip"
#include <internetgateway.h>
#line 588 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 592 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 595 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 598 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 601 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 604 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 607 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 610 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 613 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 616 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 619 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 622 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 625 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 628 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 631 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 634 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"


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

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = Solid::InternetGateway::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_InternetGateway, sipName_deviceInterfaceType, NULL);

    return NULL;
}


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

    {
        Solid::InternetGateway *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Solid::InternetGateway *sipCpp;

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

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

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        qint16 a1;
        Solid::InternetGateway::NetworkProtocol a2;
        qint16 a3;
        const QString * a4;
        int a4State = 0;
        Solid::InternetGateway *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1hEhJ1", &sipSelf, sipType_Solid_InternetGateway, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_Solid_InternetGateway_NetworkProtocol, &a2, &a3, sipType_QString,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addPortMapping(*a0,a1,a2,a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        qint16 a1;
        Solid::InternetGateway::NetworkProtocol a2;
        Solid::InternetGateway *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1hE", &sipSelf, sipType_Solid_InternetGateway, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_Solid_InternetGateway_NetworkProtocol, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deletePortMapping(*a0,a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Solid::InternetGateway *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Solid_InternetGateway, &sipCpp))
        {
            Solid::InternetGateway::InternetStatus sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEnabledForInternet();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_Solid_InternetGateway_InternetStatus);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        Solid::InternetGateway *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    if (targetType == sipType_Solid_InternetGateway)
        return ptr;

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

    return NULL;
}


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

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

    Py_END_ALLOW_THREADS
}


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


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


static PyMethodDef methods_Solid_InternetGateway[] = {
    {SIP_MLNAME_CAST(sipName_addPortMapping), meth_Solid_InternetGateway_addPortMapping, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentConnections), meth_Solid_InternetGateway_currentConnections, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deletePortMapping), meth_Solid_InternetGateway_deletePortMapping, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deviceInterfaceType), meth_Solid_InternetGateway_deviceInterfaceType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isEnabledForInternet), meth_Solid_InternetGateway_isEnabledForInternet, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_requestCurrentConnections), meth_Solid_InternetGateway_requestCurrentConnections, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabledForInternet), meth_Solid_InternetGateway_setEnabledForInternet, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Solid_InternetGateway[] = {
    {sipName_InternetDisabled, Solid::InternetGateway::InternetDisabled, 27},
    {sipName_InternetEnabled, Solid::InternetGateway::InternetEnabled, 27},
    {sipName_TCP, Solid::InternetGateway::TCP, 28},
    {sipName_UDP, Solid::InternetGateway::UDP, 28},
    {sipName_UnknownStatus, Solid::InternetGateway::UnknownStatus, 27},
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Solid_InternetGateway[] = {
    {"currentConnectionsDataIsReady(QStringList)", 0, 0},
    {"enabledForInternet(bool)", 0, 0},
    {"portMappingDeleted(QString,qint16,Solid::InternetGateway::NetworkProtocol)", 0, 0},
    {"portMappingAdded(QString,qint16,Solid::InternetGateway::NetworkProtocol,qint16,QString)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_solid_Solid_InternetGateway = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Solid__InternetGateway,
        {0}
    },
    {
        sipNameNr_InternetGateway,
        {3, 255, 0},
        7, methods_Solid_InternetGateway,
        5, enummembers_Solid_InternetGateway,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Solid_InternetGateway,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Solid_InternetGateway,
    0,
    0,
    0,
    release_Solid_InternetGateway,
    cast_Solid_InternetGateway,
    0,
    0,
    0
},
    &Solid::InternetGateway::staticMetaObject,
    0,
    pyqt4_signals_Solid_InternetGateway
};

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

#line 34 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 962 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 36 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 965 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 968 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 77 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 971 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 974 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 238 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 977 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 58 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 980 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 983 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 310 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 986 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 298 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 989 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 33 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 992 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 995 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 998 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 120 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 1001 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 1004 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 35 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 1007 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 1010 "/work/a/ports/devel/kdebindings4-python-pykde4/work/pykde4-4.7.3/sip/solid/sipsolidpart4.cpp"


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

    {
        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_GenericInterface, sipName_deviceInterfaceType, NULL);

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_GenericInterface, sipName_property, NULL);

    return NULL;
}


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

    {
        Solid::GenericInterface *sipCpp;

        if (sipParseArgs(&sipParseErr, 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

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

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, 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(sipParseErr, sipName_GenericInterface, sipName_propertyExists, NULL);

    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(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef 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(QString,QString)", 0, 0},
    {0, 0, 0}
};


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