[Qt-interest] using Qtime

Thiago Macieira thiago at kde.org
Mon Oct 17 20:56:41 CEST 2011


On Monday, 17 de October de 2011 10:48:59 Carlos wrote:
> I have a similar problem with the QTime within a QTime Edit:
>     QTimeEdit te;
>     te.time().start(); // should reset time but it does NOT
>     te.time().elapsed(); // should returns the CURRENT TIME!

http://doc.qt.nokia.com/latest/qdatetimeedit.html#time-prop

QTimeEdit::time() returns QTime.

Not QTime &.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111017/fc583a29/attachment.bin 


More information about the Qt-interest-old mailing list