QDoc: Disambiguate prev and next links in html source.
authorCasper van Donderen <casper.vandonderen@nokia.com>
Thu, 26 Apr 2012 05:58:25 +0000 (07:58 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 26 Apr 2012 12:12:12 +0000 (14:12 +0200)
Change-Id: Iaa82b9b6de71b577a44eae86eb6847c07d068670
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
src/tools/qdoc/htmlgenerator.cpp

index 7d82713..806be0a 100644 (file)
@@ -1876,7 +1876,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
@@ -1894,7 +1894,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