summaryrefslogtreecommitdiffstats
path: root/src/lmsensors.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-07-24 09:59:06 -0500
committerTimothy Pearson <[email protected]>2013-07-24 09:59:06 -0500
commit24857cad8e92c27bc7d7377549ae887adbeccc58 (patch)
treee8aa2577506c17c68286ec1b65ae31b89ea0556b /src/lmsensors.h
parentea3a9effca9bebfe18bfb7546da619ecbbb121f3 (diff)
downloadksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.tar.gz
ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.zip
Convert to TDE R14 API
Diffstat (limited to 'src/lmsensors.h')
-rw-r--r--src/lmsensors.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lmsensors.h b/src/lmsensors.h
index 50c20ea..8a0b6ef 100644
--- a/src/lmsensors.h
+++ b/src/lmsensors.h
@@ -18,10 +18,10 @@
#ifndef LMSENSORS_H
#define LMSENSORS_H
-#include <qobject.h>
-#include <qobjectlist.h>
-#include <kconfig.h>
-#include <qstringlist.h>
+#include <ntqobject.h>
+#include <ntqobjectlist.h>
+#include <tdeconfig.h>
+#include <ntqstringlist.h>
#include <sensors/sensors.h>
@@ -32,7 +32,7 @@
*@author Michael
*/
-class LMSensors : public QObject
+class LMSensors : public TQObject
{
Q_OBJECT
@@ -40,12 +40,12 @@ Q_OBJECT
public:
- LMSensors(QObject *parent=0, const char *name=0);
+ LMSensors(TQObject *parent=0, const char *name=0);
~LMSensors();
void setMonitorized(bool enable);
- QObjectList *getSensorsChips() { return (QObjectList *)children(); };
- SensorsList *getSensorsChip(int index) { return children() ? (SensorsList *)((QObjectList *)children())->at(index) : 0; }
+ TQObjectList *getSensorsChips() { return (TQObjectList *)children(); };
+ SensorsList *getSensorsChip(int index) { return children() ? (SensorsList *)((TQObjectList *)children())->at(index) : 0; }
SensorsList *getSensorsChip(const char *name) { return (SensorsList *)child(name); }
int count() { return children() ? children()->count() : 0; }
Sensor *getSensor(const char *name);
@@ -63,7 +63,7 @@ private:
void createLMSensors();
void createHDSensors();
void createI8KSensors();
- void childEvent ( QChildEvent *e );
+ void childEvent ( TQChildEvent *e );
#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */
static int existSensor(const sensors_chip_name *chip_name,const char *sensor_name);