Fix build with GCC 12 (standard attributes in middle of decl-specifiers)
"static Q_REQUIRED_RESULT foo bar();" -> "Q_REQUIRED_RESULT static foo bar();"
To fix:
[ 136s] /home/abuild/rpmbuild/BUILD/kmailtransport-21.12.1/src/kmailtransport/transport.h:100:12: error: standard attributes in middle of decl-specifiers
[ 136s] 100 | static Q_REQUIRED_RESULT QString authenticationTypeString(int type);
[ 136s] | ^~~~~~~~~~~~~~~~~
[ 136s] /home/abuild/rpmbuild/BUILD/kmailtransport-21.12.1/src/kmailtransport/transport.h:100:12: note: standard attributes must precede the decl-specifiers to apply to the declaration, or follow them to apply to the type
If you agree, I'll apply this change to all PIM repos where static Q_REQUIRED_RESULT
is used directly.