QGrpcOperation: pass metadata in serverInitialMetadataReceived signal
Provide the metadata with the signal so it remains usable with
Qt::QueuedConnection and doesn’t rely on reading object state at
delivery time. This matches common Qt signal patterns and makes the
notification self-contained.
Update the documentation and test-case accordingly.
Also add the missing \since tag for
QGrpcOperationContext::serverInitialMetadataReceived.
Append the naming of the shared-documentation snippet for
serverInitialMetadata with '-shared', to resolve qdoc warnings.
Found during the Qt 6.11 API review.
Pick-to: 6.11.0 6.11
Change-Id: I553c61bb76c3e5a6e59e087d1052f453c1e8e6e0
Reviewed-by: Marc Mutz <marc.mutz@qt.io>