PythonQtWrapper_QNetworkInterface.cpp
60 lines
| 1.8 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QNetworkInterface.h" | ||
#include <QVariant> | ||||
#include <qhostaddress.h> | ||||
#include <qlist.h> | ||||
#include <qnetworkinterface.h> | ||||
QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface() | ||||
{ | ||||
return new QNetworkInterface(); } | ||||
QNetworkInterface* PythonQtWrapper_QNetworkInterface::new_QNetworkInterface(const QNetworkInterface& other) | ||||
{ | ||||
return new QNetworkInterface(other); } | ||||
QList<QNetworkAddressEntry > PythonQtWrapper_QNetworkInterface::addressEntries(QNetworkInterface* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->addressEntries(); | ||||
} | ||||
QList<QHostAddress > PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allAddresses() | ||||
{ | ||||
return QNetworkInterface::allAddresses(); | ||||
} | ||||
QList<QNetworkInterface > PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allInterfaces() | ||||
{ | ||||
return QNetworkInterface::allInterfaces(); | ||||
} | ||||
QNetworkInterface::InterfaceFlags PythonQtWrapper_QNetworkInterface::flags(QNetworkInterface* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->flags(); | ||||
} | ||||
QString PythonQtWrapper_QNetworkInterface::hardwareAddress(QNetworkInterface* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->hardwareAddress(); | ||||
} | ||||
QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromIndex(int index) | ||||
{ | ||||
return QNetworkInterface::interfaceFromIndex(index); | ||||
} | ||||
QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromName(const QString& name) | ||||
{ | ||||
return QNetworkInterface::interfaceFromName(name); | ||||
} | ||||
bool PythonQtWrapper_QNetworkInterface::isValid(QNetworkInterface* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->isValid(); | ||||
} | ||||
QString PythonQtWrapper_QNetworkInterface::name(QNetworkInterface* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->name(); | ||||
} | ||||