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