Na tej stronie

Utils::QtcSettings Class

class Utils::QtcSettings

Klasa `QtcSettings` stanowi rozszerzenie klasy ` QSettings ` i wykorzystuje klasę `Utils::Key` zamiast ` QString ` do obsługi kluczy. Więcej...

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

Funkcje publiczne

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

Szczegółowy opis

Aby zapisać wartości z wartością domyślną, należy użyć funkcji Utils::QtcSettings::setValueWithDefault().

Dokumentacja funkcji składowych

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

Rozpoczyna grupę ustawień „ prefix ”, wywołuje „ function ” i kończy grupę ustawień.

Zobacz także: beginGroup() oraz 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.