summaryrefslogtreecommitdiffstats
path: root/src/progs/direct
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:22:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:22:13 -0600
commit9abf98be4f3111c54f13dcb44902a275bd2d7169 (patch)
treed6771816657222c79deae56c23c2d6339cba27e3 /src/progs/direct
parent2b18f76290022900fe896ebac6b2b6da30a9f136 (diff)
downloadpiklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.tar.gz
piklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.zip
Rename additional global TQt functions
Diffstat (limited to 'src/progs/direct')
-rw-r--r--src/progs/direct/base/direct_18F.cpp4
-rw-r--r--src/progs/direct/base/direct_pic.cpp2
-rw-r--r--src/progs/direct/xml/xml_direct_parser.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/direct/base/direct_18F.cpp b/src/progs/direct/base/direct_18F.cpp
index 8c2c371..f10916d 100644
--- a/src/progs/direct/base/direct_18F.cpp
+++ b/src/progs/direct/base/direct_18F.cpp
@@ -83,7 +83,7 @@ bool Direct::P18F::doRead(Pic::MemoryRangeType type, Device::Array &data, const
}
}
BitValue mask = device().mask(type);
- //qDebug("read %s %i", Pic::MEMORY_RANGE_TYPE_DATA[type].label, device().nbWords(type));
+ //tqDebug("read %s %i", Pic::MEMORY_RANGE_TYPE_DATA[type].label, device().nbWords(type));
//pulseEngine("w300000"); // what for ?
directAccess(type);
switch (type.type()) {
@@ -125,7 +125,7 @@ bool Direct::P18F::doRead(Pic::MemoryRangeType type, Device::Array &data, const
bool Direct::P18F::doWrite(Pic::MemoryRangeType type, const Device::Array &data, bool force)
{
uint inc = device().addressIncrement(type);
- //qDebug("write %s %i/%i %i", Pic::MEMORY_RANGE_TYPE_DATA[type].label, nbWords, data.count(), inc);
+ //tqDebug("write %s %i/%i %i", Pic::MEMORY_RANGE_TYPE_DATA[type].label, nbWords, data.count(), inc);
//pulseEngine("w300000"); ??
configureSinglePanel();
directAccess(type);
diff --git a/src/progs/direct/base/direct_pic.cpp b/src/progs/direct/base/direct_pic.cpp
index 19c74b5..2d2b6de 100644
--- a/src/progs/direct/base/direct_pic.cpp
+++ b/src/progs/direct/base/direct_pic.cpp
@@ -23,7 +23,7 @@ BitValue Direct::PulseEngine::pulseEngine(const TQString &cmd, BitValue value)
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);
+ if ( !pulse(ptr, value, res) ) tqFatal("pulse engine: invalid command '%c'", *ptr);
return res;
}
diff --git a/src/progs/direct/xml/xml_direct_parser.cpp b/src/progs/direct/xml/xml_direct_parser.cpp
index bc77853..2625f9e 100644
--- a/src/progs/direct/xml/xml_direct_parser.cpp
+++ b/src/progs/direct/xml/xml_direct_parser.cpp
@@ -27,7 +27,7 @@ void Direct::XmlToData::parseData(TQDomElement element, Data &)
{
TQString s = element.attribute("pwidth");
const Device::Data *d = Device::lister().data(currentDevice());
- if ( d==0 ) qFatal("Invalid device name");
+ if ( d==0 ) tqFatal("Invalid device name");
}
void Direct::XmlToData::includes(TQTextStream &s) const