Пример #1
0
void DirectoryView::slotFolderSelected( QListViewItem *i )
{
	if (!i || !showDirsOnly()) return;

	Directory *dir = reinterpret_cast<Directory*>(i);
	emit folderSelected(dir->fullName());
}
Пример #2
0
void DirectoryView::slotFolderSelected( QListViewItem *i )
{
  if ( !i )	return;

  Directory *dir = (Directory*)i;
  emit folderSelected( dir->fullName() );
}
Пример #3
0
QString DirectoryView::selectedDir()
{
  Directory *dir = (Directory*)currentItem();
  return dir->fullName();
}