Obsolete Members for Utils::Id
Id 类的以下成员已被弃用。提供这些成员是为了确保旧源代码能够正常运行。我们强烈建议不要在新的代码中使用它们。
静态公共成员
(deprecated) Utils::Id | fromName(QByteArrayView name) |
(deprecated) Utils::Id | fromString(QStringView name) |
成员函数文档
[static, deprecated] Utils::Id Id::fromName(QByteArrayView name)
此函数已弃用。我们强烈建议不要在新代码中使用它。
根据字符串表示形式创建一个 ID。
不应使用此函数来处理 Id 的持久化版本,请改用fromSetting() 。
另请参阅 toString() 和fromSetting()。
[static, deprecated] Utils::Id Id::fromString(QStringView name)
此函数已弃用。我们强烈建议不要在新代码中使用它。
根据字符串表示形式创建一个 ID。
不应使用此函数来处理 Id 的持久化版本,请改用fromSetting() 。
另请参阅 toString() 和fromSetting()。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.