QThread: Link to QThreadPool::(set)serviceLevel

QThreadPool's functions already links to the QThread ones, but they didn't
link back.

From the API review.

Pick-to: 6.9
Change-Id: I02853d8110806f735b748d022a1cfaea5a72d603
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Mårten Nordheim 2024-12-16 12:50:23 +01:00
parent 2c71fdf043
commit bbcf47a07d

View File

@ -567,7 +567,7 @@ uint QThread::stackSize() const
\value Eco The scheduler should run this thread to an energy-efficient CPU \value Eco The scheduler should run this thread to an energy-efficient CPU
core. core.
\sa Priority, serviceLevel() \sa Priority, serviceLevel(), QThreadPool::serviceLevel()
*/ */
/*! /*!
@ -581,7 +581,7 @@ uint QThread::stackSize() const
The function call will complete successfully on other platforms but will The function call will complete successfully on other platforms but will
not currently have any effect. not currently have any effect.
\sa serviceLevel() \sa serviceLevel(), QThreadPool::setServiceLevel()
*/ */
void QThread::setServiceLevel(QualityOfService serviceLevel) void QThread::setServiceLevel(QualityOfService serviceLevel)
{ {
@ -601,7 +601,7 @@ void QThread::setServiceLevel(QualityOfService serviceLevel)
Return the current Quality of Service level of the thread. Return the current Quality of Service level of the thread.
\sa setServiceLevel() \sa setServiceLevel(), QThreadPool::serviceLevel()
*/ */
QThread::QualityOfService QThread::serviceLevel() const QThread::QualityOfService QThread::serviceLevel() const
{ {