QDoc: Warn about missing documentation for signals and slots


C++ signals and slots are now always considered part of the public API
and require documentation, unless explicitly marked \internal.

The inclusion filter is updated to implement this rule:
- isIncluded() treats signals and slots with Status::InternalAuto as
  included even when showInternal is disabled
- requiresDocumentation() returns true for signals and slots unless
  they carry Status::Internal (explicit \internal)
- isPubliclyVisible() follows the same exemption as isIncluded()

Add a new private helper function isPolicyInternal() to
InclusionFilter, called in above filter checks.

Remove unnecessary isInAPI() call when distributing signal nodes
to summary Sections; this was causing a difference in output vs.
slots.

[ChangeLog][QDoc] QDoc now warns about missing documentation for
C++ signals and slots.

Fixes: QTBUG-144299
Change-Id: I4f864a340b534ebeab8c64499b96371a84559e9d
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit2c67abfefaaeb32cf743e4b658572568ebab2033
parent37b75f575e8b7bf145cd3e00a4b08be436e2dc75
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeThu, 9 Jul 2026 13:10:57 +0000