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

Method showQuickOpen

plugins/quickopen/quickopenplugin.cpp:442–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442void QuickOpenPlugin::showQuickOpen(const QStringList& items)
443{
444 if (!freeModel()) {
445 return;
446 }
447
448 QStringList initialItems = items;
449
450 QStringList useScopes = lastUsedScopes;
451
452 const QString scopeCurrentlyOpenName = Strings::scopeCurrentlyOpenName();
453 if (!useScopes.contains(scopeCurrentlyOpenName)) {
454 useScopes << scopeCurrentlyOpenName;
455 }
456
457 showQuickOpenWidget(initialItems, useScopes, false);
458}
459
460void QuickOpenPlugin::showQuickOpen(ModelTypes modes)
461{

Callers

nothing calls this directly

Calls 5

scopeCurrentlyOpenNameFunction · 0.85
typeFilesNameFunction · 0.85
typeFunctionsNameFunction · 0.85
typeClassesNameFunction · 0.85
containsMethod · 0.45

Tested by

no test coverage detected