QGrpcOperationContext: add operationId for unique identification


This patch introduces a static counter that generates a unique
identifier for every RPC during the lifetime of an application. The
identifier is implemented as a monotonically increasing
std::atomic<quint64>.

We expose this identifier in QGrpcInterceptionContext. The
interception context needs such an identifier to distinguish
individual RPCs between its hook points. A previous attempt using a
qHash overload was rejected, as it would have sent the wrong signal to
users by implying container compatibility, and could also spuriously
fail.

Documentation is added to QGrpcOperationContext. Interceptor-specific
documentation will follow after the API review.

Tests were added to verify the behavior of the identifier.

Found during the Qt 6.11 API review.

Pick-to: 6.11
Change-Id: I6854aebc8e04af88d07291b50414647dab32f57b
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
commite1d495de8beecfb17e81fd75b7c95ca741c4767e
parent2f60abbe5f9049219fb8992ca59ac4aeb337ed4f
authorDennis Oberst <dennis.oberst@qt.io>
committerDennis Oberst <dennis.oberst@qt.io>
commit timeFri, 13 Feb 2026 17:09:54 +0100