void DirectoryView::slotFolderSelected( QListViewItem *i ) { if (!i || !showDirsOnly()) return; Directory *dir = reinterpret_cast<Directory*>(i); emit folderSelected(dir->fullName()); }
void DirectoryView::slotFolderSelected( QListViewItem *i ) { if ( !i ) return; Directory *dir = (Directory*)i; emit folderSelected( dir->fullName() ); }
QString DirectoryView::selectedDir() { Directory *dir = (Directory*)currentItem(); return dir->fullName(); }