MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / insertMenu

Method insertMenu

src/common/actionmanager/actioncontainer.cpp:265–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265void ActionContainer::insertMenu(QAction *before, ActionContainer *container)
266{
267 QMenu *menu = container->menu();
268 QTC_ASSERT(menu, return );
269 menu->setParent(d->menu, menu->windowFlags());
270 d->menu->insertMenu(before, menu);
271}
272
273void ActionContainer::removeAction(Command *command)
274{

Callers

nothing calls this directly

Calls 1

menuMethod · 0.80

Tested by

no test coverage detected