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

void KarchiveurApp::slotRedo (  )  [protected, slot]

Redo the last operation (i.e. remove once again the selected file)

Definition at line 745 of file karchiveur.cpp.

References CLed::setColor(), slotRemoveWithUndoThoseFiles(), and slotStatusMsg().

Referenced by initActions().

                            {
  if((listRedo.isEmpty())||(!listUndo.isEmpty()))
  {
          led->setColor(QColor("orange"));
          slotStatusMsg(i18n("Nothing to redo!"));
          return;
  }

  slotRemoveWithUndoThoseFiles(listRedo);
  listUndo=listRedo;
  listRedo.clear();
  editUndo->setEnabled(true);
  editRedo->setEnabled(false);
}


Generated by  Doxygen 1.6.0   Back to index