Utils::QtcSettings Class | Extending Qt Creator Manual
Description: The QtcSettings class is an extension of the QSettings class the uses Utils::Key instead of QString for keys.

- Extending Qt Creator Manual
- QtCreator
- QtcSettings
- Extending Qt Creator Manual 19.0.0

# Utils::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)

- List of all members, including inherited members

## 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().