|
openPilotLog
|
58 enum class FlightLogging {
79 static QVariant read(
const Main key);
80 static void write(
const Main key,
const QVariant &val);
82 static QVariant read(
const FlightLogging key);
83 static void write(
const UserData key,
const QVariant &val);
85 static QVariant read(
const UserData key);
86 static void write(
const FlightLogging key,
const QVariant &val);
92 static QString
groupOfKey(
const FlightLogging key);
99 static QString
stringOfKey(
const FlightLogging key);
102 static QSettings settings();
105 static QMap<Main, QString> mainMap;
106 static QMap<UserData, QString> userDataMap;
107 static QMap<FlightLogging, QString> flightLoggingMap;
110 #endif // ASETTINGS_H
static void resetToDefaults()
ASettings::resetToDefaults (Re-)sets all settings to the default value.
Definition: asettings.cpp:75
static void setup()
Should be called after QCoreApplication::set...Name have been called.
Definition: asettings.cpp:66
Thin wrapper for the QSettings class, simplifying reading and writing of settings.
Definition: asettings.h:27
static QString stringOfKey(const Main key)
Return string representation of key.
Definition: asettings.cpp:140
static QString groupOfKey(const Main key)
Return string representation of group of key: "ini_header/key".
Definition: asettings.cpp:128