2022-09-16 02:12:25 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
2022-09-20 14:50:30 +00:00
|
|
|
bool hasRequiredUserSettings();
|
|
|
|
|
2023-02-16 18:47:18 +00:00
|
|
|
bool hasSystemDirectorySetting();
|
2022-10-23 12:43:35 +00:00
|
|
|
QString readSystemDirectorySetting();
|
|
|
|
void writeSystemDirectorySetting(const QString &v);
|
|
|
|
|
2023-02-16 18:47:18 +00:00
|
|
|
bool hasGamesDirectorySetting();
|
2022-09-17 05:19:12 +00:00
|
|
|
QString readGamesDirectorySetting();
|
|
|
|
void writeGamesDirectorySetting(const QString &v);
|
|
|
|
|
2022-09-16 02:12:25 +00:00
|
|
|
// Group registry for QSettings.
|
|
|
|
namespace SettingGroups {
|
|
|
|
extern const QString user;
|
2022-09-17 08:44:02 +00:00
|
|
|
extern const QString mainWindow;
|
2022-09-16 02:12:25 +00:00
|
|
|
}
|