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>
commit442072205aa7d9121388831fbd662b67bb52bc07
parent563181941a4ecc039c09e520fa2d59c4b652d765
authorDennis Oberst <dennis.oberst@qt.io>
committerDennis Oberst <dennis.oberst@qt.io>
commit timeMon, 23 Feb 2026 17:17:29 +0100