summaryrefslogtreecommitdiffstats
path: root/src/tools/boost/boost.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/boost/boost.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/boost/boost.cpp')
-rw-r--r--src/tools/boost/boost.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tools/boost/boost.cpp b/src/tools/boost/boost.cpp
index 86e304c..e67f833 100644
--- a/src/tools/boost/boost.cpp
+++ b/src/tools/boost/boost.cpp
@@ -15,7 +15,7 @@
#include "devices/base/device_group.h"
//----------------------------------------------------------------------------
-bool Boost::Linker::checkExecutableResult(bool, QStringList &lines) const
+bool Boost::Linker::checkExecutableResult(bool, TQStringList &lines) const
{
return ( lines.count()>0 && lines[0].startsWith("BoostLink ") );
}
@@ -25,26 +25,26 @@ PURL::Directory Boost::Linker::checkExecutableWorkingDirectory() const
return static_cast<const Group *>(_group)->checkExecutableUrl().directory();
}
-QStringList Boost::Linker16::checkExecutableOptions(bool) const
+TQStringList Boost::Linker16::checkExecutableOptions(bool) const
{
// #### otherwise may stall...
- QStringList args;
+ TQStringList args;
args += "-t PIC16F873";
args += static_cast<const Group *>(_group)->checkExecutableUrl().toExtension("obj").filename();
return args;
}
-QStringList Boost::Linker18::checkExecutableOptions(bool) const
+TQStringList Boost::Linker18::checkExecutableOptions(bool) const
{
// #### otherwise may stall...
- QStringList args;
+ TQStringList args;
args += "-t PIC18F452";
args += static_cast<const Group *>(_group)->checkExecutableUrl().toExtension("obj").filename();
return args;
}
//----------------------------------------------------------------------------
-QStringList Boost::Compiler::checkExecutableOptions(bool) const
+TQStringList Boost::Compiler::checkExecutableOptions(bool) const
{
// #### otherwise may stall...
return static_cast<const Group *>(_group)->checkExecutableUrl().filename();
@@ -56,14 +56,14 @@ PURL::Directory Boost::Compiler::checkExecutableWorkingDirectory() const
}
//----------------------------------------------------------------------------
-Boost::Group::Group(const QString &extension, const QString &text)
+Boost::Group::Group(const TQString &extension, const TQString &text)
: _checkExecTmp(_sview, extension)
{
if ( _checkExecTmp.openForWrite() ) _checkExecTmp.appendText(text);
_checkExecTmp.close();
}
-QString Boost::Group::comment() const
+TQString Boost::Group::comment() const
{
return i18n("The Boost toolchain needs to be run by Wine with \"Windows NT 4.0\" compatibility. This can be configured with the Wine configuration utility.");
}
@@ -90,10 +90,10 @@ Compile::Config *Boost::Group::configFactory(::Project *project) const
return new Boost::Config(project);
}
-QValueList<const Device::Data *> Boost::Group::getSupportedDevices(const QString &) const
+TQValueList<const Device::Data *> Boost::Group::getSupportedDevices(const TQString &) const
{
- QValueList<const Device::Data *> list;
- QValueVector<QString> devices = Device::lister().group("pic")->supportedDevices();
+ TQValueList<const Device::Data *> list;
+ TQValueVector<TQString> devices = Device::lister().group("pic")->supportedDevices();
for (uint i=0; i<devices.count(); i++) {
const Device::Data *data = Device::lister().data(devices[i]);
if ( supportedArchitecture(static_cast<const Pic::Data *>(data)->architecture()) ) list.append(data);