diff options
Diffstat (limited to 'src/progs/base/prog_specific.cpp')
-rw-r--r-- | src/progs/base/prog_specific.cpp | 8 |
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); |