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

Method openedFiles

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

Source from the content-addressed store, hash-verified

1184}
1185
1186QStringList WorkspaceWidget::openedFiles() const
1187{
1188 QStringList files;
1189 for (auto tabWidget : d->tabWidgetList)
1190 files << tabWidget->openedFiles();
1191
1192 // Delete duplicates
1193 auto tmp = files.toSet();
1194 return tmp.toList();
1195}
1196
1197QString WorkspaceWidget::fileText(const QString &fileName) const
1198{

Callers 3

handleSaveSessionMethod · 0.45
onFileDeletedMethod · 0.45
onFileModifiedMethod · 0.45

Calls 1

toListMethod · 0.80

Tested by

no test coverage detected