[Qt-interest] Implementing a timer in Qt
Scott Aron Bloom
Scott.Bloom at onshorecs.com
Thu Jul 29 18:11:07 CEST 2010
Look at QTimer
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of jaff at student.dei.uc.pt
Sent: Thursday, July 29, 2010 9:04 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Implementing a timer in Qt
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.
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list