diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
commit | 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch) | |
tree | b95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/progs/base/generic_debug.h | |
parent | b79a2c28534cf09987eeeba3077fff9236df182a (diff) | |
download | piklab-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/progs/base/generic_debug.h')
-rw-r--r-- | src/progs/base/generic_debug.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/progs/base/generic_debug.h b/src/progs/base/generic_debug.h index 903d451..48f9e60 100644 --- a/src/progs/base/generic_debug.h +++ b/src/progs/base/generic_debug.h @@ -29,29 +29,29 @@ public: virtual ~Base(); void init(DeviceSpecific *deviceSpecific, Specific *specific); const Device::Data *device() const; - void setupInput(PURL::FileType type, const QString &directory, const QString &filename); + void setupInput(PURL::FileType type, const TQString &directory, const TQString &filename); void setCoff(const Coff::TextObject *coff) { _coff = coff; } - QString directory() const { return _directory; } + TQString directory() const { return _directory; } bool init(); bool update(); bool reset(); bool run(); bool halt(); bool step(); - QString statusString() const; - virtual bool setBreakpoints(const QValueList<Address> &addresses) = 0; + TQString statusString() const; + virtual bool setBreakpoints(const TQValueList<Address> &addresses) = 0; BitValue pc() const; Register::TypeData pcTypeData() const; virtual bool readRegister(const Register::TypeData &data, BitValue &value) = 0; virtual bool writeRegister(const Register::TypeData &data, BitValue value) = 0; - virtual bool updatePortStatus(uint index, QMap<uint, Device::PortBitData> &bits) = 0; + virtual bool updatePorttqStatus(uint index, TQMap<uint, Device::PortBitData> &bits) = 0; protected: Programmer::Base &_programmer; DeviceSpecific *_deviceSpecific; Specific *_specific; PURL::FileType _inputType; - QString _directory, _filename; + TQString _directory, _filename; const Coff::TextObject *_coff; virtual bool internalInit() = 0; @@ -68,8 +68,8 @@ class DeviceSpecific : public Log::Base { public: DeviceSpecific(Debugger::Base &base) : Log::Base(base), _base(base) {} - virtual bool updateStatus() = 0; - virtual QString statusString() const = 0; + virtual bool updatetqStatus() = 0; + virtual TQString statusString() const = 0; protected: Debugger::Base &_base; |