Different behaviour when browsing directories with konqy/kfile

Carsten Pfeiffer carpdjih at sp.zrz.tu-berlin.de
Fri Apr 26 11:02:59 BST 2002


On Friday 26 April 2002 10:57, David Faure wrote:

> > KFileDialog does "dir->openURL( url )", where dir is a KDirLister
> > instance.
>
> but what is "url"? Does it come from KFileItem::url() ?

Bingo!

void KDirOperator::selectDir(const KFileItem *item)
{
    KURL tmp( currUrl );
    tmp.cd(item->name());
    setURL(tmp, true);
}

Now I don't know why this is the case, according to cvs annotate, it's from 
kulow. Maybe the former KFileViewItem didn't have a url back in '99.

Cheers
Carsten Pfeiffer




More information about the kde-core-devel mailing list