Qt3D: replace qSwap with member-swap where possible


qSwap() is a monster that looks for ADL overloads of swap() and also
detects the noexcept of the wrapped swap() function, so it should only
be used when the argument type is unknown. In the vast majority of
cases, the type is known to be efficiently std::swap()able or to have
a member-swap. Call either of these.

Task-number: QTBUG-97601
Pick-to: 6.3 6.2
Change-Id: I1f27dc458f2d57a71070e818583f2e90c82e600d
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
commit4a2928a658363365406735140236f89bfdd33981
parent2fd66d7311833fb833809b514d70436cc262c14e
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeMon, 16 May 2022 15:17:05 +0000