Inherits QEvent.
Internal. Wrapper around a FunctionEvent object to make Qt handle the event properly.