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

Method save

gui/showtypes.cpp:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void ShowTypes::save() const
71{
72 QSettings settings;
73 settings.setValue(SETTINGS_SHOW_STYLE, mVisible[ShowStyle]);
74 settings.setValue(SETTINGS_SHOW_ERRORS, mVisible[ShowErrors]);
75 settings.setValue(SETTINGS_SHOW_WARNINGS, mVisible[ShowWarnings]);
76 settings.setValue(SETTINGS_SHOW_PORTABILITY, mVisible[ShowPortability]);
77 settings.setValue(SETTINGS_SHOW_PERFORMANCE, mVisible[ShowPerformance]);
78 settings.setValue(SETTINGS_SHOW_INFORMATION, mVisible[ShowInformation]);
79}
80
81bool ShowTypes::isShown(ShowTypes::ShowType category) const
82{

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected