MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / exportMenu

Method exportMenu

src/interface/QMenuEditor.cpp:166–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166QMenu* QMenuEditor::exportMenu()
167{
168 QMenu *menu = new QMenu();
169
170 for (auto item : std::as_const(mTarget))
171 {
172 if (item->isSeparator())
173 {
174 menu->addSeparator();
175 }
176 else
177 {
178 menu->addAction(item);
179 }
180 }
181
182 return menu;
183}
184
185void QMenuEditor::setIconStyle(bool white)
186{

Callers 2

onTrayEditorCommittedMethod · 0.80
onTrayEditorResetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected