| 422 | } |
| 423 | |
| 424 | QSet<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 | |
| 438 | QTreeView* QuickOpenModel::treeView() const |
| 439 | { |