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

Method showCtxMenu

kdevplatform/project/projectitemlineedit.cpp:170–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168ProjectItemLineEdit::~ProjectItemLineEdit() = default;
169
170void ProjectItemLineEdit::showCtxMenu(const QPoint& p)
171{
172 auto* menu = createStandardContextMenu();
173 KDevelop::prepareStandardContextMenuToAddingCustomActions(menu, this);
174 menu->addActions(actions());
175
176 menu->setAttribute(Qt::WA_DeleteOnClose);
177 menu->popup(mapToGlobal(p));
178}
179
180bool ProjectItemLineEdit::selectItemDialog()
181{

Callers

nothing calls this directly

Tested by

no test coverage detected