You can always subclass QCoreApplication::notify() or QCoreApplication::event() (or apply an event filter on the application object) and do the filtering there.