QDoc: Build thread safety admonition as content blocks


Thread safety admonitions previously used a levelHref field that
resolved the topic link during extraction, bypassing the content block
pipeline that every other link in the IR flows through. Exception
member links were stored as separate metadata lists and rendered by
hand-constructed template logic.

The admonition text is now built as ContentBlockIR entries in the IR
Builder. Topic links ("reentrant", "thread-safe") are InlineType::Link
entries with Unresolved state, resolved by resolveDocumentLinks()
alongside body and member content. Exception member links carry
pre-resolved hrefs and Resolved state, passing through the resolver
unchanged. Templates iterate the admonition blocks using the standard
inline rendering pattern, replacing the previous per-level conditional
construction.

Task-number: QTBUG-145769
Change-Id: I78a2fd386668802544250e13ab1cf2c9836f4103
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit23f52c10da03b4696713a4f3b5311b05d6573842
parent2a2121647c5f3f96a6594b440045c62450a669aa
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 15 Apr 2026 12:54:16 +0000