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: I74a52f8a625703fe829024b51beec3ad900d67e3
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit10708a3a3be11b711dd5f2e7a4b7013c64f5dce8
parente6b33f6dc445f5bf70eb36304fe67ff7b1872a81
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeWed, 6 Aug 2025 09:18:50 +0000