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: I77af30464562f46d881eed499fafe1e6f61ce9fa
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
commiteb1eee59bb4bb49781ac92b15b40899d925095b1
parent32f6237bf9045c28ab50afb9246003a6f7edf52b
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeFri, 23 Aug 2024 09:22:16 +0200