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

Method ExecutePlugin

plugins/execute/executeplugin.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29K_PLUGIN_FACTORY_WITH_JSON(KDevExecuteFactory, "kdevexecute.json", registerPlugin<ExecutePlugin>();)
30
31ExecutePlugin::ExecutePlugin(QObject* parent, const KPluginMetaData& metaData, const QVariantList&)
32 : KDevelop::IPlugin(QStringLiteral("kdevexecute"), parent, metaData)
33{
34 m_configType = new NativeAppConfigType();
35 m_configType->addLauncher( new NativeAppLauncher() );
36 qCDebug(PLUGIN_EXECUTE) << "adding native app launch config";
37 core()->runController()->addConfigurationType( m_configType );
38}
39
40ExecutePlugin::~ExecutePlugin()
41{

Callers

nothing calls this directly

Calls 3

addLauncherMethod · 0.80
addConfigurationTypeMethod · 0.80
runControllerMethod · 0.80

Tested by

no test coverage detected