summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/helpprojectwriter.h
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2012-08-30 13:16:27 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-31 21:23:38 +0200
commit0f409aca96a6b51271cf86edef948a7981195cf4 (patch)
tree8852590fc9af98b52046f72d833767685c622243 /src/tools/qdoc/helpprojectwriter.h
parent60783291ff967b1441518e749d2dcf4e7bc4b831 (diff)
QDoc: Write SHA1 of .qhp to file.
QDoc should generate a SHA1 hash of the .qhp file to be able to use that file as a search index. The idea is that we can use the hash as an identifier to check if the search index was updated. Change-Id: Ifd19571bcebf7d735ef452dca6c046a14fedc0e2 Reviewed-by: Martin Smith <martin.smith@nokia.com>
Diffstat (limited to 'src/tools/qdoc/helpprojectwriter.h')
-rw-r--r--src/tools/qdoc/helpprojectwriter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/qdoc/helpprojectwriter.h b/src/tools/qdoc/helpprojectwriter.h
index ac813525e0..a628dbc016 100644
--- a/src/tools/qdoc/helpprojectwriter.h
+++ b/src/tools/qdoc/helpprojectwriter.h
@@ -101,6 +101,7 @@ private:
bool generateSection(HelpProject &project, QXmlStreamWriter &writer,
const Node *node);
QStringList keywordDetails(const Node *node) const;
+ void writeHashFile(QFile &file);
void writeNode(HelpProject &project, QXmlStreamWriter &writer, const Node *node);
void readSelectors(SubProject &subproject, const QStringList &selectors);