summaryrefslogtreecommitdiffstats
path: root/src/devices/pic/base/pic_protection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/pic/base/pic_protection.h')
-rw-r--r--src/devices/pic/base/pic_protection.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/devices/pic/base/pic_protection.h b/src/devices/pic/base/pic_protection.h
index 67ff667..a10a8a6 100644
--- a/src/devices/pic/base/pic_protection.h
+++ b/src/devices/pic/base/pic_protection.h
@@ -27,32 +27,32 @@ public:
public:
Protection(const Pic::Data &data, const Config &config) : _data(data), _config(config) {}
Family family() const;
- QString securityValueName(Type type) const;
+ TQString securityValueName(Type type) const;
bool hasBootBlock() const;
- QString bootSizeMaskName() const;
- QString bootMaskName(Type ptype) const;
- QString bootLabel() const;
+ TQString bootSizeMaskName() const;
+ TQString bootMaskName(Type ptype) const;
+ TQString bootLabel() const;
uint nbBlocks() const;
- QString blockSizeMaskName(uint i) const;
- QString blockMaskName(Type ptype, uint i) const;
- QString blockLabel(uint i) const;
- AddressRangeVector extractRanges(const QString &name, MemoryRangeType type) const;
- bool checkRange(const QString &mask, const QString &name) const;
- QString maskName(Type type, MemoryRangeType mtype) const;
- bool isAllProtectedValueName(const QString &valueName) const;
- bool isNoneProtectedValueName(const QString &valueName) const;
+ TQString blockSizeMaskName(uint i) const;
+ TQString blockMaskName(Type ptype, uint i) const;
+ TQString blockLabel(uint i) const;
+ AddressRangeVector extractRanges(const TQString &name, MemoryRangeType type) const;
+ bool checkRange(const TQString &tqmask, const TQString &name) const;
+ TQString tqmaskName(Type type, MemoryRangeType mtype) const;
+ bool isAllProtectedValueName(const TQString &valueName) const;
+ bool isNoneProtectedValueName(const TQString &valueName) const;
private:
const Pic::Data &_data;
const Config &_config;
enum SegmentType { BootSegment = 0, SecureSegment, GeneralSegment, Nb_SegmentTypes };
- static bool extractRanges(const QString &name, QValueVector<Address> &starts, Address &end, bool &ok);
+ static bool extractRanges(const TQString &name, TQValueVector<Address> &starts, Address &end, bool &ok);
class ProtectedRange {
public:
- QValueVector<Address> starts, ends;
+ TQValueVector<Address> starts, ends;
};
- ProtectedRange extractRange(const QString &mask, const QString &name, bool &ok) const;
+ ProtectedRange extractRange(const TQString &tqmask, const TQString &name, bool &ok) const;
};
} //namespace