summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/doc.h
diff options
context:
space:
mode:
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;