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

Method ExecutePlasmoidPlugin

plugins/executeplasmoid/executeplasmoidplugin.cpp:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22K_PLUGIN_FACTORY_WITH_JSON(KDevExecutePlasmoidFactory,"kdevexecuteplasmoid.json", registerPlugin<ExecutePlasmoidPlugin>(); )
23
24ExecutePlasmoidPlugin::ExecutePlasmoidPlugin(QObject* parent, const KPluginMetaData& metaData, const QVariantList&)
25 : KDevelop::IPlugin(QStringLiteral("kdevexecuteplasmoid"), parent, metaData)
26{
27 m_configType = new PlasmoidExecutionConfigType();
28 m_configType->addLauncher( new PlasmoidLauncher( this ) );
29 qCDebug(EXECUTEPLASMOID) << "adding plasmoid launch config";
30 core()->runController()->addConfigurationType( m_configType );
31}
32
33ExecutePlasmoidPlugin::~ExecutePlasmoidPlugin()
34{}

Callers

nothing calls this directly

Calls 3

addLauncherMethod · 0.80
addConfigurationTypeMethod · 0.80
runControllerMethod · 0.80

Tested by

no test coverage detected