diff options
Diffstat (limited to 'src/progs/base/hardware_config.h')
| -rw-r--r-- | src/progs/base/hardware_config.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/progs/base/hardware_config.h b/src/progs/base/hardware_config.h index 5252ff3..866ecb9 100644 --- a/src/progs/base/hardware_config.h +++ b/src/progs/base/hardware_config.h @@ -30,7 +30,7 @@ public: virtual void writeConfig(GenericConfig &config) const; virtual bool isEqual(const Data &data) const; PortType portType; - QString name; + TQString name; }; //----------------------------------------------------------------------------- @@ -39,20 +39,20 @@ class Config : public GenericConfig public: Config(const char *group) : GenericConfig(group) {} virtual ~Config() {} - QStringList hardwareNames(PortType type); - bool isStandardHardware(const QString &name) const { return standardHardwareData(name); } - QString label(const QString &name) const; - QString comment(const QString &name) const; - void writeCustomHardware(const QString &name, const Hardware::Data &data); - QString currentHardware(PortType type); - void writeCurrentHardware(PortType type, const QString &name); - void deleteCustomHardware(const QString &name); - Hardware::Data *hardwareData(const QString& name) const; + TQStringList hardwareNames(PortType type); + bool isStandardHardware(const TQString &name) const { return standardHardwareData(name); } + TQString label(const TQString &name) const; + TQString comment(const TQString &name) const; + void writeCustomHardware(const TQString &name, const Hardware::Data &data); + TQString currentHardware(PortType type); + void writeCurrentHardware(PortType type, const TQString &name); + void deleteCustomHardware(const TQString &name); + Hardware::Data *hardwareData(const TQString& name) const; protected: - virtual QStringList standardHardwareNames(PortType type) const = 0; - virtual Hardware::Data *standardHardwareData(const QString &name) const = 0; - virtual const DataInfo *standardHardwareDataInfo(const QString &name) const = 0; + virtual TQStringList standardHardwareNames(PortType type) const = 0; + virtual Hardware::Data *standardHardwareData(const TQString &name) const = 0; + virtual const DataInfo *standardHardwareDataInfo(const TQString &name) const = 0; virtual Hardware::Data *createHardwareData() const = 0; }; |
