#include <qnetworkinterface.h>
Definition at line 87 of file qnetworkinterface.h.
Public Types | |
| enum | InterfaceFlag { IsUp = 0x1, IsRunning = 0x2, CanBroadcast = 0x4, IsLoopBack = 0x8, IsPointToPoint = 0x10, CanMulticast = 0x20 } |
Public Member Functions | |
| QNetworkInterface () | |
| QNetworkInterface (const QNetworkInterface &other) | |
| QNetworkInterface & | operator= (const QNetworkInterface &other) |
| ~QNetworkInterface () | |
| bool | isValid () const |
| int | index () const |
| QString | name () const |
| QString | humanReadableName () const |
| InterfaceFlags | flags () const |
| QString | hardwareAddress () const |
| QList< QNetworkAddressEntry > | addressEntries () const |
Static Public Member Functions | |
| static QNetworkInterface | interfaceFromName (const QString &name) |
| static QNetworkInterface | interfaceFromIndex (int index) |
| static QList< QNetworkInterface > | allInterfaces () |
| static QList< QHostAddress > | allAddresses () |
Friends | |
| class | QNetworkInterfacePrivate |
| enum InterfaceFlag |
| Enumerator | |
|---|---|
| IsUp | |
| IsRunning | |
| CanBroadcast | |
| IsLoopBack | |
| IsPointToPoint | |
| CanMulticast | |
Definition at line 90 of file qnetworkinterface.h.
| QNetworkInterface | ( | const QNetworkInterface & | other | ) |
| ~QNetworkInterface | ( | ) |
| QNetworkInterface& operator= | ( | const QNetworkInterface & | other | ) |
| bool isValid | ( | ) | const |
| QString humanReadableName | ( | ) | const |
| InterfaceFlags flags | ( | ) | const |
| QString hardwareAddress | ( | ) | const |
| QList<QNetworkAddressEntry> addressEntries | ( | ) | const |
|
static |
|
static |
|
static |
|
static |
|
friend |
Definition at line 120 of file qnetworkinterface.h.