added some methods related to QString