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

void KarchiveurApp::slotDisplayArchiveInfos (  )  [slot]

display some infos about the current archive

Definition at line 806 of file karchiveur.cpp.

References archiveSize(), CArchive::fetchArchiveInfos(), CArchive::getArchiveComments(), CArchiveChoice::getArchiveName(), and CInfos::initialise().

Referenced by initActions().

                                           {
  int nbfiles;
  int archiveSize;
  int totalSizeOfFiles;
  float sigma;
  float compressrate;
  float meanFileSize;
  if(operation==NOARCHIVE)
    return;
  archiveobj->fetchArchiveInfos(nbfiles, archiveSize, totalSizeOfFiles, sigma, compressrate);
  meanFileSize=totalSizeOfFiles/(float)nbfiles;
  
  CInfos dlginfos;
  dlginfos.initialise(archivechoice->getArchiveName(), archiveobj->getArchiveComments(), nbfiles,archiveSize , totalSizeOfFiles, (int)meanFileSize, (int) compressrate, (int)sigma);
  dlginfos.exec();
}


Generated by  Doxygen 1.6.0   Back to index