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

Method event

kdevplatform/shell/workingsets/workingsettoolbutton.cpp:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126bool WorkingSetToolButton::event(QEvent* e)
127{
128 if(m_toolTipEnabled && e->type() == QEvent::ToolTip) {
129 auto* helpEvent = static_cast<QHelpEvent*>(e);
130 showTooltip(helpEvent->globalPos());
131 e->accept();
132 return true;
133 }
134
135 return QToolButton::event(e);
136}
137
138void WorkingSetToolButton::showTooltip(const QPoint& globalPos)
139{

Callers

nothing calls this directly

Calls 3

eventFunction · 0.85
typeMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected