How to catch event when program is in background?
How can we catch event when program run in background?
This depends heavily on the IPC mechanisms used by the two applications and what you mean by "event".
Which events on which OS do you want to catch? From other programs or X events that are received from the X server or something else?
maybe enough reimplement next functions:
@bool QCoreApplication::winEventFilter ( MSG * msg, long * result ) [virtual]
bool QApplication::x11EventFilter ( XEvent * event ) [virtual]
bool QApplication::symbianEventFilter ( const QSymbianEvent * event ) [virtual]
bool QApplication::macEventFilter ( EventHandlerCallRef caller, EventRef event ) [virtual]@