PythonQtWrapper_QNetworkAddressEntry.cpp
47 lines
| 1.5 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QNetworkAddressEntry.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
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); } | ||||
florianlink
|
r28 | QHostAddress PythonQtWrapper_QNetworkAddressEntry::netmask(QNetworkAddressEntry* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->netmask()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QNetworkAddressEntry::setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setBroadcast(newBroadcast)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QHostAddress PythonQtWrapper_QNetworkAddressEntry::broadcast(QNetworkAddressEntry* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->broadcast()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QNetworkAddressEntry::setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setNetmask(newNetmask)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QNetworkAddressEntry::setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setIp(newIp)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QHostAddress PythonQtWrapper_QNetworkAddressEntry::ip(QNetworkAddressEntry* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->ip()); | ||
florianlink
|
r13 | } | ||