本页内容

Utils::QtcSettings Class

class Utils::QtcSettings

QtcSettings类是QSettings 类的扩展,它使用Utils::Key代替QString 作为键。更多内容...

Header: #include <utils/qtcsettings.h>
Inherits: QSettings (private)

公共函数

void withGroup(const Utils::Key &prefix, const std::function<void (QtcSettings *)> &function)

详细说明

使用 Utils::QtcSettings::setValueWithDefault() 写入带有默认值的值。

成员函数文档

void QtcSettings::withGroup(const Utils::Key &prefix, const std::function<void (QtcSettings *)> &function)

开始设置组prefix ,调用function ,并结束该设置组。

另请参阅 beginGroup() 和endGroup()。

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.