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

Method installTool

src/plugins/binarytools/configure/binarytoolsmanager.cpp:456–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456void BinaryToolsManager::installTool(const QString &id)
457{
458 const auto &tool = findTool(id);
459 if (!tool.isValid())
460 return;
461
462 if (!terminalSrv)
463 terminalSrv = dpfGetService(TerminalService);
464
465 uiController.switchContext(TERMINAL_TAB_TEXT);
466 terminalSrv->sendCommand(tool.advSettings.installCommand);
467}
468
469void BinaryToolsManager::eventTriggered(EventType event, const QVariantList &args)
470{

Callers 1

handleNotifyEventMethod · 0.80

Calls 2

sendCommandMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected