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: I31a7cf8cb29e76dd73b676039b87c108af1bd1af
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit91b6648ac89bb452219c5c89a3ffe79fa4d3de49
parent9bdabc8c1412ae58080f700f42f2393c6357788a
authorLuca Di Sera <luca.disera@qt.io>
committerLuca Di Sera <luca.disera@qt.io>
commit timeThu, 25 Nov 2021 09:55:56 +0100