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

Method executeScriptFromActionData

plugins/externalscript/externalscriptplugin.cpp:315–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void ExternalScriptPlugin::executeScriptFromActionData() const
316{
317 auto* action = qobject_cast<QAction*>(sender());
318 Q_ASSERT(action);
319
320 auto* item = action->data().value<ExternalScriptItem*>();
321 Q_ASSERT(item);
322
323 execute(item);
324}
325
326void ExternalScriptPlugin::executeScriptFromContextMenu() const
327{

Callers

nothing calls this directly

Calls 2

executeFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected