[Interest] Survey: do you override QCoreApplication::notify? Why?
Nikos Chantziaras
realnc at gmail.com
Thu Apr 16 14:46:57 CEST 2015
On 16/04/15 02:45, Thiago Macieira wrote:
> As part of trying to design the solution, I'd like to know what people
> override QCoreApplication::notify() for.
I override QApplication::notify() in order to catch media keys (volume
up/down, stop, play, etc.) on the application level, regardless of which
window in the application has the current keyboard focus.
> And additional question: do you need this for the main thread only, for
> auxiliary threads only or for all threads?
Main thread only.
More information about the Interest
mailing list