MCPcopy Create free account
hub / github.com/KDE/kdiff3 / slotViewStatusBar

Method slotViewStatusBar

src/kdiff3.cpp:1245–1264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243}
1244
1245void KDiff3App::slotViewStatusBar()
1246{
1247 slotStatusMsg(i18n("Toggle the statusbar..."));
1248 gOptions->setStatusBarState(viewStatusBar->isChecked());
1249 ///////////////////////////////////////////////////////////////////
1250 //turn Statusbar on or off
1251 if(statusBar() != nullptr)
1252 {
1253 if(!viewStatusBar->isChecked())
1254 {
1255 statusBar()->hide();
1256 }
1257 else
1258 {
1259 statusBar()->show();
1260 }
1261 }
1262
1263 slotStatusMsg(i18n("Ready."));
1264}
1265
1266void KDiff3App::slotStatusMsg(const QString& text)
1267{

Callers

nothing calls this directly

Calls 3

setStatusBarStateMethod · 0.80
hideMethod · 0.80
showMethod · 0.80

Tested by

no test coverage detected