summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2012-04-25 14:48:29 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-04-26 11:05:08 (GMT)
commit0a0567098f6407cbec4dbad64f85455bb5eb150a (patch)
treeefeab9036e0b3367554921683348d75b0f466604 /tools/qdoc3
parent58ccc930f6e79a1561d49851103fa949c8b10e91 (diff)
downloadQt-0a0567098f6407cbec4dbad64f85455bb5eb150a.zip
Qt-0a0567098f6407cbec4dbad64f85455bb5eb150a.tar.gz
Qt-0a0567098f6407cbec4dbad64f85455bb5eb150a.tar.bz2
qdoc: Disambiguate prev and next links in html source
Change-Id: I46d9bc685c00bb1fc1d79f75eaf8e1f56e57d744 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 3b40d6e..577e896 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -1688,7 +1688,7 @@ void HtmlGenerator::generateHeader(const QString& title,
out() << " <link rel=\"prev\" href=\""
<< anchorPair.first << "\" />\n";
- navigationLinks += "<a href=\"" + anchorPair.first + "\">";
+ navigationLinks += "<a class=\"prevPage\" href=\"" + anchorPair.first + "\">";
if (linkPair.first == linkPair.second && !anchorPair.second.isEmpty())
navigationLinks += protect(anchorPair.second);
else
@@ -1706,7 +1706,7 @@ void HtmlGenerator::generateHeader(const QString& title,
out() << " <link rel=\"next\" href=\""
<< anchorPair.first << "\" />\n";
- navigationLinks += "<a href=\"" + anchorPair.first + "\">";
+ navigationLinks += "<a class=\"nextPage\" href=\"" + anchorPair.first + "\">";
if (linkPair.first == linkPair.second && !anchorPair.second.isEmpty())
navigationLinks += protect(anchorPair.second);
else