[Patch] Usage of URL's filename to detect hidden files

David Faure faure at kde.org
Wed Mar 17 20:43:10 GMT 2004

On Wednesday 17 March 2004 20:40, Craig Drummond wrote:
> > I like the idea of the isHidden() method, but I'm not sure about its
> > implementation :)
> >
> > When does your problem happen? You have an item with a leading dot in the
> > filename but no leading dot in the text? Doesn't this mean that the ioslave
> > returning this would actually want this item to show up, and would use a
> > leading dot in the _name_ (which is the visible part), if it wanted the
> > item to be hidden?
> The reason being in the fonts:/ ioslave I want to return the font name (e.g. 
> "Times New Roman") as the UDS_NAME, and the actual file name (times.ttf) as 
> the UDS_URL. 
That sounds fine.
But when would you have a hidden file? And what would be its visible item name?

David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

More information about the kde-core-devel mailing list