| 306 | } |
| 307 | |
| 308 | QString |
| 309 | EditScriptDialog::getExpression(bool* hasRetVariable) const |
| 310 | { |
| 311 | if (hasRetVariable) { |
| 312 | *hasRetVariable = _imp->useRetButton ? _imp->useRetButton->isChecked() : false; |
| 313 | } |
| 314 | |
| 315 | return _imp->expressionEdit->toPlainText(); |
| 316 | } |
| 317 | |
| 318 | bool |
| 319 | EditScriptDialog::isUseRetButtonChecked() const |
no test coverage detected