qt5base-lts/tests/auto
Sona Kurazyan 8c8eae279d Remove usages of deprecated APIs from QDateTime
- Replaced the usages of:
  * QDateTime::toTime_t() -> QDateTime::toSecsSinceEpoch().
  * QDateTime::fromTime_t() -> QDateTime::fromSecsSinceEpoch().
  * QDate::shortDayName() -> QLocale::system().dayName().
  * QTime by QElapsedTimer, where the deprecated methods of QTime
    were used.

- Modified the tests for the deprecated methods to be enabled only
  when the corresponding methods are enabled: when the deprecated
  APIs are disabled, the tests will be also disabled, and the
  compilation won't be broken.

Task-number: QTBUG-76491
Change-Id: I4d565db2329e580c567aae511696eb1efe120843
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2019-07-02 09:49:36 +02:00
..
bic/data Add binary compatibility files for 5.12 for QtBase 2018-12-21 19:42:57 +00:00
cmake cmake: correct version dependency for qt5_add_big_resources 2019-05-20 12:49:37 +02:00
concurrent Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
corelib Remove usages of deprecated APIs from QDateTime 2019-07-02 09:49:36 +02:00
dbus Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
gui Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
guiapplauncher
installed_cmake
network Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
opengl Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
other Merge remote-tracking branch 'origin/5.12' into dev 2019-06-25 13:04:27 +02:00
printsupport test: migrate QPrinterInfo test to QRegularExpression 2019-06-11 09:08:11 +02:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
testlib Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
tools uic: Implement form window setting to disable QObject::connectSlotsByName() 2019-07-02 09:15:47 +02:00
widgets Remove usages of deprecated APIs from QDateTime 2019-07-02 09:49:36 +02:00
xml Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h test: migrate QNetworkReply test to QRegularExpression 2019-06-10 16:49:19 +02:00