summaryrefslogtreecommitdiffstats
path: root/src/progs/base/prog_specific.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/progs/base/prog_specific.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/progs/base/prog_specific.cpp')
-rw-r--r--src/progs/base/prog_specific.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/base/prog_specific.cpp b/src/progs/base/prog_specific.cpp
index a372e92..32bc5e3 100644
--- a/src/progs/base/prog_specific.cpp
+++ b/src/progs/base/prog_specific.cpp
@@ -16,7 +16,7 @@ Programmer::DeviceSpecific::DeviceSpecific(Programmer::Base &base)
{}
//-----------------------------------------------------------------------------
-Programmer::Hardware::Hardware(Programmer::Base &base, Port::Base *port, const QString &name)
+Programmer::Hardware::Hardware(Programmer::Base &base, Port::Base *port, const TQString &name)
: Log::Base(&base), _port(port), _name(name), _base(base)
{}
@@ -37,14 +37,14 @@ void Programmer::Hardware::disconnectHardware()
internalDisconnectHardware();
}
-bool Programmer::Hardware::rawWrite(const QString &data)
+bool Programmer::Hardware::rawWrite(const TQString &data)
{
Q_ASSERT(_port);
- QByteArray a = toAscii(data);
+ TQByteArray a = toAscii(data);
return _port->send(a.data(), a.count());
}
-bool Programmer::Hardware::rawRead(uint size, QString &data)
+bool Programmer::Hardware::rawRead(uint size, TQString &data)
{
Q_ASSERT(_port);
return _port->receive(size, data);