QGrpcOperation: add missing doc definition for cancel()

... otherwise the following patches can not merge. The body will be
provided as a follow up.

Pick-to: 6.8
Change-Id: Ie0a5ae0333670c06bdefabda616318d7f5833bc8
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Dennis Oberst 2024-06-20 15:44:12 +02:00
parent 01a6a2258e
commit eb243cedff
1 changed files with 10 additions and 7 deletions

View File

@ -162,14 +162,8 @@ QLatin1StringView QGrpcOperation::method() const noexcept
}
/*!
\internal
Returns a pointer to the assigned channel-side QGrpcChannelOperation.
T.B.A
*/
QGrpcChannelOperation *QGrpcOperation::channelOperation() const noexcept
{
return d_func()->channelOperation.get();
}
void QGrpcOperation::cancel()
{
if (!isFinished()) {
@ -189,6 +183,15 @@ bool QGrpcOperation::isFinished() const noexcept
return d_func()->isFinished.loadRelaxed();
}
/*!
\internal
Returns a pointer to the assigned channel-side QGrpcChannelOperation.
*/
QGrpcChannelOperation *QGrpcOperation::channelOperation() const noexcept
{
return d_func()->channelOperation.get();
}
QT_END_NAMESPACE
#include "moc_qgrpcoperation.cpp"