summaryrefslogtreecommitdiffstats
path: root/src/tools/jal/jal.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/jal/jal.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/jal/jal.cpp')
-rw-r--r--src/tools/jal/jal.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/jal/jal.cpp b/src/tools/jal/jal.cpp
index 009ea21..11e503d 100644
--- a/src/tools/jal/jal.cpp
+++ b/src/tools/jal/jal.cpp
@@ -16,19 +16,19 @@
#include "jal_generator.h"
//----------------------------------------------------------------------------
-bool JAL::Base::checkExecutableResult(bool, QStringList &lines) const
+bool JAL::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 JAL::Group::informationText() const
+TQString JAL::Group::informationText() const
{
- return i18n("<a href=\"%1\">JAL</a> is a high-level language for PIC microcontrollers.").arg("http://jal.sourceforge.net");
+ return i18n("<a href=\"%1\">JAL</a> is a high-level language for PIC microcontrollers.").tqarg("http://jal.sourceforge.net");
}
Tool::Group::BaseData JAL::Group::baseFactory(Tool::Category category) const
@@ -44,9 +44,9 @@ const char * const SUPPORTED_DEVICES[] = {
0
};
-QValueList<const Device::Data *> JAL::Group::getSupportedDevices(const QString &) const
+TQValueList<const Device::Data *> JAL::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);