Home
·
All Classes
·
Modules
QHostAddress Class Reference
[
QtNetwork
module]
Types
enum
SpecialAddress
{ Null, Broadcast, LocalHost, LocalHostIPv6, Any, AnyIPv6 }
Methods
__init__
(
self
)
__init__
(
self
, SpecialAddress)
__init__
(
self
, int)
__init__
(
self
, QString)
__init__
(
self
, QHostAddress)
clear
(
self
)
bool
isInSubnet
(
self
, QHostAddress, int)
bool
isInSubnet
(
self
, tuple-of-QHostAddress-int)
bool
isNull
(
self
)
QAbstractSocket.NetworkLayerProtocol
protocol
(
self
)
QString
scopeId
(
self
)
setAddress
(
self
, int)
bool
setAddress
(
self
, QString)
setScopeId
(
self
, QString)
int
toIPv4Address
(
self
)
QString
toString
(
self
)
Static Methods
tuple-of-QHostAddress-int
parseSubnet
(QString)
Special Methods
bool
__eq__
(
self
, QHostAddress)
bool
__eq__
(
self
, SpecialAddress)
int
__hash__
(
self
)
bool
__ne__
(
self
, QHostAddress)
bool
__ne__
(
self
, SpecialAddress)
Detailed Description
Type Documentation
QHostAddress.SpecialAddress
Method Documentation
QHostAddress.__init__ (
self
)
QHostAddress.__init__ (
self
,
SpecialAddress
)
QHostAddress.__init__ (
self
, int)
QHostAddress.__init__ (
self
, QString)
QHostAddress.__init__ (
self
,
QHostAddress
)
QHostAddress.clear (
self
)
bool QHostAddress.isInSubnet (
self
,
QHostAddress
, int)
bool QHostAddress.isInSubnet (
self
, tuple-of-QHostAddress-int)
bool QHostAddress.isNull (
self
)
tuple-of-QHostAddress-int QHostAddress.parseSubnet (QString)
QAbstractSocket.NetworkLayerProtocol
QHostAddress.protocol (
self
)
QString QHostAddress.scopeId (
self
)
QHostAddress.setAddress (
self
, int)
bool QHostAddress.setAddress (
self
, QString)
QHostAddress.setScopeId (
self
, QString)
int QHostAddress.toIPv4Address (
self
)
QString QHostAddress.toString (
self
)
bool QHostAddress.__eq__ (
self
,
QHostAddress
)
bool QHostAddress.__eq__ (
self
,
SpecialAddress
)
int QHostAddress.__hash__ (
self
)
bool QHostAddress.__ne__ (
self
,
QHostAddress
)
bool QHostAddress.__ne__ (
self
,
SpecialAddress
)
PyQt 4.8 for X11
Copyright ©
Riverbank Computing Ltd
and
Nokia
2010
Qt 4.7.0