hash-table: writing QHashTable