summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/generator.h
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@digia.com>2012-09-28 11:23:52 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-29 02:31:35 +0200
commit42b88337121151a99b60d8a785e896437cdcd971 (patch)
tree8baf23273263f86542a9c0b0ad8255652b812b94 /src/tools/qdoc/generator.h
parent8e90e0805f2981014d3382d8841617b4c56dfc50 (diff)
qdoc: Augment imagedirs list
Modularization of examples has resulted in putting all documentation and code for an example in each example subdirectory. In particular, each example subdirectory now contains a doc/images subdirectoy, where images are stored that are linked to from the example .qdoc files, which are in the doc/src subdirectory of the example directory. Because there are so many example subdirectories, it would be difficult to list all the doc/images directories in the imagedirs variable of the qdocconf file. Therefore, qdoc now searches all the directories listed in the exampledirs variable to find all the doc/images subdirectories there, and it adds these to the imagedirs variable for use in finding images called out in \image and \inlineimage commands. Task Nr: QTBUG-27248 Change-Id: I070ba1a558ab32e1db06429a71c083b55f9dd0ea Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/tools/qdoc/generator.h')
-rw-r--r--src/tools/qdoc/generator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/qdoc/generator.h b/src/tools/qdoc/generator.h
index 1b25dc48cd..344112e956 100644
--- a/src/tools/qdoc/generator.h
+++ b/src/tools/qdoc/generator.h
@@ -85,6 +85,7 @@ public:
static const QString& outputDir() { return outDir_; }
static void terminate();
static void writeOutFileNames();
+ static void augmentImageDirs(QSet<QString>& moreImageDirs);
protected:
virtual void beginSubPage(const InnerNode* node, const QString& fileName);