Go to the source code of this file.
◆ DECLARE_SETTINGGROUP
| #define DECLARE_SETTINGGROUP |
( |
|
NAME, |
|
|
|
GROUP |
|
) |
| |
Value: const char* NAME ## Settings::name = #NAME; \
const char* NAME ## Settings::settingsGroup = GROUP; \
NAME ## Settings::NAME ## Settings(QObject* parent) \
Definition at line 11 of file SettingsGroup.h.
◆ DECLARE_SETTINGSFACT
| #define DECLARE_SETTINGSFACT |
( |
|
CLASS, |
|
|
|
NAME |
|
) |
| |
Value: const char* CLASS::NAME ## Name = #NAME; \
{ \
if (!_ ## NAME ##
Fact) { \
_ ## NAME ##
Fact = _createSettingsFact(NAME ## Name); \
} \
return _ ## NAME ##
Fact; \
}
A Fact is used to hold a single value within the system.
Definition at line 17 of file SettingsGroup.h.
◆ DECLARE_SETTINGSFACT_NO_FUNC
| #define DECLARE_SETTINGSFACT_NO_FUNC |
( |
|
CLASS, |
|
|
|
NAME |
|
) |
| |
Value: const char* CLASS::NAME ## Name = #NAME; \
Definition at line 27 of file SettingsGroup.h.
◆ DEFINE_SETTING_NAME_GROUP
| #define DEFINE_SETTING_NAME_GROUP |
( |
| ) |
|
Value: static const char* name; \
static const char* settingsGroup;
Definition at line 7 of file SettingsGroup.h.
◆ DEFINE_SETTINGFACT
| #define DEFINE_SETTINGFACT |
( |
|
NAME | ) |
|
Value: private: \
public: \
Q_PROPERTY(
Fact* NAME READ NAME CONSTANT) \
static const char* NAME ## Name;
A SettingsFact is Fact which holds a QSettings value.
Definition at line 31 of file SettingsGroup.h.