use qmetaenum in typeFromString