56 enum class FlightLogging {
73 static QVariant read(
const Main key);
74 static void write(
const Main key,
const QVariant &val);
76 static QVariant read(
const FlightLogging key);
77 static void write(
const UserData key,
const QVariant &val);
79 static QVariant read(
const UserData key);
80 static void write(
const FlightLogging key,
const QVariant &val);
86 static QString
groupOfKey(
const FlightLogging key);
93 static QString
stringOfKey(
const FlightLogging key);
96 static QSettings settings();
97 static void sync() { QSettings().sync(); }
100 static QMap<Main, QString> mainMap;
101 static QMap<UserData, QString> userDataMap;
102 static QMap<FlightLogging, QString> flightLoggingMap;
Thin wrapper for the QSettings class, simplifying reading and writing of settings.
Definition: settings.h:27
static void setup()
Should be called after QCoreApplication::set...Name have been called.
Definition: settings.cpp:60
static QString groupOfKey(const Main key)
Return string representation of group of key: "ini_header/key".
Definition: settings.cpp:119
static QString stringOfKey(const Main key)
Return string representation of key.
Definition: settings.cpp:131
static void resetToDefaults()
Settings::resetToDefaults (Re-)sets all settings to the default value.
Definition: settings.cpp:69