diff options
author | Martin Smith <martin.smith@digia.com> | 2014-11-05 12:51:12 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@digia.com> | 2014-11-12 08:12:03 +0100 |
commit | 98e77dab75e1463e51c2fc3893d2d44e146e9a8b (patch) | |
tree | 3e1cc9c365830c8fae8e41e145d95bb2437f0732 /src/tools/qdoc/tree.h | |
parent | 623891acd600861338e2bdb4b4084c6b6451eb0a (diff) |
qdoc: Generate the links-to-broken-links page
The cross-module link report now contains an entry
for the links to broken links subpage. It is the
last entry in the links-to-links table on the QA
page.
Change-Id: I9e0b3ba5f2efe76055902467348db878dbed9991
Task-number: QTBUG-41850
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/tools/qdoc/tree.h')
-rw-r--r-- | src/tools/qdoc/tree.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tools/qdoc/tree.h b/src/tools/qdoc/tree.h index 9c55595a77..a2578a3bc8 100644 --- a/src/tools/qdoc/tree.h +++ b/src/tools/qdoc/tree.h @@ -70,11 +70,12 @@ struct TargetRec struct TargetLoc { public: - TargetLoc(const QString& t, const QString& fileName, const QString& text) - : target_(t), fileName_(fileName), text_(text) { } + TargetLoc(const QString& t, const QString& fileName, const QString& text, bool broken = false) + : target_(t), fileName_(fileName), text_(text), broken_(broken) { } QString target_; QString fileName_; QString text_; + bool broken_; }; typedef QMultiMap<QString, TargetRec*> TargetMap; @@ -205,7 +206,7 @@ class Tree bool docsHaveBeenGenerated() const { return docsHaveBeenGenerated_; } void setTreeHasBeenAnalyzed() { treeHasBeenAnalyzed_ = true; } void setdocsHaveBeenGenerated() { docsHaveBeenGenerated_ = true; } - QString getNewLinkTarget(const Node* t, const QString& fileName, QString& text); + QString getNewLinkTarget(const Node* t, const QString& fileName, QString& text, bool broken); TargetList* getTargetList(const QString& module); QStringList getTargetListKeys() { return targetListMap_->keys(); } |