summaryrefslogtreecommitdiffstats
path: root/src/tools/jalv2/jalv2.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/jalv2/jalv2.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/jalv2/jalv2.cpp')
-rw-r--r--src/tools/jalv2/jalv2.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/jalv2/jalv2.cpp b/src/tools/jalv2/jalv2.cpp
index 1d910b8..8ea6d1e 100644
--- a/src/tools/jalv2/jalv2.cpp
+++ b/src/tools/jalv2/jalv2.cpp
@@ -16,19 +16,19 @@
#include "tools/jal/jal_generator.h"
//----------------------------------------------------------------------------
-bool JALV2::Base::checkExecutableResult(bool, QStringList &lines) const
+bool JALV2::Base::checkExecutableResult(bool, TQStringList &lines) const
{
- QStringList tmp;
+ TQStringList tmp;
for (uint i=0; i<lines.count(); i++)
- if ( !lines[i].contains('\r') ) tmp += lines[i]; // ??
+ if ( !lines[i].tqcontains('\r') ) tmp += lines[i]; // ??
lines = tmp;
return ( lines.count()>0 && lines[0].startsWith("jal") );
}
//----------------------------------------------------------------------------
-QString JALV2::Group::informationText() const
+TQString JALV2::Group::informationText() const
{
- return i18n("<a href=\"%1\">JAL V2</a> is a new compiler for the high-level language JAL.").arg("http://www.casadeyork.com/jalv2");
+ return i18n("<a href=\"%1\">JAL V2</a> is a new compiler for the high-level language JAL.").tqarg("http://www.casadeyork.com/jalv2");
}
Tool::Group::BaseData JALV2::Group::baseFactory(Tool::Category category) const
@@ -49,9 +49,9 @@ const char * const SUPPORTED_DEVICES[] = {
0
};
-QValueList<const Device::Data *> JALV2::Group::getSupportedDevices(const QString &) const
+TQValueList<const Device::Data *> JALV2::Group::getSupportedDevices(const TQString &) const
{
- QValueList<const Device::Data *> list;
+ TQValueList<const Device::Data *> list;
for (uint i=0; SUPPORTED_DEVICES[i]; i++) {
const Device::Data *data = Device::lister().data(SUPPORTED_DEVICES[i]);
Q_ASSERT(data);