diff options
Diffstat (limited to 'src/progs/base/prog_group.h')
-rw-r--r-- | src/progs/base/prog_group.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/progs/base/prog_group.h b/src/progs/base/prog_group.h index 07807fe..f72c783 100644 --- a/src/progs/base/prog_group.h +++ b/src/progs/base/prog_group.h @@ -9,7 +9,7 @@ #ifndef PROG_GROUP_H #define PROG_GROUP_H -class QWidget; +class TQWidget; #include "common/common/group.h" #include "common/port/port.h" #include "common/common/purl_base.h" @@ -29,8 +29,8 @@ enum Property { NoProperty = 0, Programmer = 1, Debugger = 2, CanReleaseReset = 4, HasFirmware = 8, CanUploadFirmware = 16, NeedDeviceSpecificFirmware = 32, HasSelfTest = 64, CanReadMemory = 128, HasConnectedState = 256 }; -Q_DECLARE_FLAGS(Properties, Property) -Q_DECLARE_OPERATORS_FOR_FLAGS(Properties) +TQ_DECLARE_FLAGS(Properties, Property) +TQ_DECLARE_OPERATORS_FOR_FLAGS(Properties) enum TargetPowerMode { TargetPowerModeFromConfig, TargetSelfPowered, TargetExternallyPowered }; @@ -40,10 +40,10 @@ extern const PURL::FileType INPUT_FILE_TYPE_DATA[Nb_InputFileTypes]; class Group : public ::Group::Base { public: - virtual QString xmlName() const { return name(); } + virtual TQString xmlName() const { return name(); } virtual ::Hardware::Config *hardwareConfig() const { return 0; } virtual Properties properties() const = 0; - virtual QString statusLabel(PortType type) const; + virtual TQString statusLabel(PortType type) const; virtual bool canReadVoltages() const = 0; virtual TargetPowerMode targetPowerMode() const = 0; bool isDebugger() const { return ( properties() & Debugger ); } |