qt6-bb10/tests/auto/corelib/tools
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
..
collections Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
containerapisymmetry Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qalgorithms Remove usages of deprecated APIs from QDateTime 2019-07-02 09:49:36 +02:00
qarraydata Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qarraydata_strictiterators
qbitarray
qbytearray QByteArray autotest: code tidies 2019-06-23 15:52:41 +02:00
qbytearraylist Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qbytearraymatcher Long live QStaticByteArrayMatcher! 2017-01-19 21:37:46 +00:00
qbytedatabuffer
qcache
qchar Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qcollator Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qcommandlineparser QCommandLineParser: add --help-all, to show Qt options as well 2019-05-15 15:28:18 +02:00
qcontiguouscache Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qcryptographichash QCryptographicHash: Add a static method to retrieve hash length 2018-04-10 12:17:43 +00:00
qeasingcurve Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
qexplicitlyshareddatapointer Add nullptr comparison to Q{Explicitly,}SharedDataPointer 2018-03-18 17:28:26 +00:00
qfreelist
qhash Corelib tests: Fix out of bounds string access 2019-06-28 00:24:54 +02:00
qhash_strictiterators
qhashfunctions qhashfunctions.h: add specializations of std::hash for some Qt types 2019-05-29 11:22:20 +02:00
qlatin1string QString: towards QStringView::arg() pt.3: Long live QStringView/QLatin1String::arg() 2019-06-20 19:36:37 +02:00
qline QLineF: add intersects() as a replacement for intersect() 2019-04-25 17:58:40 +00:00
qlinkedlist Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qlist Deprecate conversion functions between QList and QSet 2019-05-07 14:15:44 +00:00
qlist_strictiterators
qlocale Tests: Fix some warnings about deprecated functions not under test 2019-05-27 15:29:16 +02:00
qmacautoreleasepool Add missing dependencies for tst_qmacautoreleasepool 2018-08-29 02:47:45 +00:00
qmakearray corelib/tools: add qMakeArray() API 2018-07-25 06:57:44 +00:00
qmap Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qmap_strictiterators
qmargins
qmessageauthenticationcode
qoffsetstringarray corelib/tools: Fix auto detection of QOffsetStringArray::m_offset type 2018-08-28 14:42:46 +00:00
qpair core: Add deduction guides for QPair 2019-03-25 19:48:29 +00:00
qpoint
qpointf Fix regression in QPointF::operator== 2018-07-09 15:38:31 +00:00
qqueue
qrect Improve rounding of QRect::toRect 2017-06-26 21:35:38 +00:00
qregexp QRegExp: remove an out of bounds access into QString 2019-05-27 17:33:30 +00:00
qregularexpression QRegularExpression: anchor wildcard pattern 2018-12-15 13:24:16 +00:00
qringbuffer QRingBuffer: avoid reallocations of the data 2017-12-30 10:15:10 +00:00
qscopedpointer Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qscopedvaluerollback Use move more consistently in QScopedValueRollback 2019-03-27 07:56:15 +00:00
qscopeguard Introduce QScopeGuard 2018-07-21 17:47:35 +00:00
qset Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
qsharedpointer Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qsize
qsizef
qstl
qstring Remove handling of missing very old compiler feature check 2019-04-06 13:27:15 +00:00
qstring_no_cast_from_bytearray
qstringapisymmetry QStringView, QLatin1String: add lastIndexOf methods 2019-06-18 14:48:50 +03:00
qstringbuilder QStringBuilder: add support for QStringView 2018-01-08 09:41:43 +00:00
qstringiterator QStringIterator: port to QStringView 2017-04-03 15:41:09 +00:00
qstringlist QStringList: add QStringView overloads of join, filter, replaceInStrings 2019-06-30 23:16:11 +00:00
qstringmatcher QStringMatcher: add QStringView support 2019-03-14 04:48:06 +00:00
qstringref Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00
qstringview QString: towards QStringView::arg() pt.3: Long live QStringView/QLatin1String::arg() 2019-06-20 19:36:37 +02:00
qtextboundaryfinder Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
qtimeline Extend blacklisting of qtimeline::frameRate to macOS 10.13 2018-09-24 21:13:00 +00:00
qvarlengtharray Make the default ctor of QVarLengthArray implicit 2019-07-02 09:39:33 +02:00
qvector Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qvector_strictiterators
qversionnumber Remove handling of missing Q_COMPILER_INITIALIZER_LISTS 2019-05-02 23:10:55 +00:00
tools.pro Separate out the time, zone, date code from corelib/tools/ 2019-06-06 15:54:32 +02:00