summaryrefslogtreecommitdiffstats
path: root/src/sources/uptimesrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sources/uptimesrc.h')
-rw-r--r--src/sources/uptimesrc.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sources/uptimesrc.h b/src/sources/uptimesrc.h
index e92a521..677a602 100644
--- a/src/sources/uptimesrc.h
+++ b/src/sources/uptimesrc.h
@@ -22,7 +22,7 @@
#define UPTIMESRC_H
#include "labelsource.h"
#include "threadedtrigger.h"
-#include <qfile.h>
+#include <tqfile.h>
#include <list>
/**
@@ -30,24 +30,24 @@
* which is provided by the ibm-acpi kernel module.
*/
class UptimeSrc : 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 and index
*/
- UptimeSrc(QWidget* inParent, const QFile& inSourceFile);
+ UptimeSrc(TQWidget* inParent, const TQFile& inSourceFile);
virtual ~UptimeSrc();
/**
* 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();
/**
@@ -58,13 +58,13 @@ private:
/**
* The file from which the value is read
*/
- QFile mSourceFile;
+ TQFile mSourceFile;
/**
* the format of the time display. short and long version
*/
- QString mTimeFormatShort;
- QString mTimeFormatLong;
+ TQString mTimeFormatShort;
+ TQString mTimeFormatLong;
/**
* triggers the fetchValue method