| 664 | } |
| 665 | |
| 666 | bool TabWidget::saveAs(const QString &from, const QString &to) |
| 667 | { |
| 668 | if (auto editor = d->findEditor(from)) { |
| 669 | editor->saveAs(to); |
| 670 | return true; |
| 671 | } |
| 672 | |
| 673 | return false; |
| 674 | } |
| 675 | |
| 676 | void TabWidget::reloadFile(const QString &fileName) |
| 677 | { |
nothing calls this directly
no test coverage detected