summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qfuture.qdoc
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-05-25 15:04:48 +0200
committerPaul Wicking <paul.wicking@qt.io>2021-05-26 13:06:56 +0200
commita1dfe27955ab2da27551d19500c2d2a01d46e470 (patch)
treee1ebc6b2f9a255f5b0c3f2df0833f2f6f431fe74 /src/corelib/thread/qfuture.qdoc
parentae021882330abc5f6fbaadca290e6e5670c89028 (diff)
Doc: Use \deprecated instead of \obsolete
Task-number: QTBUG-93990 Change-Id: I4e512354a49dde6678ca89cabc56bc76ba666bb3 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/thread/qfuture.qdoc')
-rw-r--r--src/corelib/thread/qfuture.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/thread/qfuture.qdoc b/src/corelib/thread/qfuture.qdoc
index fd3120ff15..edaba61490 100644
--- a/src/corelib/thread/qfuture.qdoc
+++ b/src/corelib/thread/qfuture.qdoc
@@ -202,7 +202,7 @@
#if QT_DEPRECATED_SINCE(6, 0)
/*! \fn template <typename T> void QFuture<T>::setPaused(bool paused)
- \obsolete
+ \deprecated
Use setSuspended() instead.
If \a paused is true, this function pauses the asynchronous computation
@@ -224,7 +224,7 @@
/*! \fn template <typename T> bool QFuture<T>::isPaused() const
- \obsolete
+ \deprecated
Use isSuspending() or isSuspended() instead.
Returns \c true if the asynchronous computation has been paused with the
@@ -239,7 +239,7 @@
/*! \fn template <typename T> void QFuture<T>::pause()
- \obsolete
+ \deprecated
Use suspend() instead.
Pauses the asynchronous computation represented by this future. This is a
@@ -250,7 +250,7 @@
/*! \fn template <typename T> void QFuture<T>::togglePaused()
- \obsolete
+ \deprecated
Use toggleSuspended() instead.
Toggles the paused state of the asynchronous computation. In other words,