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

Method onFileModified

src/plugins/codeeditor/gui/workspacewidget.cpp:995–1010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993}
994
995void WorkspaceWidgetPrivate::onFileModified(const QString &fileName)
996{
997 if (modifiedFileList.contains(fileName))
998 return;
999
1000 QStringList openedFiles;
1001 for (auto tabWidget : tabWidgetList)
1002 openedFiles.append(tabWidget->openedFiles());
1003
1004 if (!openedFiles.contains(fileName))
1005 return;
1006
1007 modifiedFileList << fileName;
1008 if (q->isActiveWindow())
1009 fileCheckTimer.start();
1010}
1011
1012WorkspaceWidget::WorkspaceWidget(QWidget *parent)
1013 : QWidget(parent),

Callers

nothing calls this directly

Calls 4

containsMethod · 0.45
appendMethod · 0.45
openedFilesMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected