diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
commit | 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch) | |
tree | b95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/tools/boost/boostc_compile.cpp | |
parent | b79a2c28534cf09987eeeba3077fff9236df182a (diff) | |
download | piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip |
TQt4 port piklab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/tools/boost/boostc_compile.cpp')
-rw-r--r-- | src/tools/boost/boostc_compile.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tools/boost/boostc_compile.cpp b/src/tools/boost/boostc_compile.cpp index 2298361..3c18fbe 100644 --- a/src/tools/boost/boostc_compile.cpp +++ b/src/tools/boost/boostc_compile.cpp @@ -11,33 +11,33 @@ #include "boost_config.h" //---------------------------------------------------------------------------- -void Boost::Process::logStderrLine(const QString &line) +void Boost::Process::logStderrLine(const TQString &line) { if ( parseErrorLine(line, Compile::ParseErrorData("(.*)\\((\\d+).*\\): (error|warning):(.*)", 1, 2, 4, 3)) ) return; - doLog(Log::LineType::Normal, line, QString::null, 0); + doLog(Log::LineType::Normal, line, TQString(), 0); } //---------------------------------------------------------------------------- -QStringList Boost::CompileFile::genericArguments(const Compile::Config &config) const +TQStringList Boost::CompileFile::genericArguments(const Compile::Config &config) const { - QStringList args; + TQStringList args; args += "-t %DEVICE"; args += "-i"; - args += config.includeDirs(Tool::Category::Compiler, "-I", QString::null, ";"); + args += config.includeDirs(Tool::Category::Compiler, "-I", TQString(), ";"); args += config.customOptions(Tool::Category::Compiler); args += "%I"; return args; } -QString Boost::CompileFile::outputFiles() const +TQString Boost::CompileFile::outputFiles() const { return "obj"; } //---------------------------------------------------------------------------- -QStringList Boost::Link::genericArguments(const Compile::Config &config) const +TQStringList Boost::Link::genericArguments(const Compile::Config &config) const { - QStringList args; + TQStringList args; args += "-t %DEVICE"; args += "-p"; args += "%PROJECT"; @@ -49,7 +49,7 @@ QStringList Boost::Link::genericArguments(const Compile::Config &config) const return args; } -QString Boost::Link::outputFiles() const +TQString Boost::Link::outputFiles() const { return "PURL::Lst PURL::Hex PURL::Coff PURL::AsmGPAsm stat tree casm"; } |