Doc: Replace use of \oldcode-\newcode


The command-pair was recently deprecated.

The replacement code should produce an output that is equal to the
previous one.

Task-number: QTBUG-98499
Change-Id: I9e0d696b409cbb319afc3fc3b088eadf3815e443
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit8ad04a00fe5f5d1694fc39a0138f7617c283531f
parent4e694ad3b80d1bc05286182e4ded54bd2b86e982
authorLuca Di Sera <luca.disera@qt.io>
committerLuca Di Sera <luca.disera@qt.io>
commit timeThu, 25 Nov 2021 09:55:39 +0100