added new hash functions to qt file