summaryrefslogtreecommitdiffstats
path: root/src/sources/sysfreqsrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sources/sysfreqsrc.h')
-rw-r--r--src/sources/sysfreqsrc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sources/sysfreqsrc.h b/src/sources/sysfreqsrc.h
index c2a9a60..66c250f 100644
--- a/src/sources/sysfreqsrc.h
+++ b/src/sources/sysfreqsrc.h
@@ -22,37 +22,37 @@
#define SYSFREQSRC_H
#include "labelsource.h"
#include "threadedtrigger.h"
-#include <qfile.h>
+#include <tqfile.h>
#include <list>
/**
* SysFreqSrc reads frequency values from /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
*/
class SysFreqSrc : 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
*/
- SysFreqSrc(QWidget* inParent, const QFile& inSourceFile);
+ SysFreqSrc(TQWidget* inParent, const TQFile& inSourceFile);
virtual ~SysFreqSrc();
/**
* 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