diff options
Diffstat (limited to 'src/progs/direct/base/direct_pic.cpp')
-rw-r--r-- | src/progs/direct/base/direct_pic.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/progs/direct/base/direct_pic.cpp b/src/progs/direct/base/direct_pic.cpp index 30e4722..c6316e9 100644 --- a/src/progs/direct/base/direct_pic.cpp +++ b/src/progs/direct/base/direct_pic.cpp @@ -17,10 +17,10 @@ Direct::PulseEngine::PulseEngine(::Programmer::Base &base) _clockDelay = 0; } -BitValue Direct::PulseEngine::pulseEngine(const QString &cmd, BitValue value) +BitValue Direct::PulseEngine::pulseEngine(const TQString &cmd, BitValue value) { - _pbase.log(Log::DebugLevel::Extra, QString("pulse engine: %1").arg(cmd)); - QByteArray a = toAscii(cmd); + _pbase.log(Log::DebugLevel::Extra, TQString("pulse engine: %1").tqarg(cmd)); + TQByteArray a = toAscii(cmd); BitValue res = 0; for (const char *ptr=a.data(); (ptr-a.data())<int(a.count()); ++ptr) if ( !pulse(ptr, value, res) ) qFatal("pulse engine: invalid command '%c'", *ptr); @@ -75,7 +75,7 @@ bool Direct::PulseEngine::pulse(const char * &cmd, BitValue, BitValue &) uint n = 0; for(; *(cmd+1) && isdigit((int)*(cmd+1)); ++cmd) n = (n * 10) + *(cmd+1) - '0'; - _pbase.log(Log::DebugLevel::Max, "WAIT " + QString::number(n) + " micro-sec."); + _pbase.log(Log::DebugLevel::Max, "WAIT " + TQString::number(n) + " micro-sec."); Port::usleep(n); break; } @@ -177,7 +177,7 @@ bool Direct::Pic8DeviceSpecific::pulse(const char *&cmd, BitValue value, BitValu uint n = 0; for(; *(cmd+1) && isdigit((int)*(cmd+1)); ++cmd) n = (n * 10) + *(cmd+1) - '0'; - log(Log::DebugLevel::Max, "SEND cmd " + QString::number(n)); + log(Log::DebugLevel::Max, "SEND cmd " + TQString::number(n)); send_cmd(n); break; } |