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

Method setupActions

kdevplatform/shell/partcontroller.cpp:218–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void PartController::setupActions()
219{
220 Q_D(PartController);
221
222 KActionCollection* actionCollection =
223 d->m_core->uiControllerInternal()->defaultMainWindow()->actionCollection();
224
225 QAction* action;
226
227 action = KStandardAction::showStatusbar(this, SLOT(setShowTextEditorStatusBar(bool)), actionCollection);
228 action->setWhatsThis(i18nc("@info:whatsthis", "Use this command to show or hide the view's statusbar."));
229 action->setChecked(showTextEditorStatusBar());
230}
231
232}
233

Callers

nothing calls this directly

Calls 3

defaultMainWindowMethod · 0.80
uiControllerInternalMethod · 0.80
actionCollectionMethod · 0.45

Tested by

no test coverage detected