diff options
Diffstat (limited to 'src/sources/i8ksrc.h')
-rw-r--r-- | src/sources/i8ksrc.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sources/i8ksrc.h b/src/sources/i8ksrc.h index 037e518..f298057 100644 --- a/src/sources/i8ksrc.h +++ b/src/sources/i8ksrc.h @@ -22,7 +22,7 @@ #define I8KSRC_H #include "labelsource.h" #include "threadedtrigger.h" -#include <qfile.h> +#include <tqfile.h> #include <list> /** @@ -30,30 +30,30 @@ * which is provided by the i8k kernel module. */ class I8kSrc : 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 */ - I8kSrc(QWidget* inParent, const QFile& inSourceFile, unsigned int inIndex); + I8kSrc(TQWidget* inParent, const TQFile& inSourceFile, unsigned int inIndex); virtual ~I8kSrc(); /** * 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: /** * Returns the name (such as CPU, GPU, ...) of the sensor according to a given index */ - static QString index2Name(unsigned int inIndex); + static TQString index2Name(unsigned int inIndex); /** * the index of the source in /proc/acpi/ibm/thermal @@ -63,7 +63,7 @@ private: /** * The file from which the value is read */ - QFile mSourceFile; + TQFile mSourceFile; /** * triggers the fetchValue method |