diff options
author | David Boddie <david.boddie@nokia.com> | 2011-02-03 20:05:16 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-02-03 20:05:16 (GMT) |
commit | 5ee75c4a483405180788b5a4986dce2cf9360d86 (patch) | |
tree | 7e717ff0167ef9332a37e224ff6b91019db29cda /tools/qdoc3/generator.h | |
parent | 74ad5ce57adedc91717ffd67e3e65b8f76d12052 (diff) | |
download | Qt-5ee75c4a483405180788b5a4986dce2cf9360d86.zip Qt-5ee75c4a483405180788b5a4986dce2cf9360d86.tar.gz Qt-5ee75c4a483405180788b5a4986dce2cf9360d86.tar.bz2 |
Added a configuration variable for the QML documentation file prefix.
This required a certain amount of refactoring to make the new
variable visible to the relevant parts of the code. I also moved
the fullDocumentLocation() function into the HtmlGenerator class,
where it belongs.
Task-number: QTBUG-17071
Diffstat (limited to 'tools/qdoc3/generator.h')
-rw-r--r-- | tools/qdoc3/generator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qdoc3/generator.h b/tools/qdoc3/generator.h index 8378d07..4482313 100644 --- a/tools/qdoc3/generator.h +++ b/tools/qdoc3/generator.h @@ -148,6 +148,7 @@ class Generator static QString trimmedTrailing(const QString &string); static bool matchAhead(const Atom *atom, Atom::Type expectedAtomType); static void supplementAlsoList(const Node *node, QList<Text> &alsoList); + static QString outputPrefix(const QString &nodeType); private: void generateReimplementedFrom(const FunctionNode *func, @@ -198,6 +199,7 @@ class Generator static QStringList styleDirs; static QString outDir; static QString project; + static QHash<QString, QString> outputPrefixes; }; QT_END_NAMESPACE |