| 4348 | |
| 4349 | |
| 4350 | void Widget::updateProgramSource(bool notWhenHidden) |
| 4351 | // ---------------------------------------------------------------------------- |
| 4352 | // Update the contents of the program source window |
| 4353 | // ---------------------------------------------------------------------------- |
| 4354 | { |
| 4355 | #ifndef CFG_NOSRCEDIT |
| 4356 | Window *window = taoWindow(); |
| 4357 | if ((window->src->isHidden() && notWhenHidden) || |
| 4358 | !xlProgram || sourceChanged()) |
| 4359 | return; |
| 4360 | window->srcEdit->render(xlProgram->tree, &selectionTrees); |
| 4361 | #else |
| 4362 | Q_UNUSED(notWhenHidden); |
| 4363 | #endif |
| 4364 | } |
| 4365 | |
| 4366 | |
| 4367 | QStringList Widget::listNames() |
no test coverage detected