diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-09-07 07:13:59 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-09-07 07:13:59 (GMT) |
commit | 4051e1cfc7f5d8a7017ca4ff7b30de483950a59b (patch) | |
tree | 54bec01d2da3095d5daff4bbe1c78158c9fc441d /tools/qdoc3/pagegenerator.cpp | |
parent | 8eac2e129a09be59dfe4a370ec0bc30d80e09855 (diff) | |
download | Qt-4051e1cfc7f5d8a7017ca4ff7b30de483950a59b.zip Qt-4051e1cfc7f5d8a7017ca4ff7b30de483950a59b.tar.gz Qt-4051e1cfc7f5d8a7017ca4ff7b30de483950a59b.tar.bz2 |
qdoc: Updated with current dita xml generation code from oslo-staging-1.
Diffstat (limited to 'tools/qdoc3/pagegenerator.cpp')
-rw-r--r-- | tools/qdoc3/pagegenerator.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/qdoc3/pagegenerator.cpp b/tools/qdoc3/pagegenerator.cpp index a187c2e..39ee98b 100644 --- a/tools/qdoc3/pagegenerator.cpp +++ b/tools/qdoc3/pagegenerator.cpp @@ -273,6 +273,11 @@ QString PageGenerator::outFileName() return QFileInfo(static_cast<QFile *>(out().device())->fileName()).fileName(); } +/*! + Creates the file named \a fileName in the output directory. + Attaches a QTextStream to the created file, which is written + to all over the place using out(). + */ void PageGenerator::beginSubPage(const Location& location, const QString& fileName) { @@ -285,6 +290,11 @@ void PageGenerator::beginSubPage(const Location& location, outStreamStack.push(out); } +/*! + Flush the text stream associated with the subpage, and + then pop it off the text stream stack and delete it. + This terminates output of the subpage. + */ void PageGenerator::endSubPage() { outStreamStack.top()->flush(); |