MCPcopy Create free account
hub / github.com/KDE/kate / toolForCommand

Method toolForCommand

addons/externaltools/externaltoolsplugin.cpp:224–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224const KateExternalTool *KateExternalToolsPlugin::toolForCommand(const QString &cmd) const
225{
226 for (auto tool : m_tools) {
227 if (tool->cmdname == cmd) {
228 return tool;
229 }
230 }
231 return nullptr;
232}
233
234const QList<KateExternalTool *> &KateExternalToolsPlugin::tools() const
235{

Callers 2

execMethod · 0.80
helpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected