summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-05-28 13:17:04 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-05-28 13:17:04 (GMT)
commitb0b4ca6547807fc602176c1ad262f15f6858116a (patch)
treee6a60bc63edc1f755ee023ed846b622f8a8ca6ee /tools
parentfb5d338236976690312660bc017a8fe1e199326f (diff)
downloadQt-b0b4ca6547807fc602176c1ad262f15f6858116a.zip
Qt-b0b4ca6547807fc602176c1ad262f15f6858116a.tar.gz
Qt-b0b4ca6547807fc602176c1ad262f15f6858116a.tar.bz2
qdoc: Fixed the model/view programming page; tried a style change.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/doc.cpp12
-rw-r--r--tools/qdoc3/htmlgenerator.cpp3
2 files changed, 3 insertions, 12 deletions
diff --git a/tools/qdoc3/doc.cpp b/tools/qdoc3/doc.cpp
index 5716626..280f055 100644
--- a/tools/qdoc3/doc.cpp
+++ b/tools/qdoc3/doc.cpp
@@ -2746,18 +2746,6 @@ Doc::SectioningUnit Doc::granularity() const
}
}
-#if notyet // ###
-Doc::SectioningUnit Doc::sectioningUnit() const
-{
- if (priv == 0 || priv->extra == 0) {
- return DocPrivateExtra().sectioningUnit;
- }
- else {
- return priv->extra->sectioningUnit;
- }
-}
-#endif
-
const QSet<QString> &Doc::parameterNames() const
{
return priv == 0 ? *null_Set_QString() : priv->params;
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 16df0c0..b103981 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -4060,10 +4060,13 @@ int HtmlGenerator::hOffset(const Node *node)
case Node::Class:
return 2;
case Node::Fake:
+ return 1;
+#if 0
if (node->doc().briefText().isEmpty())
return 1;
else
return 2;
+#endif
case Node::Enum:
case Node::Typedef:
case Node::Function: