summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-06-09 07:10:53 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-06-09 07:10:53 (GMT)
commitebcf875d90d940103e409de9127bb592d7336afe (patch)
tree4ca78714127069661acfcf58fda0e97f09dfba12 /tools
parentcea87b08520888feff2f10d1bbf71bc8c2f1d780 (diff)
downloadQt-ebcf875d90d940103e409de9127bb592d7336afe.zip
Qt-ebcf875d90d940103e409de9127bb592d7336afe.tar.gz
Qt-ebcf875d90d940103e409de9127bb592d7336afe.tar.bz2
qdoc: Inserted <hr> between summary sections.
Also added the left and right borders to the function headers in the detail sections.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp3
-rw-r--r--tools/qdoc3/test/classic.css2
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 90d3b04..0c21534 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -1073,6 +1073,7 @@ void HtmlGenerator::generateClassLikeNode(const InnerNode *inner,
if (!s->inherited.isEmpty())
needOtherSection = true;
} else {
+ out() << "<hr />\n";
out() << "<a name=\""
<< registerRef((*s).name.toLower())
<< "\"></a>\n";
@@ -2335,7 +2336,7 @@ void HtmlGenerator::generateSynopsis(const Node *node,
QString HtmlGenerator::highlightedCode(const QString& markedCode,
CodeMarker *marker,
const Node *relative,
- CodeMarker::SynopsisStyle style,
+ CodeMarker::SynopsisStyle ,
bool nameAlignment)
{
QString src = markedCode;
diff --git a/tools/qdoc3/test/classic.css b/tools/qdoc3/test/classic.css
index 3e2370d..85bb348 100644
--- a/tools/qdoc3/test/classic.css
+++ b/tools/qdoc3/test/classic.css
@@ -17,7 +17,7 @@ h3.fn,span.fn
background-color: #e0eff6;
border-width: 1px;
border-style: solid;
- border-color: #3388be #e0eff6 #e9f8ff #e0eff6;
+ border-color: #3388be #3388be #e9f8ff #3388be;
font-weight: bold;
padding: 6px 0px 6px 10px;
}