add dive implementation pushed
thiago at macieira.org
Fri Sep 20 09:05:43 UTC 2013
On sexta-feira, 20 de setembro de 2013 09:59:03, Dirk Hohndel wrote:
> Yes. But how can I get 'now' as a QDateTime that mixes nicely with these
> localtime values?
That's the current date and time.
A QDateTime also stores a flag to say whether date() and time() return local
time or universal time. From the discussion on IRC, it looks like you've found
setTimeSpec(), which allows you to change the flag.
QDateTimeEdit also deals with the flag. Let me see the source code for that...
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...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the subsurface