summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/sensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/sensor.cpp')
-rw-r--r--superkaramba/src/sensor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/superkaramba/src/sensor.cpp b/superkaramba/src/sensor.cpp
index 6aba5d2..378cb1d 100644
--- a/superkaramba/src/sensor.cpp
+++ b/superkaramba/src/sensor.cpp
@@ -10,7 +10,7 @@
#include "sensor.h"
Sensor::Sensor(int iMsec)
{
- objList = new QObjectList();
+ objList = new TQObjectList();
objList->setAutoDelete( true );
msec = iMsec;
}
@@ -19,7 +19,7 @@ void Sensor::start()
{
if (!timer.isActive())
{
- connect (&timer,SIGNAL(timeout()),this,SLOT(update()));
+ connect (&timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(update()));
timer.start( (msec == 0)?1000:msec);
}
}
@@ -37,7 +37,7 @@ void Sensor::addMeter( SensorParams *sp )
SensorParams* Sensor::hasMeter( Meter *meter )
{
- QObjectListIt it( *objList );
+ TQObjectListIt it( *objList );
while ( it != 0 )
{
if (((SensorParams*) *it)->getMeter() == meter)