From e967772fe884dd8a488a359c122c9cbae9d94c55 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 21 Apr 2020 23:57:46 +0200 Subject: qdoc: properly implement \typealias command \typealias was already a command recognized by QDoc, but it was simply treated as a synonym for \typedef and was not documented. Implement proper support for the command: - Add [alias] designation both in type summary and details. - Auto-generate information about the aliased type, including a link if aliasing a public, documented type. - Auto-convert aliases documented with \typedef to type aliases. - Add basic support for aliases also to DocBook and WebXML generators. - Document \typealias. Fixes: QTBUG-82712 Change-Id: Iafa8c7def0a7488d7521fbc2862290a9bb3167ff Reviewed-by: Qt CI Bot Reviewed-by: Paul Wicking --- src/qdoc/sections.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qdoc/sections.h') diff --git a/src/qdoc/sections.h b/src/qdoc/sections.h index c8d17b141..dfcaaed7b 100644 --- a/src/qdoc/sections.h +++ b/src/qdoc/sections.h @@ -180,6 +180,7 @@ public: QmlAttachedMethods = 6, ProtectedTypes = 7, SinceTypedefs = 7, + SinceTypeAliases = 7, ProtectedFunctions = 8, SinceProperties = 8, ProtectedSlots = 9, -- cgit v1.2.3