QGrpcInterceptorChain: add non-owning add(T*) and set(Ts *...)


Provide both owning and non-owning APIs at the same time.

This commit adds support for attaching non-owning interceptors to the
chain. The backend, with its internal Entry type, can already handle the
non-owning variant (i.e. deleter is nullptr) without additional changes.

Non-owning interceptors will include an explicit lifetime warning in the
documentation, as they _must_ outlive the channel.

Test cases are updated to cover the three ownership models.
(owning, non-owning and mixed).

Found during the Qt 6.11 API review.

Pick-to: 6.11
Change-Id: I062d52aad36743e90dec72ac525fb07251074fc7
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit88e79f0c5acb2af87ed3da80dc2ebdaac2626545
parent0b39700a31700b510bca17f41a5e6125d9a93c99
authorDennis Oberst <dennis.oberst@qt.io>
committerDennis Oberst <dennis.oberst@qt.io>
commit timeFri, 13 Feb 2026 09:50:05 +0100