Sur cette page

Utils::QtcSettings Class

class Utils::QtcSettings

La classe `QtcSettings` est une extension de la classe ` QSettings ` qui utilise `Utils::Key` à la place de ` QString ` pour les clés. En savoir plus...

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

Fonctions publiques

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

Description détaillée

Utilisez Utils::QtcSettings::setValueWithDefault() pour écrire des valeurs avec une valeur par défaut.

Documentation des fonctions membres

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

Commence le groupe de paramètres « prefix », appelle la fonction « function » et termine le groupe de paramètres.

Voir également beginGroup() et 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.