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

Method unpopulateContextMenu

kdevplatform/shell/textdocument.cpp:707–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707void KDevelop::TextDocument::unpopulateContextMenu()
708{
709 Q_D(TextDocument);
710
711 auto* menu = qobject_cast<QMenu*>(sender());
712
713 disconnect(menu, &QMenu::aboutToHide, this, &TextDocument::unpopulateContextMenu);
714
715 d->cleanContextMenu();
716}
717
718void KDevelop::TextDocument::populateContextMenu( KTextEditor::View* v, QMenu* menu )
719{

Callers

nothing calls this directly

Calls 1

cleanContextMenuMethod · 0.80

Tested by

no test coverage detected