diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:50:20 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:50:20 -0600 |
commit | aef5eada7f51ee48f3d21448db290bd8f06953a8 (patch) | |
tree | 9d6e7572ebcc27e402501d6966f9b46361a1702c /superkaramba/src/disksensor.cpp | |
parent | 95d05392f9bc01594738a1e06ebf23123b3d3e6e (diff) | |
download | tdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.tar.gz tdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'superkaramba/src/disksensor.cpp')
-rw-r--r-- | superkaramba/src/disksensor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/superkaramba/src/disksensor.cpp b/superkaramba/src/disksensor.cpp index b53c6e3..e16d415 100644 --- a/superkaramba/src/disksensor.cpp +++ b/superkaramba/src/disksensor.cpp @@ -18,10 +18,10 @@ DiskSensor::DiskSensor( int msec ) : Sensor( msec ) { - 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 * ))); // update values on startup ksp.clearArguments(); @@ -68,7 +68,7 @@ int DiskSensor::getPercentFree(TQString mntPt) const return ( 100 - getPercentUsed( mntPt ) ); } -void DiskSensor::receivedStdout(KProcess *, char *buffer, int len ) +void DiskSensor::receivedStdout(TDEProcess *, char *buffer, int len ) { buffer[len] = 0; @@ -76,7 +76,7 @@ void DiskSensor::receivedStdout(KProcess *, char *buffer, int len ) } -void DiskSensor::processExited(KProcess *) +void DiskSensor::processExited(TDEProcess *) { TQStringList stringList = TQStringList::split('\n',sensorResult); sensorResult = ""; |