| 128 | } |
| 129 | |
| 130 | QStringList ExecuteScriptPlugin::interpreter(KDevelop::ILaunchConfiguration* cfg, QString& err) const |
| 131 | { |
| 132 | if( !cfg ) |
| 133 | { |
| 134 | return {}; |
| 135 | } |
| 136 | KConfigGroup grp = cfg->config(); |
| 137 | auto interpreterString = grp.readEntry(ExecuteScriptPlugin::interpreterEntry, QString{}); |
| 138 | |
| 139 | return splitNonemptyLaunchConfigurationEntry( |
| 140 | *cfg, interpreterString, LaunchConfigurationEntryName{"interpreter command", i18n("interpreter command")}, err); |
| 141 | } |
| 142 | |
| 143 | QUrl ExecuteScriptPlugin::workingDirectory( KDevelop::ILaunchConfiguration* cfg ) const |
| 144 | { |
no test coverage detected