#include <settings_singleton.hpp>
◆ SettingsSingleton() [1/2]
SettingsSingleton::SettingsSingleton |
( |
| ) |
|
|
private |
◆ SettingsSingleton() [2/2]
◆ activeKeymapProfile()
◆ activeProfileName()
QString SettingsSingleton::activeProfileName |
( |
| ) |
const |
◆ createProfile()
bool SettingsSingleton::createProfile |
( |
const QString & | profileName | ) |
|
◆ deleteProfile()
bool SettingsSingleton::deleteProfile |
( |
const QString & | profileName | ) |
|
◆ getProfilesDir()
QString SettingsSingleton::getProfilesDir |
( |
| ) |
const |
◆ instance()
◆ listAvailableProfiles()
QStringList SettingsSingleton::listAvailableProfiles |
( |
| ) |
const |
◆ loadAll()
void SettingsSingleton::loadAll |
( |
| ) |
|
◆ loadMouseSensitivity()
void SettingsSingleton::loadMouseSensitivity |
( |
| ) |
|
|
private |
◆ loadPort()
void SettingsSingleton::loadPort |
( |
| ) |
|
|
private |
◆ loadProfile()
bool SettingsSingleton::loadProfile |
( |
const QString & | profileName | ) |
|
◆ loadSetting()
QVariant SettingsSingleton::loadSetting |
( |
const QString & | key | ) |
|
◆ mouseSensitivity()
int SettingsSingleton::mouseSensitivity |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ port()
int SettingsSingleton::port |
( |
| ) |
const |
|
inline |
◆ profileExists()
bool SettingsSingleton::profileExists |
( |
const QString & | profileName | ) |
const |
◆ qsettings()
QSettings * SettingsSingleton::qsettings |
( |
| ) |
|
|
inline |
◆ resetToDefaults()
void SettingsSingleton::resetToDefaults |
( |
| ) |
|
◆ saveActiveProfile()
bool SettingsSingleton::saveActiveProfile |
( |
| ) |
|
◆ saveSetting()
void SettingsSingleton::saveSetting |
( |
const QString & | key, |
|
|
const QVariant & | value ) |
◆ setActiveProfileName()
void SettingsSingleton::setActiveProfileName |
( |
const QString & | name | ) |
|
◆ setMouseSensitivity()
void SettingsSingleton::setMouseSensitivity |
( |
int | value | ) |
|
◆ setPort()
void SettingsSingleton::setPort |
( |
int | value | ) |
|
◆ ~SettingsSingleton()
SettingsSingleton::~SettingsSingleton |
( |
| ) |
|
|
overrideprivatedefault |
◆ DEFAULT_MOUSE_SENSITIVITY
int SettingsSingleton::DEFAULT_MOUSE_SENSITIVITY = 10 |
|
staticconstexpr |
◆ DEFAULT_PORT_NUMBER
int SettingsSingleton::DEFAULT_PORT_NUMBER = 0 |
|
staticconstexpr |
◆ m_activeKeymapProfile
◆ m_activeProfileName
QString SettingsSingleton::m_activeProfileName |
|
private |
◆ mouse_sensitivity
int SettingsSingleton::mouse_sensitivity |
|
private |
◆ MOUSE_SENSITIVITY_MULTIPLIER
int SettingsSingleton::MOUSE_SENSITIVITY_MULTIPLIER = 100 |
|
staticconstexpr |
◆ port_number
int SettingsSingleton::port_number |
|
private |
◆ settings
QSettings SettingsSingleton::settings |
|
private |
The documentation for this class was generated from the following files: