> We need a component which reads the mime given the file. we need a platfrom
> independent solution, any Ideas ?
How about KMimeType::findByURL("/here/the/url/of/my/file.jpg")?
I think you could copy the code if the extra dependency on kde is not required.
Bye,
-Chintana