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

Method toggleArea

kdevplatform/shell/mainwindow_p.cpp:324–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void MainWindowPrivate::toggleArea(bool b)
325{
326 if (!b) return;
327 auto* action = qobject_cast<QAction*>(sender());
328 if (!action) return;
329 m_mainWindow->controller()->showArea(action->data().toString(), m_mainWindow);
330}
331
332KActionCollection * MainWindowPrivate::actionCollection()
333{

Callers

nothing calls this directly

Calls 4

showAreaMethod · 0.80
controllerMethod · 0.45
toStringMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected