Public Types | Public Member Functions | Static Public Member Functions | Friends

QNetworkInterface Class Reference

Search for all occurrences

Detailed Description

Definition at line 87 of file qnetworkinterface.h.

#include <qnetworkinterface.h>

List of all members.

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

Member Enumeration Documentation


Constructor & Destructor Documentation

QNetworkInterface ( const QNetworkInterface other )

Member Function Documentation

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]

Friends And Related Function Documentation

friend class QNetworkInterfacePrivate [friend]

Definition at line 120 of file qnetworkinterface.h.


The documentation for this class was generated from the following file:

QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface
QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface QNetworkInterface