summaryrefslogtreecommitdiffstats
path: root/src/sources/batterysrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sources/batterysrc.h')
-rw-r--r--src/sources/batterysrc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sources/batterysrc.h b/src/sources/batterysrc.h
index e491fcc..399d18e 100644
--- a/src/sources/batterysrc.h
+++ b/src/sources/batterysrc.h
@@ -22,8 +22,8 @@
#define BATTERYSRC_H
#include "labelsource.h"
#include "threadedtrigger.h"
-#include <qfile.h>
-#include <qstring.h>
+#include <tqfile.h>
+#include <tqstring.h>
#include <list>
#include <hal/libhal.h>
@@ -32,24 +32,24 @@
* @author Ken Werner
*/
class BatterySrc : 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
*/
- BatterySrc(QWidget* inParent, QString inUDI);
+ BatterySrc(TQWidget* inParent, TQString inUDI);
virtual ~BatterySrc();
/**
* 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:
/**
@@ -60,7 +60,7 @@ private:
/**
* The hal udi of that battery source
*/
- QString mUDI;
+ TQString mUDI;
/**
* The local hal context