QtcSettings Class

class Utils::QtcSettings

The QtcSettings class is an extension of the QSettings class the uses Utils::Key instead of QString for keys. More...

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

Public Functions

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

Detailed Description

Use Utils::QtcSettings::setValueWithDefault() to write values with a default.

Member Function Documentation

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

Begins the settings group prefix, calls the function, and ends the settings group.

See also beginGroup() and 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.