Doc: Remove usage of defunct QDoc command


The QDoc command `\tableofcontents` was rendered useless by a change
more than a decade ago. Remove the use of `\tableofcontents` as it
serves no purpose, and ensure that the surrounding context still makes
sense for the reader, by removing preceding text that refers to a
non-existing table of contents, such as `Contents:`.

Task-number: QTBUG-128173
Pick-to: 6.8
Change-Id: I4d96b7558dfee37448bbedc3dcfbe41a8c67f65f
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
commitd90c0ed4912ab87fd5e7667af3768206d62b2d5c
parentbfb40d6474c5880f9e940ae99f38aa4f049d1bc9
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeTue, 27 Aug 2024 12:28:58 +0200