PythonQtWrapper_QNetworkInterface.cpp
63 lines
| 1.9 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QNetworkInterface.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #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 | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->addressEntries(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QList<QNetworkInterface > PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allInterfaces() | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return QNetworkInterface::allInterfaces(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QNetworkInterface::InterfaceFlags PythonQtWrapper_QNetworkInterface::flags(QNetworkInterface* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->flags(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromName(const QString& name) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return QNetworkInterface::interfaceFromName(name); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QList<QHostAddress > PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_allAddresses() | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return QNetworkInterface::allAddresses(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | bool PythonQtWrapper_QNetworkInterface::isValid(QNetworkInterface* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->isValid(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QNetworkInterface::name(QNetworkInterface* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->name(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QNetworkInterface::hardwareAddress(QNetworkInterface* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->hardwareAddress(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QNetworkInterface PythonQtWrapper_QNetworkInterface::static_QNetworkInterface_interfaceFromIndex(int index) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return QNetworkInterface::interfaceFromIndex(index); | ||
florianlink
|
r13 | } | ||