return QString and remove QString *result paramter.