Numworks Epsilon  1.4.1
Graphing Calculator Operating System
GlobalPreferences Class Reference

#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 GlobalPreferencessharedGlobalPreferences ()
 

Static Public Attributes

static constexpr int NumberOfBrightnessStates = 5
 

Detailed Description

Definition at line 6 of file global_preferences.h.

Member Enumeration Documentation

◆ ExamMode

Enumerator
Activate 
Desactivate 

Definition at line 8 of file global_preferences.h.

Constructor & Destructor Documentation

◆ GlobalPreferences()

GlobalPreferences::GlobalPreferences ( )

Definition at line 3 of file global_preferences.cpp.

Member Function Documentation

◆ brightnessLevel()

int GlobalPreferences::brightnessLevel ( ) const

Definition at line 46 of file global_preferences.cpp.

◆ examMode()

GlobalPreferences::ExamMode GlobalPreferences::examMode ( ) const

Definition at line 26 of file global_preferences.cpp.

◆ language()

I18n::Language GlobalPreferences::language ( ) const

Definition at line 16 of file global_preferences.cpp.

◆ setBrightnessLevel()

void GlobalPreferences::setBrightnessLevel ( int  brightnessLevel)

Definition at line 50 of file global_preferences.cpp.

◆ setExamMode()

void GlobalPreferences::setExamMode ( ExamMode  examMode)

Definition at line 30 of file global_preferences.cpp.

◆ setLanguage()

void GlobalPreferences::setLanguage ( I18n::Language  language)

Definition at line 20 of file global_preferences.cpp.

◆ setShowUpdatePopUp()

void GlobalPreferences::setShowUpdatePopUp ( bool  showUpdatePopUp)

Definition at line 40 of file global_preferences.cpp.

◆ sharedGlobalPreferences()

GlobalPreferences * GlobalPreferences::sharedGlobalPreferences ( )
static

Definition at line 11 of file global_preferences.cpp.

◆ showUpdatePopUp()

bool GlobalPreferences::showUpdatePopUp ( ) const

Definition at line 36 of file global_preferences.cpp.

Member Data Documentation

◆ NumberOfBrightnessStates

constexpr int GlobalPreferences::NumberOfBrightnessStates = 5
static

Definition at line 22 of file global_preferences.h.


The documentation for this class was generated from the following files: