summaryrefslogtreecommitdiffstats
path: root/languages/ada/backgroundparser.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/ada/backgroundparser.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/ada/backgroundparser.cpp')
-rw-r--r--languages/ada/backgroundparser.cpp10
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() );