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

Method ExecuteScriptPlugin

plugins/executescript/executescriptplugin.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24K_PLUGIN_FACTORY_WITH_JSON(KDevExecuteFactory, "kdevexecutescript.json", registerPlugin<ExecuteScriptPlugin>();)
25
26ExecuteScriptPlugin::ExecuteScriptPlugin(QObject* parent, const KPluginMetaData& metaData, const QVariantList&)
27 : KDevelop::IPlugin(QStringLiteral("kdevexecutescript"), parent, metaData)
28{
29 m_configType = new ScriptAppConfigType();
30 m_configType->addLauncher( new ScriptAppLauncher( this ) );
31 qCDebug(PLUGIN_EXECUTESCRIPT) << "adding script launch config";
32 core()->runController()->addConfigurationType( m_configType );
33}
34
35ExecuteScriptPlugin::~ExecuteScriptPlugin()
36{

Callers

nothing calls this directly

Calls 3

addLauncherMethod · 0.80
addConfigurationTypeMethod · 0.80
runControllerMethod · 0.80

Tested by

no test coverage detected