summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-06-25 11:31:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-06-25 11:31:51 (GMT)
commitc37c8626674dd6ba0d53dcad84dd4bb5d92005a4 (patch)
treefa51c4ac8c1fe241b2d6c4af9d2f9a1297ce8e0a /src/htmlhelp.cpp
parent0c6ee149829948582e5e5c1b96c8b3105b02672a (diff)
downloadDoxygen-c37c8626674dd6ba0d53dcad84dd4bb5d92005a4.zip
Doxygen-c37c8626674dd6ba0d53dcad84dd4bb5d92005a4.tar.gz
Doxygen-c37c8626674dd6ba0d53dcad84dd4bb5d92005a4.tar.bz2
Release-1.7.1
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r--src/htmlhelp.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp
index a488db2..037dd72 100644
--- a/src/htmlhelp.cpp
+++ b/src/htmlhelp.cpp
@@ -66,7 +66,7 @@ class HtmlHelpIndex
void addItem(const char *first,const char *second,
const char *url, const char *anchor,
bool hasLink,bool reversed);
- void writeFields(QTextStream &t);
+ void writeFields(FTextStream &t);
private:
IndexFieldSDict *dict;
};
@@ -147,7 +147,7 @@ void HtmlHelpIndex::addItem(const char *level1,const char *level2,
* b1 -> link to url#anchor
* </pre>
*/
-void HtmlHelpIndex::writeFields(QTextStream &t)
+void HtmlHelpIndex::writeFields(FTextStream &t)
{
dict->sort();
IndexFieldSDict::Iterator ifli(*dict);
@@ -305,7 +305,6 @@ void HtmlHelp::initialize()
}
/* Write the header of the contents file */
cts.setDevice(cf);
- cts.setEncoding(QTextStream::Latin1);
cts << "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">\n"
"<HTML><HEAD></HEAD><BODY>\n"
"<OBJECT type=\"text/site properties\">\n"
@@ -323,7 +322,6 @@ void HtmlHelp::initialize()
}
/* Write the header of the contents file */
kts.setDevice(kf);
- kts.setEncoding(QTextStream::Latin1);
kts << "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">\n"
"<HTML><HEAD></HEAD><BODY>\n"
"<OBJECT type=\"text/site properties\">\n"
@@ -446,12 +444,7 @@ void HtmlHelp::createProjectFile()
QFile f(fName);
if (f.open(IO_WriteOnly))
{
- QTextStream t(&f);
-#if QT_VERSION >= 200
- t.setEncoding(QTextStream::Latin1);
-#endif
-
-
+ FTextStream t(&f);
QCString indexName="index"+Doxygen::htmlFileExtension;
if (Config_getBool("GENERATE_TREEVIEW")) indexName="main"+Doxygen::htmlFileExtension;