[Qt-interest] Basic question : how to get the QTimer state on counting milliseconds

Meir Yanovich meiry242 at gmail.com
Sun May 23 12:00:48 CEST 2010


im using qt 4.6 ,its 4.7 thingi

On Sun, May 23, 2010 at 12:24 PM, Thiago Macieira <thiago at kde.org> wrote:

> Em Domingo 23. Maio 2010, às 10.32.00, Meir Yanovich escreveu:
> > Hi
> > i saw the QTimer  interval gives only the init interval the QTimer was
> set
> > with
> > but i need to get the real time counting of the milliseconds after the
> hit
> > the QTimer start method
> > what is the best way to get it?
>
> Use QElapsedTimer to get the time spent since started.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>  Senior Product Manager - Nokia, Qt Development Frameworks
>      PGP/GPG: 0x6EF45358; fingerprint:
>      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100523/a4c8efad/attachment.html 


More information about the Qt-interest-old mailing list