Hey there,

how do I associate an app with a mimetype, so it gets started by default when 
the user tries to open some file of that type?

I'd also have the additional hurdle that my mimetype is not yet registered. I 
want to associate massif.out.$PID files with massif-visualizer. So I'd somehow 
need to create some x-massif-data mimetype or similar? How does one do this?

And to make it yet harder: I transparently support to open .gz / .bz2 versions 
of said files... 

I know that KMimeType can look into the contents of an url, is that plugin 
based? I.e. could I look at the first few lines of the file (maybe unpacked 
via KFilterDev)?

Any documentation pointers would be appreciated.

Thanks
-- 
Milian Wolff
m...@milianw.de
http://milianw.de

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to