The phrase "sighing hearts" contains the use of synecdoche. Naturally, hearts do not sigh. It is a reference to the lovers who sighed after being rejected by the speaker. The poet portrays their hearts as sighing figuratively.