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

Method fileSet

plugins/quickopen/quickopenmodel.cpp:424–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424QSet<IndexedString> QuickOpenModel::fileSet() const
425{
426 std::vector<QSet<IndexedString>> sets;
427 for (const ProviderEntry& provider : m_providers) {
428 if (m_enabledScopes.isEmpty() || !(m_enabledScopes & provider.scopes).isEmpty()) {
429 if (auto* iface = qobject_cast<QuickOpenFileSetInterface*>(provider.provider)) {
430 sets.push_back(iface->files());
431 //qCDebug(PLUGIN_QUICKOPEN) << "got file-list with" << ifiles.count() << "entries from data-provider" << typeid(*iface).name();
432 }
433 }
434 }
435 return Algorithm::unite(std::move(sets));
436}
437
438QTreeView* QuickOpenModel::treeView() const
439{

Callers 10

loadMultiPathProjectMethod · 0.45
filesMethod · 0.45
resetMethod · 0.45
testProjectFileFilterMethod · 0.45
openAnyDocumentFunction · 0.45
getProjectFileSetsFunction · 0.45
launcherSuggestionsMethod · 0.45
loadMultiPathProjectMethod · 0.45

Calls 4

uniteFunction · 0.85
isEmptyMethod · 0.45
push_backMethod · 0.45
filesMethod · 0.45

Tested by 5

loadMultiPathProjectMethod · 0.36
testProjectFileFilterMethod · 0.36
openAnyDocumentFunction · 0.36
loadMultiPathProjectMethod · 0.36