[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdenetwork/kpf/src
From:       David Faure <faure () kde ! org>
Date:       2004-03-26 13:47:02
Message-ID: 200403261447.02928.faure () kde ! org
[Download RAW message or body]

On Friday 26 March 2004 14:48, Waldo Bastian wrote:
> On Fri March 26 2004 13:38, David Faure wrote:
> > On Friday 26 March 2004 13:34, Waldo Bastian wrote:
> > > +    QString serviceType = KMimeType::findByPath( d->root + d->path
> > > )->name(); +   /*
> > > +     Look at magic numbers only if findByPath couldn't come up with
> > > something +     reasonable.
> > > +    */
> >
> > Hmm, doesn't findByPath do this already?
> 
> Despite the name, yes :)

Ah, the name is due to findByURL, which does this too.

Before findByContent/findByFileContent existed, it was quite clear,
findByURL was the only one and it did it all :)

findByURLAndContent would be a bit confusing :)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic