На цій сторінці

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.