summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/sensor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /superkaramba/src/sensor.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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)