PythonQtWrapper_QNetworkAddressEntry.h
28 lines
| 1.1 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QNETWORKADDRESSENTRY_H | ||
#define PYTHONQTWRAPPER_QNETWORKADDRESSENTRY_H | ||||
#include <qnetworkinterface.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qhostaddress.h> | ||||
#include <qnetworkinterface.h> | ||||
class PythonQtWrapper_QNetworkAddressEntry : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QNetworkAddressEntry* new_QNetworkAddressEntry(); | ||||
QNetworkAddressEntry* new_QNetworkAddressEntry(const QNetworkAddressEntry& other); | ||||
void delete_QNetworkAddressEntry(QNetworkAddressEntry* obj) { delete obj; } | ||||
QHostAddress netmask(QNetworkAddressEntry* theWrappedObject) const; | ||||
void setBroadcast(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newBroadcast); | ||||
florianlink
|
r24 | QHostAddress broadcast(QNetworkAddressEntry* theWrappedObject) const; | ||
florianlink
|
r13 | void setNetmask(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newNetmask); | ||
florianlink
|
r28 | void setIp(QNetworkAddressEntry* theWrappedObject, const QHostAddress& newIp); | ||
QHostAddress ip(QNetworkAddressEntry* theWrappedObject) const; | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QNETWORKADDRESSENTRY_H | ||||