Port some occurence of KMimeTypeTrader

It is about to be deprecated.

GIT_SILENT
1 job for !155 with work/nomimetypetrader in 50 minutes and 57 seconds (queued for 1 second)
detached
Status Job ID Name Coverage
  Build
passed #62420
linux kf5-qt5 qt5.12

00:50:57

47.0%