In questa pagina

Utils::QtcSettings Class

class Utils::QtcSettings

La classe `QtcSettings` è un'estensione della classe ` QSettings ` che utilizza `Utils::Key` al posto di ` QString ` per le chiavi. Per saperne di più...

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

Funzioni pubbliche

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

Descrizione dettagliata

Utilizzare Utils::QtcSettings::setValueWithDefault() per impostare i valori con un valore predefinito.

Documentazione delle funzioni membro

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

Inizia il gruppo di impostazioni prefix, richiama l'function e termina il gruppo di impostazioni.

Vedi anche beginGroup() e 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.