Report question

Question: Is there a cleaner way to register Qt custom events?