Obsolete Members for QUrl

以下成員源於類 QUrl 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

靜態公共成員

(obsolete) QString fromPunycode (const QByteArray & pc )
(obsolete) QByteArray toPunycode (const QString & uc )

成員函數文檔編製

[static] QString QUrl:: fromPunycode (const QByteArray & pc )

Returns the Punycode decoded representation of pc .

Punycode is a Unicode encoding used for internationalized domain names, as defined in RFC3492. If you want to convert a domain from its ASCII-compatible encoding to the Unicode representation, use fromAce ().

[static] QByteArray QUrl:: toPunycode (const QString & uc )

返迴 uc in Punycode encoding.

Punycode is a Unicode encoding used for internationalized domain names, as defined in RFC3492. If you want to convert a domain name from Unicode to its ASCII-compatible representation, use toAce ().