summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qdoc/tree.h')
-rw-r--r--src/tools/qdoc/tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/qdoc/tree.h b/src/tools/qdoc/tree.h
index 5f11a81405d..75f751f9765 100644
--- a/src/tools/qdoc/tree.h
+++ b/src/tools/qdoc/tree.h
@@ -197,10 +197,14 @@ class Tree
public:
const QString& moduleName() const { return module_; }
const QString& indexFileName() const { return indexFileName_; }
+ void incrementLinkCount() { --linkCount_; }
+ void clearLinkCount() { linkCount_ = 0; }
+ int linkCount() const { return linkCount_; }
private:
bool treeHasBeenAnalyzed_;
bool docsHaveBeenGenerated_;
+ int linkCount_;
QString module_;
QString indexFileName_;
QDocDatabase* qdb_;