summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-07-09 13:21:03 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-07-16 07:56:00 (GMT)
commitba0b76e0e58a33529223703e8d2917d20da25445 (patch)
tree10be50a7b8fce83c7e6dc08217cf7f0c7ed80db9 /tools
parenta34119272b588fa8ed31188f343b888b11813199 (diff)
downloadQt-ba0b76e0e58a33529223703e8d2917d20da25445.zip
Qt-ba0b76e0e58a33529223703e8d2917d20da25445.tar.gz
Qt-ba0b76e0e58a33529223703e8d2917d20da25445.tar.bz2
Doc: fixing offline style
(cherry picked from commit c50d351df3b7fe2f0d10444c1080b6a8c9833e0f)
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index fec1049..fb0f28d 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -214,7 +214,7 @@ HtmlGenerator::HtmlGenerator()
numTableRows(0),
threeColumnEnumValueTable(true),
offlineDocs(true),
- creatorDocs(false),
+ creatorDocs(true),
funcLeftParen("\\S(\\()"),
myTree(0),
slow(false),
@@ -1782,17 +1782,15 @@ void HtmlGenerator::generateHeader(const QString& title,
// Setting assistant configuration
if (offlineDocs)
{
- out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/creatorStyle.css\" />"; // Only for Qt Creator
+ out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\" />"; // Only for Qt Creator
out() << "</head>\n";
- //out() << "<body class=\"offline narrow \">\n"; // offline for Assistant
- out() << "<body class=\"offline narrow creator\">\n"; // offline for Creator
+ out() << "<body class=\"offline \">\n"; // offline for Assistant
}
if (creatorDocs)
{
- out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/creatorStyle.css\" />"; // Only for Qt Creator
+ out() << " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\" />"; // Only for Qt Creator
out() << "</head>\n";
- //out() << "<body class=\"offline narrow \">\n"; // offline for Assistant
- out() << "<body class=\"offline narrow creator\">\n"; // offline for Creator
+ out() << "<body class=\"offline creator\">\n"; // offline for Creator
}
// Setting online doc configuration
else