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