qt5base-lts/tests/auto/corelib
Thiago Macieira bff15c547e QDateTime: introduce {to,from,set,current}SecsSinceEpoch
These new functions use a 64-bit integer in the API, instead of the
broken 32-bit unsigned integer that the previous xxxTime_t functions
used. That was a design flaw when the API was introduced back in Qt 4.2,
so I'm deprecating the API and slating it for removal in 6.0.

The changes to qfilesystemmetadata_p.h and quuid.cpp are necessary to
build the bootstrap library. The rest of the adaptation to the new API
will come in the next commit.

[ChangeLog][QtCore][QDateTime] Introduced toSecsSinceEpoch,
fromSecsSinceEpoch and setSecsSinceEpoch functions, which use 64-bit
integers to represent the number of seconds.

[ChangeLog][QtCore][QDateTime] The toTime_t, fromTime_t and setTime_t
functions are deprecated and will be removed in Qt 6.0. For new code,
use the equivalent functions with "SecsSinceEpoch" in the name, or the
equivalent ones with millisecond accurancy that have existed since
Qt 4.7.

Change-Id: Ib57b52598e2f452985e9fffd145a355d0e7ff48d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2016-06-22 18:34:27 +00:00
..
animation QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
codecs QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
global Merge remote-tracking branch 'origin/5.7' into dev 2016-04-05 14:22:45 +02:00
io Merge remote-tracking branch 'origin/5.7' into dev 2016-06-17 10:53:42 +02:00
itemmodels QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
json QJsonObject: add some overloads taking QLatin1String 2016-05-10 21:18:46 +00:00
kernel Merge remote-tracking branch 'origin/5.7' into dev 2016-06-13 12:46:46 +02:00
mimetypes Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-27 09:18:05 +02:00
plugin Merge remote-tracking branch 'origin/5.7' into dev 2016-06-13 12:46:46 +02:00
statemachine Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
thread Merge remote-tracking branch 'origin/5.7' into dev 2016-04-05 14:22:45 +02:00
tools QDateTime: introduce {to,from,set,current}SecsSinceEpoch 2016-06-22 18:34:27 +00:00
xml Merge remote-tracking branch 'origin/5.6' into 5.7 2016-06-10 23:27:10 +02:00
corelib.pro Add support for Apple tvOS 2016-05-17 16:11:23 +00:00