4 #ifndef CM_AudioSettings_H
5 #define CM_AudioSettings_H
21 #define AUDIOSETTINGS_QSTRING(x) tilde::AudioSettings::inst().getQString(x)
22 #define TILDE_AUDIOSETTINGS_INIT tilde::AudioSettings::inst().init()
23 #define AUDIOSETTINGS_LISTENER(x, y) connect(get(x), &Property::changed, this, y)
39 std::map<std::string, QString> _data;
46 AudioSettings(AudioSettings
const&) =
delete;
47 void operator=(AudioSettings
const&) =
delete;
53 return get(key)->asQString();
88 void slotSetAudioDriver() { qDebug() <<
"audio driver"; }
89 void slotSetAudioInput() {}
90 void slotSetAudioOutput() {}
94 #endif // CM_AudioSettings_H
app AudioSettings singleton
Definition: AudioSettings.h:29
void init()
Definition: AudioSettings.h:58
QString getQString(QString key)
Definition: AudioSettings.h:50
static AudioSettings & inst()
Definition: AudioSettings.h:32
Property handling class for ui object - property list.
Definition: PropertyList.h:34
void operator=(AudioSettings const &)=delete
OOPD * instance
Definition: OOPD.cpp:20