summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-06-25 11:31:51 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-06-25 11:31:51 (GMT)
commitd0412f05557d55f465407a9337553c0a6ee0396f (patch)
treefa51c4ac8c1fe241b2d6c4af9d2f9a1297ce8e0a /src/index.cpp
parent1cbd7d2faa8d543f521b144a8120c3a1ba2f832f (diff)
downloadDoxygen-d0412f05557d55f465407a9337553c0a6ee0396f.zip
Doxygen-d0412f05557d55f465407a9337553c0a6ee0396f.tar.gz
Doxygen-d0412f05557d55f465407a9337553c0a6ee0396f.tar.bz2
Release-1.7.1
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 0add07b..eab4f4e 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -2495,7 +2495,7 @@ class SearchIndexCategoryMapping
categoryLabel[SEARCH_INDEX_RELATED] = theTranslator->trFriends();
categoryLabel[SEARCH_INDEX_DEFINES] = theTranslator->trDefines();
}
- QString categoryLabel[NUM_SEARCH_INDICES];
+ QCString categoryLabel[NUM_SEARCH_INDICES];
};
void writeJavascriptSearchIndex()
@@ -2607,8 +2607,7 @@ void writeJavascriptSearchIndex()
QFile outFile(fileName);
if (outFile.open(IO_WriteOnly))
{
- QTextStream t(&outFile);
- t.setEncoding(QTextStream::UnicodeUTF8);
+ FTextStream t(&outFile);
t << "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\""
" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">" << endl;
t << "<html><head><title></title>" << endl;
@@ -2837,8 +2836,7 @@ void writeJavascriptSearchIndex()
QFile f(searchDirName+"/search.js");
if (f.open(IO_WriteOnly))
{
- QTextStream t(&f);
- t.setEncoding(QTextStream::UnicodeUTF8);
+ FTextStream t(&f);
t << "// Search script generated by doxygen" << endl;
t << "// Copyright (C) 2009 by Dimitri van Heesch." << endl << endl;
t << "// The code in this file is loosly based on main.js, part of Natural Docs," << endl;
@@ -2888,8 +2886,7 @@ void writeJavascriptSearchIndex()
QFile f(searchDirName+"/nomatches.html");
if (f.open(IO_WriteOnly))
{
- QTextStream t(&f);
- t.setEncoding(QTextStream::UnicodeUTF8);
+ FTextStream t(&f);
t << "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" "
"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">" << endl;
t << "<html><head><title></title>" << endl;
@@ -3184,7 +3181,7 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd, int level, FTVHelp* ftv)
if (level>20)
{
warn(gd->getDefFileName(),gd->getDefLine(),
- "Warning: maximum nesting level exceeded for group %s: check for possible recursive group relation!\n",gd->name().data()
+ "warning: maximum nesting level exceeded for group %s: check for possible recursive group relation!\n",gd->name().data()
);
return;
}
@@ -3404,7 +3401,7 @@ void writeDirTreeNode(OutputList &ol, DirDef *dd, int level, FTVHelp* ftv)
if (level>20)
{
warn(dd->getDefFileName(),dd->getDefLine(),
- "Warning: maximum nesting level exceeded for directory %s: "
+ "warning: maximum nesting level exceeded for directory %s: "
"check for possible recursive directory relation!\n",dd->name().data()
);
return;