diff options
Diffstat (limited to 'src/devices/base/generic_memory.h')
-rw-r--r-- | src/devices/base/generic_memory.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/base/generic_memory.h b/src/devices/base/generic_memory.h index 74bd938..f7127b5 100644 --- a/src/devices/base/generic_memory.h +++ b/src/devices/base/generic_memory.h @@ -26,21 +26,21 @@ public: virtual BitValue checksum() const = 0; virtual HexBuffer toHexBuffer() const = 0; - bool save(QTextStream &stream, HexBuffer::Format format) const; + bool save(TQTextStream &stream, HexBuffer::Format format) const; enum WarningType { NoWarning = 0, ValueTooLarge = 1, ValueOutsideRange = 2 }; - Q_DECLARE_FLAGS(WarningTypes, WarningType) - WarningTypes fromHexBuffer(const HexBuffer &hb, QStringList &warnings); - bool load(QTextStream &stream, QStringList &errors, WarningTypes &warningTypes, QStringList &warnings); + TQ_DECLARE_FLAGS(WarningTypes, WarningType) + WarningTypes fromHexBuffer(const HexBuffer &hb, TQStringList &warnings); + bool load(TQTextStream &stream, TQStringList &errors, WarningTypes &warningTypes, TQStringList &warnings); protected: const Data &_device; Memory(const Data &device) : _device(device) {} virtual void fromHexBuffer(const HexBuffer &hb, WarningTypes &warningTypes, - QStringList &warnings, QMap<uint, bool> &inRange) = 0; - virtual void savePartial(QTextStream &stream, HexBuffer::Format format) const = 0; + TQStringList &warnings, TQMap<uint, bool> &inRange) = 0; + virtual void savePartial(TQTextStream &stream, HexBuffer::Format format) const = 0; }; -Q_DECLARE_OPERATORS_FOR_FLAGS(Memory::WarningTypes) +TQ_DECLARE_OPERATORS_FOR_FLAGS(Memory::WarningTypes) } // namespace |