You can use:
const Key QMap::key ( const T & value ) const
which returns the first key with value value or
QList<Key> QMap::keys ( const T & value ) const
which returns a list containing all the keys in the map in ascending order.
But it is slow (linear time), because QMap's internal data structure is optimized for fast lookup by key, not by value.