Except for KMimeType::isBinaryData - there's also no mention of it on the wiki page.
Details
Details
- Reviewers
dfaure - Commits
- R228:f35c4203cf0a: Port away from KMimeType
Searching for all files, for "all image/video/audio files" and for specific mime types works
Diff Detail
Diff Detail
- Repository
- R228 KFind
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Indeed there's no direct replacement for isBinaryData (it's a private method in qmimedatabase.cpp now, part of the mimetype determination algorithm). What was it used for, here? Maybe mimeTypeName.startsWith("text/") || mimeType.inherits("text/plain") is a close enough approximation?
src/kftabdlg.cpp | ||
---|---|---|
737 | The (int) cast is 1) ugly (I hate C casts), 2) unnecessary ;) |