diff options
Diffstat (limited to 'src/sources/cpuinfofreqsrc.cpp')
-rw-r--r-- | src/sources/cpuinfofreqsrc.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sources/cpuinfofreqsrc.cpp b/src/sources/cpuinfofreqsrc.cpp index 6227439..6b1b55d 100644 --- a/src/sources/cpuinfofreqsrc.cpp +++ b/src/sources/cpuinfofreqsrc.cpp @@ -19,11 +19,11 @@ ***************************************************************************/ #include "cpuinfofreqsrc.h" -#include <qtextstream.h> -#include <qfile.h> +#include <tqtextstream.h> +#include <tqfile.h> #include <klocale.h> -CpuinfoFreqSrc::CpuinfoFreqSrc(QWidget* inParent, const QFile& inSourceFile): +CpuinfoFreqSrc::CpuinfoFreqSrc(TQWidget* inParent, const TQFile& inSourceFile): LabelSource(inParent), mSourceFile(inSourceFile.name()), mTrigger(this){ @@ -35,16 +35,16 @@ CpuinfoFreqSrc::CpuinfoFreqSrc(QWidget* inParent, const QFile& inSourceFile): CpuinfoFreqSrc::~CpuinfoFreqSrc(){ } -std::list<Source*>CpuinfoFreqSrc::createInstances(QWidget* inParent){ +std::list<Source*>CpuinfoFreqSrc::createInstances(TQWidget* inParent){ std::list<Source*> list; - QFile cpuinfoFreqFile( "/proc/cpuinfo" ); + TQFile cpuinfoFreqFile( "/proc/cpuinfo" ); if(cpuinfoFreqFile.open(IO_ReadOnly)) list.push_back(new CpuinfoFreqSrc(inParent, cpuinfoFreqFile)); return list; } -QString CpuinfoFreqSrc::fetchValue(){ - QString s = "n/a"; +TQString CpuinfoFreqSrc::fetchValue(){ + TQString s = "n/a"; if(mSourceFile.open(IO_ReadOnly)){ while( mSourceFile.readLine( s, 64 ) != -1 ) if( s.startsWith( "cpu MHz") ) |