MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / saveAs

Method saveAs

src/plugins/codeeditor/gui/tabwidget.cpp:666–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666bool 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
676void TabWidget::reloadFile(const QString &fileName)
677{

Callers

nothing calls this directly

Calls 1

findEditorMethod · 0.80

Tested by

no test coverage detected