Type safety is increased by moving the enum into a separate name space (here
a class is used because namespaces are not allowed inside classes).
Q_ENUM(s) or QFlags could also not be used because the related enums need
to be defined somewhere outside, which does not solve the issue having all
constants in MyMoneyReport namespace.
CCBUG:391091