mirror of https://github.com/qt/qtgrpc.git
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:
parent
01a6a2258e
commit
eb243cedff
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue