| 183 | } |
| 184 | |
| 185 | void WorkingSetController::showGlobalToolTip() |
| 186 | { |
| 187 | auto* window = static_cast<KDevelop::MainWindow*>(Core::self()->uiControllerInternal()->activeMainWindow()); |
| 188 | |
| 189 | showToolTip(workingSet(window->area()->workingSet()), |
| 190 | window->mapToGlobal(window->geometry().topRight())); |
| 191 | |
| 192 | connect(m_hideToolTipTimer, &QTimer::timeout, m_tooltip.data(), &ActiveToolTip::deleteLater); |
| 193 | m_hideToolTipTimer->start(); |
| 194 | connect(m_tooltip.data(), &ActiveToolTip::mouseIn, m_hideToolTipTimer, &QTimer::stop); |
| 195 | connect(m_tooltip.data(), &ActiveToolTip::mouseOut, m_hideToolTipTimer, QOverload<>::of(&QTimer::start)); |
| 196 | } |
| 197 | |
| 198 | WorkingSetToolTipWidget* WorkingSetController::workingSetToolTip() |
| 199 | { |
nothing calls this directly
no test coverage detected