summaryrefslogtreecommitdiffstats
path: root/src/devices/base/generic_memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/base/generic_memory.cpp')
-rw-r--r--src/devices/base/generic_memory.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/base/generic_memory.cpp b/src/devices/base/generic_memory.cpp
index 78c4dd6..54190f5 100644
--- a/src/devices/base/generic_memory.cpp
+++ b/src/devices/base/generic_memory.cpp
@@ -8,8 +8,8 @@
***************************************************************************/
#include "generic_memory.h"
-bool Device::Memory::load(QTextStream &stream, QStringList &errors,
- WarningTypes &warningTypes, QStringList &warnings)
+bool Device::Memory::load(TQTextStream &stream, TQStringList &errors,
+ WarningTypes &warningTypes, TQStringList &warnings)
{
HexBuffer hb;
if ( !hb.load(stream, errors) ) return false;
@@ -17,12 +17,12 @@ bool Device::Memory::load(QTextStream &stream, QStringList &errors,
return true;
}
-Device::Memory::WarningTypes Device::Memory::fromHexBuffer(const HexBuffer &hb, QStringList &warnings)
+Device::Memory::WarningTypes Device::Memory::fromHexBuffer(const HexBuffer &hb, TQStringList &warnings)
{
clear();
WarningTypes result = NoWarning;
warnings.clear();
- QMap<uint, bool> inRange;
+ TQMap<uint, bool> inRange;
fromHexBuffer(hb, result, warnings, inRange);
// check that all values in FragBuffer are within memory ranges
@@ -31,7 +31,7 @@ Device::Memory::WarningTypes Device::Memory::fromHexBuffer(const HexBuffer &hb,
if ( !it.data().isInitialized() || inRange[it.key()] ) continue;
if ( !(result & ValueOutsideRange) ) {
result |= ValueOutsideRange;
- warnings += i18n("At least one value (at address %1) is defined outside memory ranges.").arg(toHexLabel(it.key(), 8));
+ warnings += i18n("At least one value (at address %1) is defined outside memory ranges.").tqarg(toHexLabel(it.key(), 8));
}
break;
}
@@ -39,7 +39,7 @@ Device::Memory::WarningTypes Device::Memory::fromHexBuffer(const HexBuffer &hb,
return result;
}
-bool Device::Memory::save(QTextStream &stream, HexBuffer::Format format) const
+bool Device::Memory::save(TQTextStream &stream, HexBuffer::Format format) const
{
savePartial(stream, format);
HexBuffer hb;