[Qt-interest] Implementing a timer in Qt

jaff at student.dei.uc.pt jaff at student.dei.uc.pt
Thu Jul 29 18:03:45 CEST 2010


Hi all,

I'm implementing a backoffice in Qt and so some of the information 
related to the server has to be constantly refreshed/updated (OK, I 
intend to update it in every minute or so to reduce the bottleneck and 
the server charge).

The point is, I was planning to use the QTime functions (start(), 
elapsed(), restart(), etc), but that won't certainly work because if I 
call a function to deal with the timer it will stay forever there, 
checking how much time was spent. Anyone knows if it is possible to 
make some sort of background/daemon function to keep checking 
constantly how much time has been elapsed? If the answer is yes, could 
anyone give me a hint?

Thanks in advance,
João

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Qt-interest-old mailing list