From kde-core-devel Tue Mar 27 18:34:05 2001 From: Martijn Klingens Date: Tue, 27 Mar 2001 18:34:05 +0000 To: kde-core-devel Subject: Re: Part loading where mimetype won't work and KIO filters. X-MARC-Message: https://marc.info/?l=kde-core-devel&m=98571797021811 On Tuesday 27 March 2001 16:19, Rik Hemsley wrote: > 1. > > I'd like to have a KPart loaded when audiocd:/ is requested. I can't > do this based on mimetype because audiocd:/ has a type of 'directory'. You might want to read the thread on kde-devel about directory mimetypes ;-) It was suggested to create specialized mimetypes like inode/audiocd-directory that inherits inode/directory. In that case you can load the part based on the mime type ... > Is there a way to load a part based on URL ? Might still be useful to have, though (if it's not already there) > The other tricky part is that the part must not be loaded if a filename > is specified, e.g. audiocd:/track01.wav But doesn't the file have another mime type than the cd itself? How could both spawn the same part then? Martijn