Replay the macro sequence.

def qteReplayKeysequenceHook(self, msgObj):
        """
        Replay the macro sequence.
        """

        # Quit if there is nothing to replay.
        if self.recorded_keysequence.toString() == '':
            return

        # Stop the recording before the replay, if necessary.
        if self.qteRecording:
            return

        # Simulate the key presses.
        self.qteMain.qteEmulateKeypresses(self.recorded_keysequence)