20 #ifndef SETTINGSFORQT_H
21 #define SETTINGSFORQT_H
26 #include "../core/settings.h"
77 virtual void setLanguageId(
const std::string &s)
override final;
221 #endif // SETTINGSFORQT_H
const QString & getOuputDeviceName() const
Getter function for mOutputDeviceName.
int mOutputDeviceSamplingRate
output device sampling rate
QString mInputDeviceName
input device name
static const QString KEY_CURRENT_FILE_DIALOG_PATH
std::vector< int > mDoNotShowAgainMessageBoxes
store the ids of the message boxes that wont show again
void setDoNotShowAgainMessageBox(int id, bool doNotShowAgain)
Sets a AutoClosingMessageBox state whether to show again.
SoundGeneratorMode
Mode for sound generation.
QString mOutputDeviceName
output device name
int getInputDeviceSamplingRate() const
Getter function for mInputDeviceSamplingRate.
virtual void setLanguageId(const std::string &s) overridefinal
Set the language id (en, de, fr,-...)
qlonglong mApplicationRuns
Counter for the application runs.
const QString & getInputDeviceName() const
Getter function for mInputDeviceName.
virtual void setSoundGeneratorVolumeDynamic(bool dynamic) overridefinal
Set flag for dynamic volume adaption in the tuning mode.
int getLastVisitedOptionsPage() const
Getter function for mLastVisitedOptionsPage.
bool doNotShowAgainMessageBox(int id) const
Getter function to check if the given AutoClosingMessageBox shall not be shown again.
SettingsForQt()
Empty default constructor.
virtual void setStroboscopeMode(bool enable) overridefinal
Set flag indicating the stroboscopic mode of the tuning indicator.
void setOutputDeviceName(const QString &s)
Setter function for mOutputDeviceName.
void setLastVisitedOptionsPage(int id)
Setter function for mLastVisitedOptionsPage.
virtual void setDisableAutomaticKeySelection(bool disable) overridefinal
Set flag disabling automatic selection of the key during tuning.
void increaseApplicationRuns()
Increments mApplicationRuns.
int getOutputDeviceSamplingRate() const
Getter function for mOutputDeviceSamplingRate.
virtual void setSoundGeneratorMode(SoundGenerator::SoundGeneratorMode mode) overridefinal
Set the last operation mode of the sound generator.
void setInputDeviceName(const QString &s)
Setter function for mInputDeviceName.
int mInputDeviceSamplingRate
input device sampling rate
QSettings mSettings
The QSettings that will store all values to the storage.
void setInputDeviceSamplingRate(int rate)
Setter function for mInputDeviceSamplingRate.
qlonglong getApplicationRuns() const
Getter function for mApplicationRuns.
size_t countCurrentDoNotShowAgainMessageBoxes() const
Get the count of all do not show again message boxes whose states are stored.
void setOutputDeviceSamplingRate(int rate)
Setter function for mOutputDeviceSamplingRate.
static SettingsForQt & getSingleton()
Getter function for the singleton.
void load()
Function to load the settings from the storage.
virtual std::string getUserLanguageId() const overridefinal
Settings::getUserLanguageId.
~SettingsForQt()
Empty defaul destructor.
virtual void setLastUsedAlgorithm(const std::string &name) overridefinal
Set the name of the last used algorithm.
int mLastVisitedOptionsPage
last activated options page