Obsolete Members for Core::IFindFilter

IFindFilter 类的以下成员已被废弃。提供这些成员是为了确保旧源代码能够继续运行。我们强烈建议不要在新代码中使用它们。

公共函数

(deprecated in 14.0) virtual void readSettings(Utils::QtcSettings *settings)
(deprecated in 14.0) virtual QByteArray settingsKey() const
(deprecated in 14.0) virtual void writeSettings(Utils::QtcSettings *settings)

成员函数文档

[virtual, deprecated in 14.0] void IFindFilter::readSettings(Utils::QtcSettings *settings)

自 14.0 版本起,此函数已被废弃。我们强烈建议不要在新代码中使用它。

在启动时调用,用于从 `settings` 中读取此查找过滤器的附加选项状态。

请改用实现 `restore()` 方法。

[virtual, deprecated in 14.0] QByteArray IFindFilter::settingsKey() const

自 14.0 版本起,此函数已被废弃。我们强烈建议不要在新代码中使用它。

[virtual, deprecated in 14.0] void IFindFilter::writeSettings(Utils::QtcSettings *settings)

自 14.0 版本起,此函数已被废弃。我们强烈建议不要在新代码中使用它。

在关闭时调用,用于将此查找过滤器的附加选项状态写入settings 。

请改用save() 方法。

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.