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

Method accept

kdevplatform/language/duchain/navigation/abstractnavigationcontext.cpp:456–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456NavigationContextPointer AbstractNavigationContext::accept()
457{
458 Q_D(AbstractNavigationContext);
459
460 if (d->m_selectedLink >= 0 && d->m_selectedLink < d->m_linkCount) {
461 NavigationAction action = d->m_intLinks[d->m_selectedLink];
462 return execute(action);
463 }
464 return NavigationContextPointer(this);
465}
466
467NavigationContextPointer AbstractNavigationContext::accept(IndexedDeclaration decl)
468{

Callers

nothing calls this directly

Calls 2

executeFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected