diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2012-04-19 12:19:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-19 13:26:51 +0200 |
commit | c4e308d3f7ad8f2bc6c8e88a89acd1f95a5b46c6 (patch) | |
tree | a48c953fc0524618bfd827594b6611b6c4e432ea /src/tools/qdoc/htmlgenerator.h | |
parent | 4de95586f1ecbdc1fad82a75bf4ea7ede8105cf8 (diff) |
QDoc: Generate index file for DITAXML.
This change moves the fullDocumentLocation function to the generator
base-class and adds generateIndex to the DITAXML Generator.
All function calls to fullDocumentLocation are now handled by the static
function in the base-class which will use the file extension from the
currently active generator (either DITAXML or HTML).
Change-Id: I24ce09c05a63eb5980b1243c58990e7ce9d42036
Reviewed-by: Martin Smith <martin.smith@nokia.com>
Diffstat (limited to 'src/tools/qdoc/htmlgenerator.h')
-rw-r--r-- | src/tools/qdoc/htmlgenerator.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/qdoc/htmlgenerator.h b/src/tools/qdoc/htmlgenerator.h index 403c1f0899..a4e6c2f368 100644 --- a/src/tools/qdoc/htmlgenerator.h +++ b/src/tools/qdoc/htmlgenerator.h @@ -94,7 +94,6 @@ public: static QString protect(const QString &string, const QString &encoding = "ISO-8859-1"); static QString cleanRef(const QString& ref); static QString sinceTitle(int i) { return sinceTitles[i]; } - static QString fullDocumentLocation(const Node *node, bool subdir = false); protected: virtual void startText(const Node *relative, CodeMarker *marker); @@ -103,7 +102,7 @@ protected: CodeMarker *marker); virtual void generateClassLikeNode(InnerNode* inner, CodeMarker* marker); virtual void generateFakeNode(FakeNode* fake, CodeMarker* marker); - virtual QString fileExtension(const Node *node) const; + virtual QString fileExtension() const; virtual QString refForNode(const Node *node); virtual QString linkForNode(const Node *node, const Node *relative); virtual QString refForAtom(Atom *atom, const Node *node); |