KStandardDirs behaviour when finding directories

Josef Spillner spillner at kde.org
Mon Jul 30 13:35:31 BST 2007


On Monday 30 July 2007 14:04:24 Stephan Kulow wrote:
> I can find only "file" everywhere in KStandardDirs apidox.

To be fair, findDirs() expects and accepts directory strings.

It seems that KStandardDirs's exists() method treats directories and files 
equally well if the directories have a "/" appended. Therefore it would make 
sense to document that behaviour.

Josef




More information about the kde-core-devel mailing list