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

Method createContainer

src/common/actionmanager/actionmanager.cpp:174–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174ActionContainer *ActionManager::createContainer(const QString &containerId)
175{
176 auto it = d->idContainerMap.constFind(containerId);
177 if (it != d->idContainerMap.constEnd())
178 return it.value();
179
180 auto mc = new ActionContainer(containerId, d);
181 d->idContainerMap.insert(containerId, mc);
182 connect(mc, &QObject::destroyed, d, &ActionManagerPrivate::containerDestroyed);
183
184 return mc;
185}
186
187ActionContainer *ActionManager::actionContainer(const QString &containerId)
188{

Callers 9

startMethod · 0.80
updateToolMenuMethod · 0.80
setupToolMenuMethod · 0.80
initMethod · 0.80
initializeMethod · 0.80
createGitSubMenuMethod · 0.80
initActionsMethod · 0.80
startMethod · 0.80

Calls 3

connectFunction · 0.85
insertMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected