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 () 代替。