summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/htmlgenerator.cpp
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-05-04 13:53:33 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-05-04 13:53:33 (GMT)
commit8737df24cd58359dacd3d0cb7f856cb7484f03c8 (patch)
tree52f72b78e95c836884d8a9d0d92347e477a028c3 /tools/qdoc3/htmlgenerator.cpp
parentb92f81172071e78156562d76c9d8ae6e8d3e16c5 (diff)
downloadQt-8737df24cd58359dacd3d0cb7f856cb7484f03c8.zip
Qt-8737df24cd58359dacd3d0cb7f856cb7484f03c8.tar.gz
Qt-8737df24cd58359dacd3d0cb7f856cb7484f03c8.tar.bz2
Doc: Updating style and HTML in CSS and qdoc
Adding all classnames generated in qdoc to the CSS and removing redundant &nbsp; from htmlgenerator. Reviewed-by: Trust Me
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index d32ae99..801e199 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -2507,7 +2507,7 @@ void HtmlGenerator::generateCompactList(const Node *relative,
}
out() << "<b>"
<< paragraphName[currentParagraphNo[i]]
- << "&nbsp;</b>";
+ << "</b>";
}
out() << "</td>\n";
@@ -2677,7 +2677,7 @@ void HtmlGenerator::generateQmlItem(const Node *node,
if (summary)
marked.replace("@name>", "b>");
- marked.replace("<@extra>", "&nbsp;&nbsp;<tt>");
+ marked.replace("<@extra>", "<tt>");
marked.replace("</@extra>", "</tt>");
if (summary) {
@@ -2986,7 +2986,7 @@ void HtmlGenerator::generateSynopsis(const Node *node,
extraRegExp.setMinimal(true);
marked.replace(extraRegExp, "");
} else {
- marked.replace("<@extra>", "&nbsp;&nbsp;<tt>");
+ marked.replace("<@extra>", "<tt>");
marked.replace("</@extra>", "</tt>");
}
@@ -3265,7 +3265,7 @@ void HtmlGenerator::generateSynopsis(const Node *node,
extraRegExp.setMinimal(true);
marked.replace(extraRegExp, "");
} else {
- marked.replace("<@extra>", "&nbsp;&nbsp;<tt>");
+ marked.replace("<@extra>", "<tt>");
marked.replace("</@extra>", "</tt>");
}
@@ -4436,9 +4436,9 @@ void HtmlGenerator::generateDetailedQmlMember(const Node *node,
out() << "<tr><td>";
out() << "<a name=\"" + refForNode(qpn) + "\"></a>";
if (!qpn->isWritable())
- out() << "<span class=\"qmlreadonly\">read-only&nbsp;</span>";
+ out() << "<span class=\"qmlreadonly\">read-only</span>";
if (qpgn->isDefault())
- out() << "<span class=\"qmldefault\">default&nbsp;</span>";
+ out() << "<span class=\"qmldefault\">default</span>";
generateQmlItem(qpn, relative, marker, false);
out() << "</td></tr>";
if (qpgn->isDefault()) {