Home
·
All Classes
·
Modules
QNetworkInterface Class Reference
[
QtNetwork
module]
Types
enum
InterfaceFlag
{ IsUp, IsRunning, CanBroadcast, IsLoopBack, IsPointToPoint, CanMulticast }
class
InterfaceFlags
Methods
__init__
(
self
)
__init__
(
self
, QNetworkInterface)
list-of-QNetworkAddressEntry
addressEntries
(
self
)
InterfaceFlags
flags
(
self
)
QString
hardwareAddress
(
self
)
QString
humanReadableName
(
self
)
int
index
(
self
)
bool
isValid
(
self
)
QString
name
(
self
)
Static Methods
list-of-QHostAddress
allAddresses
()
list-of-QNetworkInterface
allInterfaces
()
QNetworkInterface
interfaceFromIndex
(int)
QNetworkInterface
interfaceFromName
(QString)
Detailed Description
Type Documentation
QNetworkInterface.InterfaceFlag
Method Documentation
QNetworkInterface.__init__ (
self
)
QNetworkInterface.__init__ (
self
,
QNetworkInterface
)
list-of-QNetworkAddressEntry QNetworkInterface.addressEntries (
self
)
list-of-QHostAddress QNetworkInterface.allAddresses ()
list-of-QNetworkInterface QNetworkInterface.allInterfaces ()
InterfaceFlags
QNetworkInterface.flags (
self
)
QString QNetworkInterface.hardwareAddress (
self
)
QString QNetworkInterface.humanReadableName (
self
)
int QNetworkInterface.index (
self
)
QNetworkInterface
QNetworkInterface.interfaceFromIndex (int)
QNetworkInterface
QNetworkInterface.interfaceFromName (QString)
bool QNetworkInterface.isValid (
self
)
QString QNetworkInterface.name (
self
)
PyQt 4.8 for X11
Copyright ©
Riverbank Computing Ltd
and
Nokia
2010
Qt 4.7.0