PythonQtWrapper_QNetworkAddressEntry.cpp
47 lines
| 1.4 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QNetworkAddressEntry.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qhostaddress.h> | ||||
#include <qnetworkinterface.h> | ||||
QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry() | ||||
{ | ||||
return new QNetworkAddressEntry(); } | ||||
QNetworkAddressEntry* PythonQtWrapper_QNetworkAddressEntry::new_QNetworkAddressEntry(const QNetworkAddressEntry& other) | ||||
{ | ||||
return new QNetworkAddressEntry(other); } | ||||
|
r28 | QHostAddress PythonQtWrapper_QNetworkAddressEntry::netmask(QNetworkAddressEntry* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->netmask(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QNetworkAddressEntry::setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setBroadcast(newBroadcast); | ||
|
r13 | } | ||
|
r28 | QHostAddress PythonQtWrapper_QNetworkAddressEntry::broadcast(QNetworkAddressEntry* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->broadcast(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QNetworkAddressEntry::setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setNetmask(newNetmask); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QNetworkAddressEntry::setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setIp(newIp); | ||
|
r13 | } | ||
|
r28 | QHostAddress PythonQtWrapper_QNetworkAddressEntry::ip(QNetworkAddressEntry* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->ip(); | ||
|
r13 | } | ||