diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-05-07 19:37:33 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-05-07 19:37:33 (GMT) |
commit | a3b06c4fd310fdeda48a4730139cee09b5302072 (patch) | |
tree | 58636054e8f52c5851109b908053cc4da26b060a /src/xmldocvisitor.cpp | |
parent | 368c93a05bf38e440dba3f033f6e2e1cbeb2f379 (diff) | |
download | Doxygen-a3b06c4fd310fdeda48a4730139cee09b5302072.zip Doxygen-a3b06c4fd310fdeda48a4730139cee09b5302072.tar.gz Doxygen-a3b06c4fd310fdeda48a4730139cee09b5302072.tar.bz2 |
Release-1.6.3-20100507
Diffstat (limited to 'src/xmldocvisitor.cpp')
-rw-r--r-- | src/xmldocvisitor.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp index d9b33d2..cbe3c1d 100644 --- a/src/xmldocvisitor.cpp +++ b/src/xmldocvisitor.cpp @@ -28,7 +28,7 @@ #include <qfileinfo.h> #include "parserintf.h" -XmlDocVisitor::XmlDocVisitor(QTextStream &t,CodeOutputInterface &ci) +XmlDocVisitor::XmlDocVisitor(FTextStream &t,CodeOutputInterface &ci) : DocVisitor(DocVisitor_XML), m_t(t), m_ci(ci), m_insidePre(FALSE), m_hide(FALSE) { } @@ -179,7 +179,7 @@ void XmlDocVisitor::visit(DocVerbatim *s) case DocVerbatim::Code: // fall though m_t << "<programlisting>"; Doxygen::parserManager->getParser(m_langExt) - ->parseCode(m_ci,s->context(),s->text().latin1(), + ->parseCode(m_ci,s->context(),s->text(), s->isExample(),s->exampleFile()); m_t << "</programlisting>"; break; @@ -237,7 +237,7 @@ void XmlDocVisitor::visit(DocInclude *inc) FileDef fd( cfi.dirPath(), cfi.fileName() ); Doxygen::parserManager->getParser(inc->extension()) ->parseCode(m_ci,inc->context(), - inc->text().latin1(), + inc->text(), inc->isExample(), inc->exampleFile(), &fd); m_t << "</programlisting>"; @@ -247,7 +247,7 @@ void XmlDocVisitor::visit(DocInclude *inc) m_t << "<programlisting>"; Doxygen::parserManager->getParser(inc->extension()) ->parseCode(m_ci,inc->context(), - inc->text().latin1(), + inc->text(), inc->isExample(), inc->exampleFile()); m_t << "</programlisting>"; @@ -287,7 +287,7 @@ void XmlDocVisitor::visit(DocIncOperator *op) { Doxygen::parserManager->getParser(m_langExt) ->parseCode(m_ci,op->context(), - op->text().latin1(),op->isExample(), + op->text(),op->isExample(), op->exampleFile()); } pushEnabled(); @@ -656,7 +656,7 @@ void XmlDocVisitor::visitPre(DocImage *img) } m_t << "\""; - QString baseName=img->name(); + QCString baseName=img->name(); int i; if ((i=baseName.findRev('/'))!=-1 || (i=baseName.findRev('\\'))!=-1) { @@ -679,7 +679,7 @@ void XmlDocVisitor::visitPre(DocImage *img) // copy the image to the output dir QFile inImage(img->name()); - QFile outImage(Config_getString("XML_OUTPUT")+"/"+baseName.ascii()); + QFile outImage(Config_getString("XML_OUTPUT")+"/"+baseName.data()); if (inImage.open(IO_ReadOnly)) { if (outImage.open(IO_WriteOnly)) @@ -907,7 +907,7 @@ void XmlDocVisitor::filter(const char *str) m_t << convertToXML(str); } -void XmlDocVisitor::startLink(const QString &ref,const QString &file,const QString &anchor) +void XmlDocVisitor::startLink(const QCString &ref,const QCString &file,const QCString &anchor) { m_t << "<ref refid=\"" << file; if (!anchor.isEmpty()) m_t << "_1" << anchor; |