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

#include "sipAPIsolid.h"

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/solid/networkinterface.sip"
#include <networkinterface.h>
#line 12 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 22 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 37 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 40 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 46 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 49 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 52 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 55 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        const 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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Solid::NetworkInterface::staticMetaObject,
    0,
    0
};


#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 287 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 290 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 293 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 296 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 299 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 302 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 305 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 308 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 311 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 314 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 317 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 320 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 323 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_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[] = {{141, 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,
    0,
    0,
    0,
    0,
    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, static_cast<int>(Solid::Networking::Connected), 35},
    {sipName_Connecting, static_cast<int>(Solid::Networking::Connecting), 35},
    {sipName_Disconnecting, static_cast<int>(Solid::Networking::Disconnecting), 35},
    {sipName_Managed, static_cast<int>(Solid::Networking::Managed), 33},
    {sipName_Manual, static_cast<int>(Solid::Networking::Manual), 33},
    {sipName_OnNextStatusChange, static_cast<int>(Solid::Networking::OnNextStatusChange), 33},
    {sipName_Unconnected, static_cast<int>(Solid::Networking::Unconnected), 35},
    {sipName_Unknown, static_cast<int>(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
},
    0,
    0,
    0
};

#line 25 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/solid/internetgateway.sip"
#include <internetgateway.h>
#line 575 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 579 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 582 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 585 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 588 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 591 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 594 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 597 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 600 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 603 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 606 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 609 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 612 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 615 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 618 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 621 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;

    {
        const 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;

    {
        const 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;

    {
        const 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;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    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, static_cast<int>(Solid::InternetGateway::InternetDisabled), 27},
    {sipName_InternetEnabled, static_cast<int>(Solid::InternetGateway::InternetEnabled), 27},
    {sipName_TCP, static_cast<int>(Solid::InternetGateway::TCP), 28},
    {sipName_UDP, static_cast<int>(Solid::InternetGateway::UDP), 28},
    {sipName_UnknownStatus, static_cast<int>(Solid::InternetGateway::UnknownStatus), 27},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Solid_InternetGateway[] = {
    {"currentConnectionsDataIsReady(QStringList)", 0, 0, 0},
    {"enabledForInternet(bool)", 0, 0, 0},
    {"portMappingDeleted(QString,qint16,Solid::InternetGateway::NetworkProtocol)", 0, 0, 0},
    {"portMappingAdded(QString,qint16,Solid::InternetGateway::NetworkProtocol,qint16,QString)", 0, 0, 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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Solid::InternetGateway::staticMetaObject,
    0,
    signals_Solid_InternetGateway,
};

#line 28 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/solid/genericinterface.sip"
#include <genericinterface.h>
#line 937 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"

#line 29 "/usr/share/python3-sip/PyQt4/QtCore/qobject.sip"
#include <qobject.h>
#line 941 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 31 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 944 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qmap.sip"
#include <qmap.h>
#line 947 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 72 "/usr/share/python3-sip/PyQt4/QtCore/qstring.sip"
#include <qstring.h>
#line 950 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 953 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 269 "/usr/share/python3-sip/PyQt4/QtCore/qvariant.sip"
#include <qvariant.h>
#line 956 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 58 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/src/pykde4-4.14.3/sip/solid/deviceinterface.sip"
#include <deviceinterface.h>
#line 959 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 962 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 368 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 965 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 351 "/usr/share/python3-sip/PyQt4/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 968 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 28 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 971 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 32 "/usr/share/python3-sip/PyQt4/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 974 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 977 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 115 "/usr/share/python3-sip/PyQt4/QtCore/qlist.sip"
#include <qlist.h>
#line 980 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qthread.sip"
#include <qthread.h>
#line 983 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 30 "/usr/share/python3-sip/PyQt4/QtCore/qregexp.sip"
#include <qregexp.h>
#line 986 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/sip/solid/sipsolidpart4.cpp"
#line 26 "/usr/share/python3-sip/PyQt4/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 989 "/usr/src/ports/python3-pykde4/python3-pykde4-4.14.3-3.i686/build/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;
        const 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;

    {
        const 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;
        const 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;
}


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

    Py_BEGIN_ALLOW_THREADS

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

    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, static_cast<int>(Solid::GenericInterface::PropertyAdded), 25},
    {sipName_PropertyModified, static_cast<int>(Solid::GenericInterface::PropertyModified), 25},
    {sipName_PropertyRemoved, static_cast<int>(Solid::GenericInterface::PropertyRemoved), 25},
};


/* Define this type's signals. */
static const pyqt4QtSignal signals_Solid_GenericInterface[] = {
    {"conditionRaised(QString,QString)", 0, 0, 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,
    0,
    0,
    0,
    0,
    0,
    0,
    0
},
    &Solid::GenericInterface::staticMetaObject,
    0,
    signals_Solid_GenericInterface,
};
