Port from QPair to std::pair


They're literally the same since 6.0:

  template <typename U, typename V> QPair = std::pair<U, V>;

Amends 5444ea50bb2b1b894d5b3c33676f9ef207fdcd1a (5.7) for
QWaylandInputMethodEventBuilder and, for QWaylandQtShell,
amends d89c8920f3b82dd2098971b5a66c4b9c75da5af0 (6.3).

As a drive-by, simplify construction by using {} instead of
pair<,>().

Pick-to: 6.11 6.10 6.8
Task-number: QTBUG-115841
Change-Id: Iec53a68eaa62f23ed51cdc977989655af55725eb
Reviewed-by: David Redondo <qt@david-redondo.de>
commit25ffb3acb38f3debc3a030fdd36436e19482be66
parent66e82abbab427a343a562bc3981e0832f2ae74c1
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeFri, 27 Mar 2026 09:53:19 +0100