| 14 | } |
| 15 | |
| 16 | void CustomCommands::initialize(bool checkable, bool checked, const QString& prelaunch, const QString& wrapper, const QString& postexit) |
| 17 | { |
| 18 | ui->customCommandsGroupBox->setCheckable(checkable); |
| 19 | if(checkable) |
| 20 | { |
| 21 | ui->customCommandsGroupBox->setChecked(checked); |
| 22 | } |
| 23 | ui->preLaunchCmdTextBox->setText(prelaunch); |
| 24 | ui->wrapperCmdTextBox->setText(wrapper); |
| 25 | ui->postExitCmdTextBox->setText(postexit); |
| 26 | } |
| 27 | |
| 28 | |
| 29 | bool CustomCommands::checked() const |
no test coverage detected