52 SettingNotifier(
const SettingNotifier& other) =
delete;
53 SettingNotifier(SettingNotifier&& other) =
delete;
54 SettingNotifier& operator=(
const SettingNotifier& other) =
delete;
55 SettingNotifier& operator=(SettingNotifier&& other) =
delete;
57 ~SettingNotifier() =
default;
59 static SettingNotifier<KeyClass>* instance()
61 static SettingNotifier<KeyClass> inst;
67 m_settingNotifier->emitValueChanged();
71 void addListener(T* c,
void (T::*fn)())
73 m_settingNotifier->addListener(c, fn);
77 SettingNotifier() =
default;
79 std::unique_ptr<AbstrSettingNotifier> m_settingNotifier {std::make_unique<AbstrSettingNotifier>()};