| 216 | } |
| 217 | |
| 218 | void 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 |
nothing calls this directly
no test coverage detected