MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / modify

Method modify

src/plugin/Settings.cpp:205–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203const std::wstring &Settings::get_active_multi_languages() const { return const_cast<Self *>(this)->get_active_multi_languages(); }
204
205TemporaryAcessor<Settings::Self> Settings::modify(SettingsModificationStyle modification_style) const {
206 auto non_const_this = const_cast<Self *>(this);
207 return {*non_const_this, [non_const_this, modification_style]() {
208 non_const_this->save(modification_style);
209 non_const_this->settings_changed();
210 }};
211}
212
213TemporaryAcessor<Settings::Self> Settings::modify_without_saving() const {
214 auto non_const_this = const_cast<Self *>(this);

Callers 15

plugin_clean_upFunction · 0.45
switch_auto_check_textFunction · 0.45
switch_debug_loggingFunction · 0.45
applyMethod · 0.45
apply_choiceMethod · 0.45
reset_settingsMethod · 0.45
run_dlg_procMethod · 0.45
apply_settingsMethod · 0.45
apply_lib_changeMethod · 0.45

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected