Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <global_preferences.h>
Public Types | |
enum | ExamMode { ExamMode::Activate, ExamMode::Desactivate } |
Public Member Functions | |
GlobalPreferences () | |
I18n::Language | language () const |
void | setLanguage (I18n::Language language) |
ExamMode | examMode () const |
void | setExamMode (ExamMode examMode) |
bool | showUpdatePopUp () const |
void | setShowUpdatePopUp (bool showUpdatePopUp) |
int | brightnessLevel () const |
void | setBrightnessLevel (int brightnessLevel) |
Static Public Member Functions | |
static GlobalPreferences * | sharedGlobalPreferences () |
Static Public Attributes | |
static constexpr int | NumberOfBrightnessStates = 5 |
Definition at line 6 of file global_preferences.h.
|
strong |
Enumerator | |
---|---|
Activate | |
Desactivate |
Definition at line 8 of file global_preferences.h.
GlobalPreferences::GlobalPreferences | ( | ) |
Definition at line 3 of file global_preferences.cpp.
int GlobalPreferences::brightnessLevel | ( | ) | const |
Definition at line 46 of file global_preferences.cpp.
GlobalPreferences::ExamMode GlobalPreferences::examMode | ( | ) | const |
Definition at line 26 of file global_preferences.cpp.
I18n::Language GlobalPreferences::language | ( | ) | const |
Definition at line 16 of file global_preferences.cpp.
void GlobalPreferences::setBrightnessLevel | ( | int | brightnessLevel | ) |
Definition at line 50 of file global_preferences.cpp.
void GlobalPreferences::setExamMode | ( | ExamMode | examMode | ) |
Definition at line 30 of file global_preferences.cpp.
void GlobalPreferences::setLanguage | ( | I18n::Language | language | ) |
Definition at line 20 of file global_preferences.cpp.
void GlobalPreferences::setShowUpdatePopUp | ( | bool | showUpdatePopUp | ) |
Definition at line 40 of file global_preferences.cpp.
|
static |
Definition at line 11 of file global_preferences.cpp.
bool GlobalPreferences::showUpdatePopUp | ( | ) | const |
Definition at line 36 of file global_preferences.cpp.
|
static |
Definition at line 22 of file global_preferences.h.