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

Method saveFile

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

Source from the content-addressed store, hash-verified

1083}
1084
1085void TabWidget::saveFile(const QString &fileName)
1086{
1087 if (auto editor = d->findEditor(fileName)) {
1088 Inotify::globalInstance()->removePath(fileName);
1089 editor->save();
1090 Inotify::globalInstance()->addPath(fileName);
1091 }
1092}
1093
1094void TabWidget::dragEnterEvent(QDragEnterEvent *event)
1095{

Callers 1

doSaveMethod · 0.45

Calls 4

findEditorMethod · 0.80
removePathMethod · 0.45
saveMethod · 0.45
addPathMethod · 0.45

Tested by

no test coverage detected