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

Method actionContainer

src/common/actionmanager/actionmanager.cpp:187–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187ActionContainer *ActionManager::actionContainer(const QString &containerId)
188{
189 auto it = d->idContainerMap.constFind(containerId);
190 if (it == d->idContainerMap.constEnd()) {
191 qWarning() << "failed to find :" << containerId;
192 return nullptr;
193 }
194 return it.value();
195}
196
197Command *ActionManager::registerAction(QAction *action, const QString &id, const QStringList &context)
198{

Callers 15

startMethod · 0.80
startMethod · 0.80
updateToolMenuMethod · 0.80
setupToolMenuMethod · 0.80
initializeMethod · 0.80
initMethod · 0.80
initializeMethod · 0.80
setupProjectMenuMethod · 0.80
setupFileMenuMethod · 0.80
gitActionMethod · 0.80
createGitSubMenuMethod · 0.80
createFileSubMenuMethod · 0.80

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected