diff options
Diffstat (limited to 'languages/ada/backgroundparser.cpp')
-rw-r--r-- | languages/ada/backgroundparser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/ada/backgroundparser.cpp b/languages/ada/backgroundparser.cpp index f94f3216..68607851 100644 --- a/languages/ada/backgroundparser.cpp +++ b/languages/ada/backgroundparser.cpp @@ -15,15 +15,15 @@ #include "AdaParser.hpp" #include "AdaAST.hpp" #include <kdebug.h> -#include <qfile.h> +#include <tqfile.h> #include <config.h> #include <sstream> BackgroundParser::BackgroundParser( ProblemReporter* reporter, - const QString& source, - const QString& filename ) + const TQString& source, + const TQString& filename ) : m_reporter( reporter ), m_source( source.unicode(), source.length() ), m_fileName( filename ) @@ -36,7 +36,7 @@ BackgroundParser::~BackgroundParser() void BackgroundParser::run() { - QCString _fn = QFile::encodeName(m_fileName); + TQCString _fn = TQFile::encodeName(m_fileName); std::string fn( _fn.data() ); std::istringstream stream( m_source.utf8().data() ); @@ -64,7 +64,7 @@ void BackgroundParser::run() } catch( antlr::ANTLRException& ex ){ kdDebug() << "*exception*: " << ex.toString().c_str() << endl; - m_reporter->reportError( QString::fromLatin1( ex.getMessage().c_str() ), + m_reporter->reportError( TQString::fromLatin1( ex.getMessage().c_str() ), m_fileName, lexer.getLine(), lexer.getColumn() ); |