MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / load

Method load

gui/showtypes.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void ShowTypes::load()
60{
61 QSettings settings;
62 mVisible[ShowStyle] = settings.value(SETTINGS_SHOW_STYLE, true).toBool();
63 mVisible[ShowErrors] = settings.value(SETTINGS_SHOW_ERRORS, true).toBool();
64 mVisible[ShowWarnings] = settings.value(SETTINGS_SHOW_WARNINGS, true).toBool();
65 mVisible[ShowPortability] = settings.value(SETTINGS_SHOW_PORTABILITY, true).toBool();
66 mVisible[ShowPerformance] = settings.value(SETTINGS_SHOW_PERFORMANCE, true).toBool();
67 mVisible[ShowInformation] = settings.value(SETTINGS_SHOW_INFORMATION, true).toBool();
68}
69
70void ShowTypes::save() const
71{

Callers 3

setLanguageMethod · 0.45
ProjectFileDialogMethod · 0.45
loadLibraryMethod · 0.45

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected