На этой странице

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.