| 161 | } |
| 162 | |
| 163 | void NativeAppConfigPage::saveToConfiguration( KConfigGroup cfg, KDevelop::IProject* project ) const |
| 164 | { |
| 165 | Q_UNUSED( project ); |
| 166 | cfg.writeEntry( ExecutePlugin::isExecutableEntry, executableRadio->isChecked() ); |
| 167 | cfg.writeEntry( ExecutePlugin::executableEntry, executablePath->url() ); |
| 168 | cfg.writeEntry( ExecutePlugin::projectTargetEntry, projectTarget->currentItemPath() ); |
| 169 | cfg.writeEntry( ExecutePlugin::argumentsEntry, arguments->text() ); |
| 170 | cfg.writeEntry( ExecutePlugin::workingDirEntry, workingDirectory->url() ); |
| 171 | cfg.writeEntry( ExecutePlugin::environmentProfileEntry, environment->currentProfile() ); |
| 172 | cfg.writeEntry( ExecutePlugin::useTerminalEntry, runInTerminal->isChecked() ); |
| 173 | cfg.writeEntry( ExecutePlugin::terminalEntry, terminal->currentText() ); |
| 174 | cfg.writeEntry( ExecutePlugin::dependencyActionEntry, dependencyAction->itemData( dependencyAction->currentIndex() ).toString() ); |
| 175 | cfg.writeEntry( ExecutePlugin::killBeforeExecutingAgain, killBeforeStartingAgain->itemData( killBeforeStartingAgain->currentIndex() ).toInt() ); |
| 176 | QVariantList deps = dependencies->dependencies(); |
| 177 | cfg.writeEntry( ExecutePlugin::dependencyEntry, KDevelop::qvariantToString( QVariant( deps ) ) ); |
| 178 | } |
| 179 | |
| 180 | QString NativeAppConfigPage::title() const |
| 181 | { |
nothing calls this directly
no test coverage detected