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

Method SettingsDialog

src/ui/SettingsDialog.cpp:763–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761AdvancedSettingsTab *SettingsDialog::get_advanced_dlg() { return &m_advanced_dlg; }
762
763SettingsDialog::SettingsDialog(HINSTANCE h_inst, HWND parent, NppInterface &npp, const Settings &settings, const SpellerContainer &speller_container)
764 : m_npp(npp), m_simple_dlg(*this, settings, m_npp), m_advanced_dlg(settings), m_settings(settings), m_speller_container(speller_container) {
765 Window::init(h_inst, parent);
766 m_settings.settings_changed.connect([this] { update_controls(); });
767 m_speller_container.speller_status_changed.connect([this] {
768 m_simple_dlg.update_language_controls(m_settings, m_speller_container, m_selected_language_name);
769 m_simple_dlg.fill_lib_info(m_speller_container.get_aspell_status(), m_settings);
770 });
771}
772
773void SettingsDialog::destroy() {
774 m_simple_dlg.destroy();

Callers

nothing calls this directly

Calls 4

connectMethod · 0.80
fill_lib_infoMethod · 0.80
get_aspell_statusMethod · 0.80

Tested by

no test coverage detected