Esempio n. 1
0
void DirectoryView::slotFolderSelected( QListViewItem *i )
{
	if (!i || !showDirsOnly()) return;

	Directory *dir = reinterpret_cast<Directory*>(i);
	emit folderSelected(dir->fullName());
}
Esempio n. 2
0
void DirectoryView::slotFolderSelected( QListViewItem *i )
{
  if ( !i )	return;

  Directory *dir = (Directory*)i;
  emit folderSelected( dir->fullName() );
}
Esempio n. 3
0
QString DirectoryView::selectedDir()
{
  Directory *dir = (Directory*)currentItem();
  return dir->fullName();
}