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