diff options
Diffstat (limited to 'src/sources/hddtempsrc.h')
-rw-r--r-- | src/sources/hddtempsrc.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sources/hddtempsrc.h b/src/sources/hddtempsrc.h index 60d8151..a2513cf 100644 --- a/src/sources/hddtempsrc.h +++ b/src/sources/hddtempsrc.h @@ -28,40 +28,40 @@ * HDDTempSrc reads temperature of your harddisk provided by hddtemp */ class HDDTempSrc : public LabelSource { - Q_OBJECT //macro which activates signals and slots (moc) + TQ_OBJECT //macro which activates signals and slots (tqmoc) /** * defines how many bytes are read at once from the network */ - static const Q_ULONG BUFFERSIZE; + static const TQ_ULONG BUFFERSIZE; /** * defines the address */ - static const Q_UINT32 ADDRESS; + static const TQ_UINT32 ADDRESS; /** * defines the port */ - static const Q_UINT16 PORT; + static const TQ_UINT16 PORT; public: /** * Creates a new Source from the given File */ - HDDTempSrc(QWidget* inParent, uint inIndex, const QString& inDevice, const QString& inModelName); + HDDTempSrc(TQWidget* inParent, uint inIndex, const TQString& inDevice, const TQString& inModelName); virtual ~HDDTempSrc(); /** * Creates instances of that Source (and returns pointers to them) */ - static std::list<Source*> createInstances(QWidget* inParent); + static std::list<Source*> createInstances(TQWidget* inParent); /** * Fetches and returns the value of this source * This method is called from a thread so don't call it directly */ - virtual QString fetchValue(); + virtual TQString fetchValue(); private: uint mIndex; |