summaryrefslogtreecommitdiffstats
path: root/src/devices/base/generic_memory.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/devices/base/generic_memory.h
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
TQt4 port piklab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/devices/base/generic_memory.h')
-rw-r--r--src/devices/base/generic_memory.h14
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