summaryrefslogtreecommitdiffstats
path: root/src/sources/hwmonthermalsrc.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 20:48:23 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 20:48:23 +0000
commit383adc283801b6238d8acfc750890613a63f8060 (patch)
treeaf3a65389067c05263db2ef4551a541501422998 /src/sources/hwmonthermalsrc.h
parentda7847adb43726079c7a4be1f06acbebe0bdde57 (diff)
downloadkima-383adc283801b6238d8acfc750890613a63f8060.tar.gz
kima-383adc283801b6238d8acfc750890613a63f8060.zip
TQt4 port kima
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kima@1239290 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/sources/hwmonthermalsrc.h')
-rw-r--r--src/sources/hwmonthermalsrc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sources/hwmonthermalsrc.h b/src/sources/hwmonthermalsrc.h
index 8372745..494b036 100644
--- a/src/sources/hwmonthermalsrc.h
+++ b/src/sources/hwmonthermalsrc.h
@@ -22,7 +22,7 @@
#define HWMONTHERMALSRC_H
#include "labelsource.h"
#include "threadedtrigger.h"
-#include <qfile.h>
+#include <tqfile.h>
#include <list>
/**
@@ -32,30 +32,30 @@
* see /usr/src/linux/Documentation/hwmon/sysfs-interface
*/
class HwMonThermalSrc : public LabelSource {
- Q_OBJECT //macro which activates signals and slots (moc)
+ TQ_OBJECT //macro which activates signals and slots (tqmoc)
public:
/**
* Creates a new Source from the given File
*/
- HwMonThermalSrc(QWidget* inParent, const QFile& inSourceFile, unsigned int inIndex);
+ HwMonThermalSrc(TQWidget* inParent, const TQFile& inSourceFile, unsigned int inIndex);
virtual ~HwMonThermalSrc();
/**
* 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:
/**
* The file from which the value is read
*/
- QFile mSourceFile;
+ TQFile mSourceFile;
/**
* triggers the fetchValue method