From 383adc283801b6238d8acfc750890613a63f8060 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 4 Jul 2011 20:48:23 +0000 Subject: 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 --- src/sources/cpuinfofreqsrc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/sources/cpuinfofreqsrc.h') diff --git a/src/sources/cpuinfofreqsrc.h b/src/sources/cpuinfofreqsrc.h index da3f734..24c86b6 100644 --- a/src/sources/cpuinfofreqsrc.h +++ b/src/sources/cpuinfofreqsrc.h @@ -22,37 +22,37 @@ #define CPUINFOFREQSRC_H #include "labelsource.h" #include "threadedtrigger.h" -#include +#include #include /** * CpuinfoFreqSrc reads temperature values from /proc/cpuinfo */ class CpuinfoFreqSrc : 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 */ - CpuinfoFreqSrc(QWidget* inParent, const QFile& inSourceFile); + CpuinfoFreqSrc(TQWidget* inParent, const TQFile& inSourceFile); virtual ~CpuinfoFreqSrc(); /** * Creates instances of that Source (and returns pointers to them) */ - static std::list createInstances(QWidget* inParent); + static std::list 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 -- cgit v1.2.1