summaryrefslogtreecommitdiffstats
path: root/src/tools/c18/c18_compile.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/tools/c18/c18_compile.cpp
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-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/c18/c18_compile.cpp')
-rw-r--r--src/tools/c18/c18_compile.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tools/c18/c18_compile.cpp b/src/tools/c18/c18_compile.cpp
index 181da36..d3ca920 100644
--- a/src/tools/c18/c18_compile.cpp
+++ b/src/tools/c18/c18_compile.cpp
@@ -13,9 +13,9 @@
#include "devices/list/device_list.h"
//-----------------------------------------------------------------------------
-QStringList C18::CompileFile::genericArguments(const Compile::Config &config) const
+TQStringList C18::CompileFile::genericArguments(const Compile::Config &config) const
{
- QStringList args;
+ TQStringList args;
args += config.includeDirs(Tool::Category::Compiler, "-I");
args += "-I" + Compile::Config::directory(group(), Compile::DirectoryType::Header).path();
args += "$NO_AUTO_DEVICE(-p)";
@@ -26,21 +26,21 @@ QStringList C18::CompileFile::genericArguments(const Compile::Config &config) co
return args;
}
-QString C18::CompileFile::outputFiles() const
+TQString C18::CompileFile::outputFiles() const
{
return "PURL::Object";
}
-void C18::CompileFile::logStderrLine(const QString &line)
+void C18::CompileFile::logStderrLine(const TQString &line)
{
// #### TODO
- doLog(Log::LineType::Normal, line, QString::null, 0);
+ doLog(Log::LineType::Normal, line, TQString(), 0);
}
//-----------------------------------------------------------------------------
-QStringList C18::Link::genericArguments(const Compile::Config &config) const
+TQStringList C18::Link::genericArguments(const Compile::Config &config) const
{
- QStringList args;
+ TQStringList args;
args += "/k%LKR_PATH";
args += "%LKR_NAME";
args += "/l" + Compile::Config::directory(group(), Compile::DirectoryType::Library).path();
@@ -53,13 +53,13 @@ QStringList C18::Link::genericArguments(const Compile::Config &config) const
return args;
}
-QString C18::Link::outputFiles() const
+TQString C18::Link::outputFiles() const
{
return "PURL::Lkr PURL::Map PURL::Hex PURL::Coff PURL::Lst PURL::Cod";
}
-void C18::Link::logStderrLine(const QString &line)
+void C18::Link::logStderrLine(const TQString &line)
{
// #### TODO
- doLog(Log::LineType::Normal, line, QString::null, 0);
+ doLog(Log::LineType::Normal, line, TQString(), 0);
}