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

void KarchiveurApp::slotComboDirectoriesActivated ( int  index  )  [protected, slot]

User wants to go to a subfolder

Definition at line 1898 of file karchiveur.cpp.

References cbdirectories, CArchive::displayArchiveContent(), displayMessageArchiveSize(), and supportDisplayByDirs().

Referenced by KarchiveurApp().

                                                          {
  QString path;
  int i;

  if(!supportDisplayByDirs())
    return;

  for(i=0;i<=index;i++)
  {
    path+=cbdirectories->text(i);
    if(!path.endsWith("/"))
        path+="/";
  }
  path=path.left(path.length()-1);
  kdDebug()<<QString("Going to %1, basepath=%2").arg(cbdirectories->text(index)).arg(path)<<endl;
  selectedfilesStatusbarMessage.nbselectedfiles=0;
  selectedfilesStatusbarMessage.sizeselectedfiles=0;
  displayMessageArchiveSize();
  archiveobj->displayArchiveContent(cbdirectories->text(index),path);
}


Generated by  Doxygen 1.6.0   Back to index