summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit2/base/pickit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/pickit2/base/pickit.cpp')
-rw-r--r--src/progs/pickit2/base/pickit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/pickit2/base/pickit.cpp b/src/progs/pickit2/base/pickit.cpp
index e6284e1..3344ef8 100644
--- a/src/progs/pickit2/base/pickit.cpp
+++ b/src/progs/pickit2/base/pickit.cpp
@@ -52,14 +52,14 @@ bool Pickit::USBPort::command(const char *s)
bool Pickit::USBPort::command(const Array &cmd)
{
- log(Log::DebugLevel::Extra, TQString("send command: \"%1\"").arg(cmd.pretty()));
+ log(Log::DebugLevel::Extra, TQString("send command: \"%1\"").tqarg(cmd.pretty()));
return write(writeEndPoint(), (const char *)cmd._data.data(), cmd.length());
}
bool Pickit::USBPort::receive(Pickit::Array &array)
{
if ( !read(readEndPoint(), (char *)array._data.data(), array.length()) ) return false;
- log(Log::DebugLevel::Max, TQString("received: \"%1\"").arg(array.pretty()));
+ log(Log::DebugLevel::Max, TQString("received: \"%1\"").tqarg(array.pretty()));
return true;
}
@@ -80,7 +80,7 @@ bool Pickit::USBPort::getMode(VersionData &version, ::Programmer::Mode &mode)
bool Pickit::USBPort::receiveWords(uint nbBytesWord, uint nbRead, TQValueVector<uint> &words, uint offset)
{
- log(Log::DebugLevel::Max, TQString("receive words nbBytesWord=%1 nbRead=%2 offset=%3").arg(nbBytesWord).arg(nbRead).arg(offset));
+ log(Log::DebugLevel::Max, TQString("receive words nbBytesWord=%1 nbRead=%2 offset=%3").tqarg(nbBytesWord).tqarg(nbRead).tqarg(offset));
Array a = array();
TQMemArray<uchar> data(nbRead*a.length());
uint l = 0;