| 292 | } |
| 293 | |
| 294 | void NativeAppConfigType::configureLaunchFromItem ( KConfigGroup cfg, KDevelop::ProjectBaseItem* item ) const |
| 295 | { |
| 296 | cfg.writeEntry( ExecutePlugin::isExecutableEntry, false ); |
| 297 | KDevelop::ProjectModel* model = KDevelop::ICore::self()->projectController()->projectModel(); |
| 298 | cfg.writeEntry( ExecutePlugin::projectTargetEntry, model->pathFromIndex( model->indexFromItem( item ) ) ); |
| 299 | cfg.writeEntry( ExecutePlugin::workingDirEntry, item->executable()->builtUrl().adjusted(QUrl::RemoveFilename) ); |
| 300 | cfg.sync(); |
| 301 | } |
| 302 | |
| 303 | void NativeAppConfigType::configureLaunchFromCmdLineArguments ( KConfigGroup cfg, const QStringList& args ) const |
| 304 | { |
no test coverage detected