[Qt-interest] how to set up loop with timer

Guido Seifert Wargand at gmx.de
Thu May 6 09:36:40 CEST 2010


Hi,
definitely NOT using a loop like in your example. You might want to read up on 
QTimer: http://doc.qt.nokia.com/4.6/qtimer.html

Guido



> Hello all
> as beginner in QT framework i have thread that needs to invoke function
> every N seconds
> what will be the best way and memory officiant to implement it in QT
> something like :
> 
> while(1)
> {
> ... somekind OT timer  invoking function every N seconds ...
> }

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



More information about the Qt-interest-old mailing list