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

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

Display in a dialog box some informations concerning the selected file

Display in a dialog box some informations concerning the selected file

Definition at line 1298 of file karchiveur.cpp.

References CArchiveChoice::findKindOfCompressor(), CArchiveChoice::getKindOfCompressor(), CProprietes::setFileName(), CProprietes::setFilePath(), CProprietes::setPermission(), CProprietes::setSize(), and view.

Referenced by initActions(), and slotContextualMenuActivated().

                                              {
  CProprietes propr;
  QListViewItem* l;
  int kindofCompressor;
  
  l=view->currentItem();
  archivechoice->findKindOfCompressor();
  kindofCompressor=archivechoice->getKindOfCompressor();

  propr.setFileName(l->text(0));
  propr.setFilePath(l->text(6));
  propr.setSize(l->text(1));
  if((kindofCompressor==TAR)||(kindofCompressor==TARGZ)||(kindofCompressor==TARBZ2))
          propr.setPermission(l->text(5));
  
  propr.exec();
}


Generated by  Doxygen 1.6.0   Back to index