summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/htmlgenerator.cpp
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-07-08 09:35:27 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-07-08 09:35:27 (GMT)
commit25ace9513587abb5e52f78d900e6bec7b04bb663 (patch)
tree88e7b9ede38c2bb4ec9ccef00172bb02087a1f05 /tools/qdoc3/htmlgenerator.cpp
parent16264dc0035260d3e68f1ed22ea647e7c157bd3c (diff)
downloadQt-25ace9513587abb5e52f78d900e6bec7b04bb663.zip
Qt-25ace9513587abb5e52f78d900e6bec7b04bb663.tar.gz
Qt-25ace9513587abb5e52f78d900e6bec7b04bb663.tar.bz2
Doc: more cleaning
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp27
1 files changed, 3 insertions, 24 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 7075efc..567a297 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -1766,8 +1766,8 @@ void HtmlGenerator::generateHeader(const QString& title,
out() << " <script src=\"scripts/functions.js\" type=\"text/javascript\"></script>\n";
// Adding style and js for small windows
out() << " <script src=\"./scripts/superfish.js\" type=\"text/javascript\"></script>\n";
- out() << " <script src=\"./scripts/narrow.js\" type=\"text/javascript\"></script>\n";
out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/superfish.css\" />";
+ out() << " <script src=\"./scripts/narrow.js\" type=\"text/javascript\"></script>\n";
out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/narrow.css\" />";
// Adding syntax highlighter // future release
@@ -1775,32 +1775,14 @@ void HtmlGenerator::generateHeader(const QString& title,
// Setting assistant configuration
if (offlineDocs)
{
- out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\" />"; // Style common to all browsers
- // out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/OfflineStyle.css\" />"; // Only for Qt Creator
+ // out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/CreatorStyle.css\" />"; // Only for Qt Creator
out() << "</head>\n";
out() << "<body class=\"offline narrow\">\n"; // narrow mainly for Creator
- out() << "</head>\n";
- out() << "<body class=\"offline narrow\" >\n"; // narrow mainly for Creator
-// out() << " <script src=\"scripts/functions.js\" type=\"text/javascript\"></script>\n";
}
// Setting online doc configuration
else
{
- out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\"\n />";
- // out() << " <!--[if IE]>\n";
- // out() << "<meta name=\"MSSmartTagsPreventParsing\" content=\"true\">\n";
- // out() << "<meta http-equiv=\"imagetoolbar\" content=\"no\">\n";
- // out() << "<![endif]-->\n";
- // out() << "<!--[if lt IE 7]>\n";
- // out() << "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/style_ie6.css\">\n";
- // out() << "<![endif]-->\n";
- // out() << "<!--[if IE 7]>\n";
- // out() << "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/style_ie7.css\">\n";
- // out() << "<![endif]-->\n";
- // out() << "<!--[if IE 8]>\n";
- // out() << "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/style_ie8.css\">\n";
- // out() << "<![endif]-->\n";
- // Custom browser styles
+ // Browser spec styles
out() << " <!--[if IE]>\n";
out() << "<meta name=\"MSSmartTagsPreventParsing\" content=\"true\">\n";
out() << "<meta http-equiv=\"imagetoolbar\" content=\"no\">\n";
@@ -1816,9 +1798,6 @@ void HtmlGenerator::generateHeader(const QString& title,
out() << "<![endif]-->\n";
out() << "</head>\n";
- out() << "<body class=\"\" onload=\"CheckEmptyAndLoadList();\">\n"; // CheckEmptyAndLoadList() activating online search
-
- out() << "</head>\n";
// CheckEmptyAndLoadList activating search
out() << "<body class=\"\" onload=\"CheckEmptyAndLoadList();\">\n";
}