summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/generator.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-09-09 11:45:58 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-09-09 11:45:58 (GMT)
commit916b610a272f1a1db41ad4177651e34904dd18a0 (patch)
tree1bd9fcf6ec712aca854634707d1886daefcb4dbc /tools/qdoc3/generator.cpp
parentd623e2bb039111957efd5edd7da84e3c5a22751e (diff)
downloadQt-916b610a272f1a1db41ad4177651e34904dd18a0.zip
Qt-916b610a272f1a1db41ad4177651e34904dd18a0.tar.gz
Qt-916b610a272f1a1db41ad4177651e34904dd18a0.tar.bz2
qdoc: Generate more xml for group pages.
Diffstat (limited to 'tools/qdoc3/generator.cpp')
-rw-r--r--tools/qdoc3/generator.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/qdoc3/generator.cpp b/tools/qdoc3/generator.cpp
index eee998a..5bd5156 100644
--- a/tools/qdoc3/generator.cpp
+++ b/tools/qdoc3/generator.cpp
@@ -860,7 +860,11 @@ QMap<QString, QString>& Generator::formattingRightMap()
return fmtRightMaps[format()];
}
-QString Generator::trimmedTrailing(const QString &string)
+/*
+ Trims trailimng whitespace off the \a string and returns
+ the trimmed string.
+ */
+QString Generator::trimmedTrailing(const QString& string)
{
QString trimmed = string;
while (trimmed.length() > 0 && trimmed[trimmed.length() - 1].isSpace())