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

Method start

plugins/executescript/scriptappconfig.cpp:144–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144KJob* ScriptAppLauncher::start(const QString& launchMode, KDevelop::ILaunchConfiguration* cfg)
145{
146 Q_ASSERT(cfg);
147 if( !cfg )
148 {
149 return nullptr;
150 }
151 if( launchMode == QLatin1String("execute") )
152 {
153 return new ScriptAppJob( m_plugin, cfg);
154 }
155 qCWarning(PLUGIN_EXECUTESCRIPT) << "Unknown launch mode " << launchMode << "for config:" << cfg->name();
156 return nullptr;
157}
158
159QStringList ScriptAppLauncher::supportedModes() const
160{

Callers

nothing calls this directly

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected