diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:22:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:22:13 -0600 |
commit | 9abf98be4f3111c54f13dcb44902a275bd2d7169 (patch) | |
tree | d6771816657222c79deae56c23c2d6339cba27e3 /src/devices/base | |
parent | 2b18f76290022900fe896ebac6b2b6da30a9f136 (diff) | |
download | piklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.tar.gz piklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.zip |
Rename additional global TQt functions
Diffstat (limited to 'src/devices/base')
-rw-r--r-- | src/devices/base/device_group.cpp | 2 | ||||
-rw-r--r-- | src/devices/base/hex_buffer.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/base/device_group.cpp b/src/devices/base/device_group.cpp index db70264..169a103 100644 --- a/src/devices/base/device_group.cpp +++ b/src/devices/base/device_group.cpp @@ -69,7 +69,7 @@ TQPixmap drawGraph(const TQValueVector<Device::RangeBox> &boxes) xTicks.add(0.0, 0.0); yTicks.add(0.0, 0.0); for (uint i=0; i<boxes.count(); i++) { -// qDebug("box #%i: %f=[%f %f] %f=[%f %f]", i, boxes[i].start.x, boxes[i].start.yMin, +// tqDebug("box #%i: %f=[%f %f] %f=[%f %f]", i, boxes[i].start.x, boxes[i].start.yMin, // boxes[i].start.yMax, boxes[i].end.x, boxes[i].end.yMin, boxes[i].end.yMax); xTicks.add(boxes[i].start.x, boxes[i].start.yMin); xTicks.add(boxes[i].start.x, boxes[i].start.yMax); diff --git a/src/devices/base/hex_buffer.cpp b/src/devices/base/hex_buffer.cpp index 3307f79..d4b61a9 100644 --- a/src/devices/base/hex_buffer.cpp +++ b/src/devices/base/hex_buffer.cpp @@ -217,7 +217,7 @@ void HexBuffer::load(TQTextStream &stream, Format &format, TQValueList<ErrorData uint data; if ( sscanf(p, "%02X", &data)!=1 ) errors += ErrorData(line, UnexpectedEOL); else if ( ((cksum+data) & 0xFF)!=0 ) errors += ErrorData(line, WrongCRC); - //qDebug("new address high: %s", toHex(addrH<<16, 8).data()); + //tqDebug("new address high: %s", toHex(addrH<<16, 8).data()); continue; // goto next record } @@ -236,7 +236,7 @@ void HexBuffer::load(TQTextStream &stream, Format &format, TQValueList<ErrorData /* modified by A.G, because low and hi bytes was swapped in Tobias's code , 8 may 2005 */ uint addrbase = ((addrH << 16) | addr); - //qDebug("line %i: address %s", line, toHex(addrbase, 8).data()); + //tqDebug("line %i: address %s", line, toHex(addrbase, 8).data()); for (uint x = 0; x<count; x++) { uint data; if ( sscanf(p, "%02X", &data)!=1 ) { @@ -252,7 +252,7 @@ void HexBuffer::load(TQTextStream &stream, Format &format, TQValueList<ErrorData BitValue value = (*this)[a]; if ( addrbase+x & 1 ) insert(a, value.maskWith(0x00FF) | data << 8); // Odd addr => Hi byte else insert(a, value.maskWith(0xFF00) | data); // Low byte - //if ( x==0 ) qDebug("fb@%s: %s", toHex(addrbase+x >> 1, 8).data(), toHex(fb[addrbase+x >> 1], 8).data()); + //if ( x==0 ) tqDebug("fb@%s: %s", toHex(addrbase+x >> 1, 8).data(), toHex(fb[addrbase+x >> 1], 8).data()); cksum += data; } } else if ( bytecount==count*2 ) { @@ -269,7 +269,7 @@ void HexBuffer::load(TQTextStream &stream, Format &format, TQValueList<ErrorData break; } p += 4; - //qDebug("%s: %s", toHexLabel(addr+x, 4).latin1(), toHexLabel(datal | (datah << 8), 4).latin1()); + //tqDebug("%s: %s", toHexLabel(addr+x, 4).latin1(), toHexLabel(datal | (datah << 8), 4).latin1()); insert(addr+x, datal | (datah << 8)); cksum += datah; cksum += datal; |