diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /buildtools/lib/parsers/qmake/tests/runner.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-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 'buildtools/lib/parsers/qmake/tests/runner.cpp')
-rw-r--r-- | buildtools/lib/parsers/qmake/tests/runner.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/buildtools/lib/parsers/qmake/tests/runner.cpp b/buildtools/lib/parsers/qmake/tests/runner.cpp index 140b39f4..6f1d5956 100644 --- a/buildtools/lib/parsers/qmake/tests/runner.cpp +++ b/buildtools/lib/parsers/qmake/tests/runner.cpp @@ -24,7 +24,7 @@ #include "qmakedriver.h" #include "qmakeastvisitor.h" -#include <qstring.h> +#include <tqstring.h> #include <kdebug.h> #include <kcmdlineargs.h> @@ -93,7 +93,7 @@ private: QMake::ASTVisitor::leaveFunctionScope(p); } - QString replaceWs(QString s) + TQString replaceWs(TQString s) { return s.replace("\n", "%nl").replace("\t", "%tab").replace(" ", "%spc"); } @@ -122,9 +122,9 @@ private: QMake::ASTVisitor::processInclude(a); } - QString getIndent() + TQString getIndent() { - QString ind; + TQString ind; for( int i = 0 ; i < indent ; i++) ind += " "; return ind; @@ -159,7 +159,7 @@ int main(int argc, char *argv[]) if ( !silent ) { pa.processProject(projectAST); - QString profile; + TQString profile; projectAST->writeBack(profile); kdDebug(9024) << "QMake file written back:\n" << profile << endl; } |