[Qt-interest] Controlling when timers run
Clinton Stimpson
clinton at elemtech.com
Fri Jan 15 05:04:10 CET 2010
On Jan 14, 2010, at 7:21 PM, Glenn Hughes wrote:
>> Would QCoreApplication::hasPendingEvents() be useful here?
>> Or will it always be true when called from a QTimer signal?
>
> I don't this so. That's not really what I need. I want to only run
> some timers when the stack is back to the application's exec
> invocation... Execution might be a couple levels up, and there still
> be no pending events...
>
Can you just not use QTimers? With your own QEventLoop, you'll know when it comes back.
Clint
More information about the Qt-interest-old
mailing list