speeding up KFind

Daniel Naber daniel.naber at t-online.de
Mon May 26 14:57:12 BST 2003


On Tuesday 27 May 2003 01:53, Andras Mantia wrote:

> Take a look at quanta/quantacommon.cpp,
> checkMimeGroup(const KURL& url, const QString& group).
>
> The important part is the KMimeType::findFormatByFileContent call.

It works, but I suggest the documentation is extended so that it mentions 
how it works. It seems to use some heuristics. Some PDF files are 
considered text, some are not.

Regards
 Daniel

-- 
http://www.danielnaber.de





More information about the kde-core-devel mailing list