Re: KIdleTime : to poll not or provide a settable resolution for the polling backends?

2015-11-17 Thread René J . V . Bertin
René J. V. Bertin wrote: > As to MacPoller: I'll see whether I subclass WidgetBasedPoller or whether it's > just as efficient to copy/paste the relevant code (if I'd be overriding too > many methods, which might be the case here). Seems I'll be doing copy/paste, because when I subclass following

Re: KIdleTime : to poll not or provide a settable resolution for the polling backends?

2015-11-17 Thread René J . V . Bertin
Martin Graesslin wrote: Sorry, long reply, too many arguments. > Don't poll. Never ever, don't poll. That's the opposite of what an application wants to do. As I said elsewhere, while I agree on the principle I don't think that should be dogma. It depends on the requirements of the

Re: KIdleTime : to poll not or provide a settable resolution for the polling backends?

2015-11-17 Thread René J . V . Bertin
Another thing I should have realised: It is not currently feasible with Qt to detect "global" events that are not destined to "ourselves" (see http://stackoverflow.com/questions/19229777/how-to-detect-global-mouse-button-events and