Compatibility Members for QHostAddress

以下成员源于类 QHostAddress are part of the Qt compatibility layer. We advise against using them in new code.

公共函数

quint32 ip4Addr () const
bool isIPv4Address () const
bool isIPv6Address () const
bool isIp4Addr () const

成员函数文档编制

quint32 QHostAddress:: ip4Addr () const

使用 toIPv4Address () 代替。

bool QHostAddress:: isIPv4Address () const

使用 protocol () 代替。

bool QHostAddress:: isIPv6Address () const

使用 protocol () 代替。

bool QHostAddress:: isIp4Addr () const

使用 protocol () 代替。