Doc: Fix incorrect usage of \generatelist


The \generatelist command takes an optional argument
that affect how the members are listed, for example,
`classesbymodule` which creates an annotated list of
the classes in a named C++ module.

`groupsbymodule` is not recognized or documented. QDoc
falls back to generating a list of all members of a
group in this case. While the end result is correct,
this relies on an undocumented feature that is likely
to change and break.

Replace these instances with an explicit \annotatedlist
command that produces the same output.

Pick-to: 6.10
Task-number: QTBUG-138901
Change-Id: I10e54f01c473a014e9e1a15cf3bf6489f2123178
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit5aae7fdacc722eea55efa236588007ff85aab28e
parentd6e3012e80d4a03ea3ada50ce71e3d496271c211
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeWed, 6 Aug 2025 09:14:14 +0000