Logo Search packages:      
Sourcecode: karchiver version File versions  Download package

void KarchiveurApp::slotViewStatusBar (  )  [slot]

toggles the statusbar

Definition at line 535 of file karchiveur.cpp.

References cbdirectories, and slotStatusMsg().

Referenced by initActions(), and readOptions().

{
  slotStatusMsg(i18n("Toggle the statusbar..."));
  ///////////////////////////////////////////////////////////////////
  //turn Statusbar on or off
  if(!viewStatusbar->isChecked())
  {
          statusBar()->hide();
  }
  else
  {
          statusBar()->show();
    if(viewbydirectories)
      cbdirectories->show();
    else
      cbdirectories->hide();
  }
  repaint();
  slotStatusMsg(i18n(IDS_STATUS_DEFAULT));
}


Generated by  Doxygen 1.6.0   Back to index