summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/doc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qdoc/doc.cpp')
-rw-r--r--src/tools/qdoc/doc.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/qdoc/doc.cpp b/src/tools/qdoc/doc.cpp
index 7572799eba..6bc3086551 100644
--- a/src/tools/qdoc/doc.cpp
+++ b/src/tools/qdoc/doc.cpp
@@ -169,6 +169,7 @@ enum {
CMD_TARGET,
CMD_TOPICREF,
CMD_TT,
+ CMD_UICONTROL,
CMD_UNDERLINE,
CMD_UNICODE,
CMD_VALUE,
@@ -285,6 +286,7 @@ static struct {
{ "target", CMD_TARGET, 0 },
{ "topicref", CMD_TOPICREF, 0 },
{ "tt", CMD_TT, 0 },
+ { "uicontrol", CMD_UICONTROL, 0 },
{ "underline", CMD_UNDERLINE, 0 },
{ "unicode", CMD_UNICODE, 0 },
{ "value", CMD_VALUE, 0 },
@@ -1313,6 +1315,9 @@ void DocParser::parse(const QString& source,
case CMD_TT:
startFormat(ATOM_FORMATTING_TELETYPE, cmd);
break;
+ case CMD_UICONTROL:
+ startFormat(ATOM_FORMATTING_UICONTROL, cmd);
+ break;
case CMD_UNDERLINE:
startFormat(ATOM_FORMATTING_UNDERLINE, cmd);
break;