On Monday 27 February 2006 13:07, Uwe Mayer wrote:
> Hi,
>
> I have written a kio slave for a some sort of virtual compressed archive
> (think tar with virtual files and folders) and would like to add a kfile
> plugin.
>
> The ioslave only sets the mimetype of the virtual files and it seems the
> mimetype for the rest is taken from the file extention - which is ok, so I
> don't have to deal with all kinds of possible mimetypes.
> However I want the kfile plugin only to be called when retrieving
> meta-information from files within this kioslave.
>
> So it should be called for
> foo:/home/merkosh/test.foo/myfile.mp3
>
> but not for
> file:/home/merkosh/myfile.mp3


Try X-KDE-Protocol=foo (and no mimetype at all), that's what I implemented for the kfile plugin for trash:/

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

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<