summaryrefslogtreecommitdiffstats
path: root/src/progs/base/generic_prog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/base/generic_prog.h')
-rw-r--r--src/progs/base/generic_prog.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/progs/base/generic_prog.h b/src/progs/base/generic_prog.h
index 3b4b219..c1667b0 100644
--- a/src/progs/base/generic_prog.h
+++ b/src/progs/base/generic_prog.h
@@ -31,8 +31,8 @@ namespace Programmer
enum VerifyAction { NormalVerify = 0, BlankCheckVerify = 1,
IgnoreProtectedVerify = 2, OnlyProgrammedVerify = 4 };
- Q_DECLARE_FLAGS(VerifyActions, VerifyAction)
- Q_DECLARE_OPERATORS_FOR_FLAGS(VerifyActions)
+ TQ_DECLARE_FLAGS(VerifyActions, VerifyAction)
+ TQ_DECLARE_OPERATORS_FOR_FLAGS(VerifyActions)
class VerifyData {
public:
VerifyData(VerifyActions pactions, const Device::Memory &pmemory) : actions(pactions), memory(pmemory) {}
@@ -47,7 +47,7 @@ namespace Programmer
class HardwareDescription {
public:
Port::Description port;
- QString name;
+ TQString name;
};
BEGIN_DECLARE_ENUM(Task)
@@ -59,15 +59,16 @@ namespace Programmer
END_DECLARE_ENUM_NO_DATA(FirmwareVersionType)
//-----------------------------------------------------------------------------
-class Base : public QObject, public Log::Base
+class Base : public TQObject, public Log::Base
{
Q_OBJECT
+ TQ_OBJECT
public:
Base(const Group &group, const Device::Data *data, const char *name);
virtual ~Base();
- virtual void log(Log::LineType type, const QString &message);
- virtual void log(Log::DebugLevel level, const QString &message);
+ virtual void log(Log::LineType type, const TQString &message);
+ virtual void log(Log::DebugLevel level, const TQString &message);
void init(bool targetSelfPowered, Hardware *hardware, DeviceSpecific *deviceSpecific);
const Device::Data *device() const { return _device; }
const Group &group() const { return _group; }
@@ -108,7 +109,7 @@ public:
virtual void clear();
signals:
- void actionMessage(const QString &message);
+ void actionMessage(const TQString &message);
protected:
Hardware *_hardware;