qt6-bb10/tests/auto/corelib/thread
Sona Kurazyan 37cfc3c6d2 Deprecate the pause-related APIs of QFuture* classes
Deprecated the pause-related APIs of QFuture* classes and
added alternatives having "suspend" in the name instead.

With 2f15927f01 new
isSuspended()/suspended() APIs have been added to QFuture* classes for
checking if pause/suspension is still in progress or it already took
effect. To keep the naming more consistent, renamed:

 - setPaused() -> setSuspended()
 - pause() -> suspend()
 - togglePaused() -> toggleSuspended()
 - QFutureWatcher::paused() -> QFutureWatcher::suspending()

Note that QFuture*::isPaused() now corresponds to (isSuspending() ||
isSuspended()).

[ChangeLog][Deprecation Notice] Deprecated pause-related APIs of
QFuture and QFutureWatcher. Added alternatives having "suspend" in
the name instead.

Change-Id: Ibeb75017a118401d64d18b72fb95d78e28c4661c
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2020-06-04 22:32:43 +02:00
..
qatomicint Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
qatomicinteger cmake: add more tests in corelib/thread 2019-10-04 06:27:19 +00:00
qatomicpointer Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
qfuture Deprecate the pause-related APIs of QFuture* classes 2020-06-04 22:32:43 +02:00
qfuturesynchronizer cmake: add more tests in corelib/thread 2019-10-04 06:27:19 +00:00
qfuturewatcher Deprecate the pause-related APIs of QFuture* classes 2020-06-04 22:32:43 +02:00
qmutex Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qmutexlocker cmake: add more tests in corelib/thread 2019-10-04 06:27:19 +00:00
qreadlocker cmake: add more tests in corelib/thread 2019-10-04 06:27:19 +00:00
qreadwritelock cmake: add more tests in corelib/thread 2019-10-04 06:27:19 +00:00
qresultstore Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qsemaphore Merge remote-tracking branch 'origin/dev' into wip/cmake 2020-01-29 16:57:27 +01:00
qthread Regenerate tests/auto/corelib/thread 2019-11-12 17:25:29 +00:00
qthreadonce cmake: add more tests in corelib/thread 2019-10-04 06:27:19 +00:00
qthreadpool Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
qthreadstorage Post merge fixes 2019-11-25 14:53:27 +00:00
qwaitcondition cmake: add more tests in corelib/thread 2019-10-04 06:27:19 +00:00
qwritelocker cmake: add more tests in corelib/thread 2019-10-04 06:27:19 +00:00
CMakeLists.txt cmake: add corelib/thread/qthreadstorage 2019-10-10 12:10:27 +00:00
thread.pro Re-enable thread autotests 2018-09-25 22:35:40 +00:00