diff options
Diffstat (limited to 'src/sensor.h')
-rw-r--r-- | src/sensor.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/sensor.h b/src/sensor.h index 6af1c79..c79237c 100644 --- a/src/sensor.h +++ b/src/sensor.h @@ -18,10 +18,10 @@ #ifndef SENSOR_H #define SENSOR_H -#include <qobject.h> -#include <kconfig.h> -#include <qstring.h> -#include <qcstring.h> +#include <ntqobject.h> +#include <tdeconfig.h> +#include <ntqstring.h> +#include <ntqcstring.h> /** *@author Miguel Novas @@ -31,7 +31,7 @@ class SensorsList; -class Sensor : public QObject { +class Sensor : public TQObject { Q_OBJECT friend class SensorsList; @@ -51,7 +51,7 @@ public: void setValue(double newVal, TempScale scale= dgDefault, bool ajust=true); inline SensorType getType() { return type; }; - inline const QString &getDescription() { return description; }; + inline const TQString &getDescription() { return description; }; inline double getValue() { return celsiusTo(val); }; inline double getValuePrevious() { return celsiusTo(valPrevious); }; inline double getValueIdeal() { return celsiusTo(valIdeal); }; @@ -66,7 +66,7 @@ public: bool monitorized(); void setMonitorized (bool enable); - void setDescription (const QString &str); + void setDescription (const TQString &str); void setValueIdeal (double value, TempScale scale= dgDefault); void setValueMax (double value, TempScale scale= dgDefault); void setValueMin (double value, TempScale scale= dgDefault); @@ -80,7 +80,7 @@ public: double toCelsiusDiff(double val, TempScale scale= dgDefault); double celsiusToDiff(double val, TempScale scale= dgDefault); - QString getPrintMask(bool addSufix); + TQString getPrintMask(bool addSufix); public slots: @@ -95,7 +95,7 @@ signals: private: SensorType type; - QString description; + TQString description; double val; double valPrevious; double compensation; |