Port all KDE/Qt deprecations
The last two commits need to wait, because in KFileMetaData deprecated Qt methods were used in inlined methods of included headers.
But this MR can be reviewed as it is, once approved I will split out the last commits in a separate MR which can get merged some time later.
Edited by Alexander Lohnau