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

Method configureLaunchFromItem

plugins/executescript/scriptappconfig.cpp:220–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220void ScriptAppConfigType::configureLaunchFromItem(KConfigGroup config, KDevelop::ProjectBaseItem* item) const
221{
222 config.writeEntry(ExecuteScriptPlugin::executableEntry, item->path().toUrl());
223 config.writeEntry(ExecuteScriptPlugin::interpreterEntry, interpreterForUrl(item->path().toUrl()));
224 config.writeEntry(ExecuteScriptPlugin::outputFilteringEntry, 2u);
225 config.writeEntry(ExecuteScriptPlugin::runCurrentFileEntry, false);
226 config.sync();
227}
228
229void ScriptAppConfigType::configureLaunchFromCmdLineArguments(KConfigGroup cfg, const QStringList &args) const
230{

Callers

nothing calls this directly

Calls 4

interpreterForUrlFunction · 0.85
writeEntryMethod · 0.80
toUrlMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected