| 47 | } |
| 48 | |
| 49 | void CustomCommands::initialize(bool checkable, bool checked, const QString& prelaunch, const QString& wrapper, const QString& postexit) |
| 50 | { |
| 51 | ui->customCommandsGroupBox->setCheckable(checkable); |
| 52 | if (checkable) { |
| 53 | ui->customCommandsGroupBox->setChecked(checked); |
| 54 | } |
| 55 | ui->preLaunchCmdTextBox->setText(prelaunch); |
| 56 | ui->wrapperCmdTextBox->setText(wrapper); |
| 57 | ui->postExitCmdTextBox->setText(postexit); |
| 58 | } |
| 59 | |
| 60 | void CustomCommands::retranslate() |
| 61 | { |
no test coverage detected