MCPcopy Create free account
hub / github.com/KDE/kdevelop / setMode

Method setMode

plugins/debuggercommon/registers/modelsmanager.cpp:343–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343void ModelsManager::setMode(const QString& group, Mode mode)
344{
345 const auto namesOfRegisterGroups = m_controller->namesOfRegisterGroups();
346 for (const GroupsName& g : namesOfRegisterGroups) {
347 if (g.name() == group) {
348 m_controller->setMode(mode, g);
349 save(g);
350 break;
351 }
352 }
353}
354
355#include "moc_modelsmanager.cpp"

Callers 15

ConfigWidgetMethod · 0.45
LldbConfigPageMethod · 0.45
showStashMethod · 0.45
diffReadyMethod · 0.45
NativeAppConfigPageMethod · 0.45
LocalPatchWidgetMethod · 0.45
prepareFormMethod · 0.45
sourceTextChangedMethod · 0.45
QMakeBuildDirChooserMethod · 0.45
menuTriggeredMethod · 0.45
ScriptAppConfigPageMethod · 0.45
IncludesWidgetMethod · 0.45

Calls 2

namesOfRegisterGroupsMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected