MCPcopy Create free account
hub / github.com/KDE/kdevelop / openFiles

Function openFiles

plugins/quickopen/projectfilequickopen.cpp:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42namespace {
43template<typename IndexedPath = IndexedString>
44QSet<IndexedPath> openFiles()
45{
46 QSet<IndexedPath> openFiles;
47 const QList<IDocument*>& docs = ICore::self()->documentController()->openDocuments();
48 openFiles.reserve(docs.size());
49 for (IDocument* doc : docs) {
50 openFiles << IndexedPath{doc->url()};
51 }
52 return openFiles;
53}
54
55QString iconNameForPath(IndexedStringView indexedPath)
56{

Callers 5

executeMethod · 0.70
filesMethod · 0.70
openMethod · 0.50
showItemFromUrlMethod · 0.50
openFileMethod · 0.50

Calls 5

openDocumentsMethod · 0.80
documentControllerMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45
urlMethod · 0.45

Tested by

no test coverage detected