On Wednesday, 16 October 2019 06:33:55 PDT René J.V. Bertin wrote: > What would be the proper way to implement something that behaves like a > QTimer with delay 0 (= fire as soon as the event loop becomes available) > but with an interval (= fire as soon as the event loop becomes available > after at least X msec of pause)?
Just use a QTimer with the timeout that you want. The timeout you give is a minimum value. If it gets overrun, it'll simply wake up late. The next time out after that is adjusted: if one timer is late by over 100%, you'll still be woken up only once. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel System Software Products _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest