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

void ExtractDlg::setFile ( const KURL &  url,
const QString &  comp 
)

Set name of the file

Definition at line 228 of file extractdlg.cpp.

References extractCompress, and slotOutputMessages().

Referenced by Kconfigure::openExtractURL().

{
      FileName_label->setText( url.fileName() );
      DirName_label->setText( url.directory(false,true) );
      extractCompress = comp;

      QApplication::connect( &q, SIGNAL(receivedStdout(KProcess *, char *, int)),this,SLOT(slotOutputMessages(KProcess *, char *, int)));
      QApplication::connect( &q, SIGNAL(receivedStderr(KProcess *, char *, int)),this,SLOT(slotOutputMessages(KProcess *, char *, int)));
      execute( "tar -t" + extractCompress + "f " + DirName_label->text() + FileName_label->text() );
}


Generated by  Doxygen 1.6.0   Back to index