summaryrefslogtreecommitdiffstats
path: root/src/progs/gpsim/base/gpsim_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gpsim/base/gpsim_debug.h')
-rw-r--r--src/progs/gpsim/base/gpsim_debug.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/progs/gpsim/base/gpsim_debug.h b/src/progs/gpsim/base/gpsim_debug.h
index ad838b2..7c258d9 100644
--- a/src/progs/gpsim/base/gpsim_debug.h
+++ b/src/progs/gpsim/base/gpsim_debug.h
@@ -19,6 +19,7 @@ namespace GPSim
class Programmer : public ::Programmer::PicBase
{
Q_OBJECT
+ TQ_OBJECT
public:
Programmer(const ::Programmer::Group &group, const Pic::Data *data)
: Programmer::PicBase(group, data, "gpsim_programmer") {}
@@ -41,18 +42,18 @@ class Debugger : public ::Debugger::PicBase
{
public:
Debugger(Programmer &programmer);
- virtual bool setBreakpoints(const QValueList<Address> &list);
+ virtual bool setBreakpoints(const TQValueList<Address> &list);
virtual bool readRegister(const Register::TypeData &data, BitValue &value);
virtual bool writeRegister(const Register::TypeData &data, BitValue value);
- virtual bool updatePortStatus(uint index, QMap<uint, Device::PortBitData> &bits);
+ virtual bool updatePorttqStatus(uint index, TQMap<uint, Device::PortBitData> &bits);
private:
uint _nbBreakpoints;
- bool findRegExp(const QStringList &lines, const QString &pattern,
- const QString &label, QString &value) const;
- bool getRegister(const QString &name, BitValue &value);
- bool setRegister(const QString &name, BitValue value);
+ bool findRegExp(const TQStringList &lines, const TQString &pattern,
+ const TQString &label, TQString &value) const;
+ bool getRegister(const TQString &name, BitValue &value);
+ bool setRegister(const TQString &name, BitValue value);
bool getRegister(Address address, BitValue &value);
bool setRegister(Address address, BitValue value);
Hardware *hardware() { return static_cast<Hardware *>(_programmer.hardware()); }
@@ -72,9 +73,9 @@ private:
class Group : public ::Programmer::PicGroup
{
public:
- virtual QString name() const { return "gpsim"; }
- virtual QString label() const { return i18n("GPSim"); }
- virtual QString statusLabel() const;
+ virtual TQString name() const { return "gpsim"; }
+ virtual TQString label() const { return i18n("GPSim"); }
+ virtual TQString statusLabel() const;
virtual ::Programmer::Properties properties() const { return ::Programmer::Debugger | ::Programmer::HasConnectedState; }
virtual ::Programmer::TargetPowerMode targetPowerMode() const { return ::Programmer::TargetSelfPowered; }
virtual bool isPortSupported(PortType) const { return false; }