summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/doc.h
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2011-05-11 12:51:56 (GMT)
committerMartin Smith <martin.smith@nokia.com>2011-05-11 12:51:56 (GMT)
commit153fa2771662810557b775d07453fd3d1064ed66 (patch)
tree5c5cc6358d0575d97555e8323a6999a5b6ae2981 /tools/qdoc3/doc.h
parent767aa20e1033fe9283f89f4bda09bc015a4b08e6 (diff)
downloadQt-153fa2771662810557b775d07453fd3d1064ed66.zip
Qt-153fa2771662810557b775d07453fd3d1064ed66.tar.gz
Qt-153fa2771662810557b775d07453fd3d1064ed66.tar.bz2
doc: Fixed QTBUG-18791
Diffstat (limited to 'tools/qdoc3/doc.h')
-rw-r--r--tools/qdoc3/doc.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/qdoc3/doc.h b/tools/qdoc3/doc.h
index e043b3a..ea34b1b 100644
--- a/tools/qdoc3/doc.h
+++ b/tools/qdoc3/doc.h
@@ -70,14 +70,14 @@ class Doc
{
public:
// the order is important
- enum SectioningUnit {
- Book = -2,
- Part,
- Chapter,
- Section1,
- Section2,
- Section3,
- Section4
+ enum Sections {
+ NoSection = -2,
+ Part = -1,
+ Chapter = 1,
+ Section1 = 1,
+ Section2 = 2,
+ Section3 = 3,
+ Section4 = 4
};
Doc() : priv(0) {}
@@ -103,7 +103,7 @@ class Doc
Text trimmedBriefText(const QString &className) const;
Text legaleseText() const;
const QString& baseName() const;
- SectioningUnit granularity() const;
+ Sections granularity() const;
const QSet<QString> &parameterNames() const;
const QStringList &enumItemNames() const;
const QStringList &omitEnumItemNames() const;