以下成员源于类 QString 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated (6.0))
QString
|
fromUcs4 (const uint * str , qsizetype size = -1) |
(deprecated (6.0))
QString
|
fromUtf16 (const ushort * str , qsizetype size = -1) |
[static]
QString
QString::
fromUcs4
(const
uint
*
str
,
qsizetype
size
= -1)
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用
char32_t
overload instead.
[static]
QString
QString::
fromUtf16
(const
ushort
*
str
,
qsizetype
size
= -1)
This function is deprecated since 6.0. We strongly advise against using it in new code.
使用
char16_t
overload instead.