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: Ib00b506c13b3974d5741e4c8a7af6c5c5408a0c6
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit302f66f9460fde8c702f027a768aa699d6c46d1f
parent8357f4336fae3c630a6381e586b58988c6f72744
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeWed, 6 Aug 2025 09:16:11 +0000