summaryrefslogtreecommitdiffstats
path: root/src/qdoc/xmlgenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/xmlgenerator.cpp')
-rw-r--r--src/qdoc/xmlgenerator.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qdoc/xmlgenerator.cpp b/src/qdoc/xmlgenerator.cpp
index 8b266ca18..ffffc283a 100644
--- a/src/qdoc/xmlgenerator.cpp
+++ b/src/qdoc/xmlgenerator.cpp
@@ -76,6 +76,7 @@ int XmlGenerator::hOffset(const Node *node)
case Node::Page:
return 1;
case Node::Enum:
+ case Node::TypeAlias:
case Node::Typedef:
case Node::Function:
case Node::Property:
@@ -239,6 +240,9 @@ QString XmlGenerator::refForNode(const Node *node)
case Node::Enum:
ref = node->name() + "-enum";
break;
+ case Node::TypeAlias:
+ ref = node->name() + "-alias";
+ break;
case Node::Typedef: {
const auto tdn = static_cast<const TypedefNode *>(node);
if (tdn->associatedEnum())
@@ -450,6 +454,8 @@ QString XmlGenerator::targetType(const Node *node)
return QStringLiteral("page");
case Node::Enum:
return QStringLiteral("enum");
+ case Node::TypeAlias:
+ return QStringLiteral("alias");
case Node::Typedef:
return QStringLiteral("typedef");
case Node::Property: