summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/parsers/qmake/qmakedriver.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /buildtools/lib/parsers/qmake/qmakedriver.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'buildtools/lib/parsers/qmake/qmakedriver.cpp')
-rw-r--r--buildtools/lib/parsers/qmake/qmakedriver.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/buildtools/lib/parsers/qmake/qmakedriver.cpp b/buildtools/lib/parsers/qmake/qmakedriver.cpp
index e2d93ef8..09256178 100644
--- a/buildtools/lib/parsers/qmake/qmakedriver.cpp
+++ b/buildtools/lib/parsers/qmake/qmakedriver.cpp
@@ -30,7 +30,7 @@
#include "qmake_lex.h"
#include "qmake_yacc.hpp"
-namespace QMake {
+namespace TQMake {
int Driver::parseFile(const char *fileName, ProjectAST **ast, int debug)
{
@@ -52,15 +52,15 @@ int Driver::parseFile(const char *fileName, ProjectAST **ast, int debug)
(*ast)->setFileName(fileName);
switch( l.lineending() )
{
- case QMake::Lexer::Windows:
- (*ast)->setLineEnding(QMake::ProjectAST::Windows);
+ case TQMake::Lexer::Windows:
+ (*ast)->setLineEnding(TQMake::ProjectAST::Windows);
break;
- case QMake::Lexer::MacOS:
- (*ast)->setLineEnding(QMake::ProjectAST::MacOS);
+ case TQMake::Lexer::MacOS:
+ (*ast)->setLineEnding(TQMake::ProjectAST::MacOS);
break;
- case QMake::Lexer::Unix:
+ case TQMake::Lexer::Unix:
default:
- (*ast)->setLineEnding(QMake::ProjectAST::Unix);
+ (*ast)->setLineEnding(TQMake::ProjectAST::Unix);
break;
}
return ret;
@@ -96,15 +96,15 @@ int Driver::parseString( const char* string, ProjectAST **ast, int debug )
(*ast)->setFileName("");
switch( l.lineending() )
{
- case QMake::Lexer::Windows:
- (*ast)->setLineEnding(QMake::ProjectAST::Windows);
+ case TQMake::Lexer::Windows:
+ (*ast)->setLineEnding(TQMake::ProjectAST::Windows);
break;
- case QMake::Lexer::MacOS:
- (*ast)->setLineEnding(QMake::ProjectAST::MacOS);
+ case TQMake::Lexer::MacOS:
+ (*ast)->setLineEnding(TQMake::ProjectAST::MacOS);
break;
- case QMake::Lexer::Unix:
+ case TQMake::Lexer::Unix:
default:
- (*ast)->setLineEnding(QMake::ProjectAST::Unix);
+ (*ast)->setLineEnding(TQMake::ProjectAST::Unix);
break;
}
return ret;