MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getAsParam

Method getAsParam

src/openms_gui/source/VISUAL/RecentFilesMenu.cpp:73–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 Param RecentFilesMenu::getAsParam() const
74 {
75 Param p;
76 int i{ 0 };
77 for (const auto& f : recent_files_)
78 {
79 p.setValue(String(i), f.toStdString());
80 ++i;
81 }
82 return p;
83 }
84
85 QMenu* RecentFilesMenu::getMenu()
86 {

Callers 2

savePreferencesMethod · 0.80
savePreferencesMethod · 0.80

Calls 2

StringClass · 0.50
setValueMethod · 0.45

Tested by

no test coverage detected