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

Method documentListActionTriggered

kdevplatform/sublime/container.cpp:850–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848}
849
850void Container::documentListActionTriggered(QAction* action)
851{
852 Q_D(Container);
853
854 auto* view = action->data().value< Sublime::View* >();
855 Q_ASSERT(view);
856 QWidget* widget = d->viewForWidget.key(view);
857 Q_ASSERT(widget);
858 setCurrentWidget(widget);
859}
860Sublime::View* Container::currentView() const
861{
862 Q_D(const Container);

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
keyMethod · 0.45

Tested by

no test coverage detected