summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/sensorsensor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:20 -0600
commitaef5eada7f51ee48f3d21448db290bd8f06953a8 (patch)
tree9d6e7572ebcc27e402501d6966f9b46361a1702c /superkaramba/src/sensorsensor.cpp
parent95d05392f9bc01594738a1e06ebf23123b3d3e6e (diff)
downloadtdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.tar.gz
tdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'superkaramba/src/sensorsensor.cpp')
-rw-r--r--superkaramba/src/sensorsensor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/superkaramba/src/sensorsensor.cpp b/superkaramba/src/sensorsensor.cpp
index ed6934e..baea31d 100644
--- a/superkaramba/src/sensorsensor.cpp
+++ b/superkaramba/src/sensorsensor.cpp
@@ -29,10 +29,10 @@ SensorSensor::SensorSensor(int interval, char tempUnit) : Sensor( interval )
#endif
if(tempUnit == 'F')
extraParams = " -f";
- connect(&ksp, TQT_SIGNAL(receivedStdout(KProcess *, char *, int )),
- this,TQT_SLOT(receivedStdout(KProcess *, char *, int )));
- connect(&ksp, TQT_SIGNAL(processExited(KProcess *)),
- this,TQT_SLOT(processExited( KProcess * )));
+ connect(&ksp, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int )),
+ this,TQT_SLOT(receivedStdout(TDEProcess *, char *, int )));
+ connect(&ksp, TQT_SIGNAL(processExited(TDEProcess *)),
+ this,TQT_SLOT(processExited( TDEProcess * )));
// readValues();
}
@@ -42,13 +42,13 @@ SensorSensor::~SensorSensor()
{
}
-void SensorSensor::receivedStdout(KProcess *, char *buffer, int len )
+void SensorSensor::receivedStdout(TDEProcess *, char *buffer, int len )
{
buffer[len] = 0;
sensorResult += TQString( TQCString(buffer) );
}
-void SensorSensor::processExited(KProcess *)
+void SensorSensor::processExited(TDEProcess *)
{
TQStringList stringList = TQStringList::split('\n',sensorResult);
sensorResult = "";
@@ -108,7 +108,7 @@ void SensorSensor::update()
#else
ksp << "sensors" << extraParams;
#endif
- ksp.start( KProcess::NotifyOnExit,KProcIO::Stdout);
+ ksp.start( TDEProcess::NotifyOnExit,KProcIO::Stdout);
}