summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:29:47 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:29:47 (GMT)
commitdaf91dc906e217e81f77f491e0abf505a91289b8 (patch)
tree223d088e44a6b0956dd0437ed4851244b2e7f36c /src/definition.cpp
parenta6cb7ef1dc7c3d6b6ff949646b9b2deda3fc0bf3 (diff)
downloadDoxygen-daf91dc906e217e81f77f491e0abf505a91289b8.zip
Doxygen-daf91dc906e217e81f77f491e0abf505a91289b8.tar.gz
Doxygen-daf91dc906e217e81f77f491e0abf505a91289b8.tar.bz2
mods for doxygen-0.49-990728
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 328bebe..4474113 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -14,6 +14,7 @@
*
*/
+#include "qtbc.h"
#include <ctype.h>
#include "definition.h"
#include "doxygen.h"
@@ -28,23 +29,23 @@ Definition::~Definition()
delete sectionList;
}
-QString Definition::nameToFile(const char *name)
+QCString Definition::nameToFile(const char *name)
{
- QString result;
+ QCString result;
char c;
const char *p=name;
while ((c=*p++)!=0)
{
switch(c)
{
- case ':': break;
+ case ':': result+="_"; break;
case '<': result+="_lt"; break;
case '>': result+="_gt"; break;
case '*': result+="_ast"; break;
case '&': result+="_amp"; break;
case ' ': break;
default:
- if (caseSensitiveNames)
+ if (Config::caseSensitiveNames)
result+=c;
else
result+=tolower(c);
@@ -54,10 +55,10 @@ QString Definition::nameToFile(const char *name)
return result;
}
-void Definition::addSectionsToDefinition(QList<QString> *anchorList)
+void Definition::addSectionsToDefinition(QList<QCString> *anchorList)
{
if (!anchorList) return;
- QString *s=anchorList->first();
+ QCString *s=anchorList->first();
while (s)
{
SectionInfo *si=0;