summaryrefslogtreecommitdiffstats
path: root/superkaramba
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-12-16 13:36:22 +0900
committerMichele Calgaro <[email protected]>2024-12-16 13:36:22 +0900
commit834febe1fd138859a6384428c108d4d163e0fd2f (patch)
tree5c223938fe05d2064ab7bd8816735c506febacfc /superkaramba
parent3e7afb77fa6046426eeb62d412b27a5cdae44140 (diff)
downloadtdeutils-834febe1fd138859a6384428c108d4d163e0fd2f.tar.gz
tdeutils-834febe1fd138859a6384428c108d4d163e0fd2f.zip
Use TDEProcIO class
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'superkaramba')
-rw-r--r--superkaramba/src/clickarea.h2
-rw-r--r--superkaramba/src/disksensor.cpp6
-rw-r--r--superkaramba/src/memsensor.cpp4
-rw-r--r--superkaramba/src/memsensor.h2
-rw-r--r--superkaramba/src/programsensor.cpp2
-rw-r--r--superkaramba/src/programsensor.h2
-rw-r--r--superkaramba/src/sensorsensor.cpp2
-rw-r--r--superkaramba/src/sensorsensor.h2
8 files changed, 11 insertions, 11 deletions
diff --git a/superkaramba/src/clickarea.h b/superkaramba/src/clickarea.h
index d241fdc..9aeb221 100644
--- a/superkaramba/src/clickarea.h
+++ b/superkaramba/src/clickarea.h
@@ -28,7 +28,7 @@
#include <tqregexp.h>
#include <tdeprocess.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <krun.h>
#include <meter.h>
diff --git a/superkaramba/src/disksensor.cpp b/superkaramba/src/disksensor.cpp
index 01bff9c..55f692a 100644
--- a/superkaramba/src/disksensor.cpp
+++ b/superkaramba/src/disksensor.cpp
@@ -14,7 +14,7 @@
#include <tqstring.h>
#include <tqregexp.h>
#include <tdeprocess.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
DiskSensor::DiskSensor( int msec ) : Sensor( msec )
{
@@ -26,7 +26,7 @@ DiskSensor::DiskSensor( int msec ) : Sensor( msec )
// update values on startup
ksp.clearArguments();
ksp << "df";
- ksp.start( KProcIO::Block,KProcIO::Stdout);
+ ksp.start( TDEProcIO::Block,TDEProcIO::Stdout);
init = 1;
}
DiskSensor::~DiskSensor()
@@ -153,7 +153,7 @@ void DiskSensor::update()
{
ksp.clearArguments();
ksp << "df";
- ksp.start( KProcIO::NotifyOnExit,KProcIO::Stdout);
+ ksp.start( TDEProcIO::NotifyOnExit,TDEProcIO::Stdout);
}
void DiskSensor::setMaxValue( SensorParams *sp )
diff --git a/superkaramba/src/memsensor.cpp b/superkaramba/src/memsensor.cpp
index d3ee39b..1aac365 100644
--- a/superkaramba/src/memsensor.cpp
+++ b/superkaramba/src/memsensor.cpp
@@ -33,7 +33,7 @@
#include <uvm/uvm_extern.h>
#endif
-#include <kprocio.h>
+#include <tdeprocio.h>
#if defined Q_OS_FREEBSD || defined(Q_OS_NETBSD)
/* define pagetok in terms of pageshift */
@@ -273,7 +273,7 @@ void MemSensor::readValues()
# if defined(Q_OS_FREEBSD) && !(defined(__FreeBSD_version) && __FreeBSD_version >= 500018)
ksp.clearArguments();
ksp << "swapinfo";
- ksp.start( TDEProcess::NotifyOnExit,KProcIO::Stdout);
+ ksp.start( TDEProcess::NotifyOnExit,TDEProcIO::Stdout);
# endif
#else
TQFile file("/proc/meminfo");
diff --git a/superkaramba/src/memsensor.h b/superkaramba/src/memsensor.h
index 7a342ea..23ee96b 100644
--- a/superkaramba/src/memsensor.h
+++ b/superkaramba/src/memsensor.h
@@ -16,7 +16,7 @@
#include <tdeprocess.h>
#ifdef __FreeBSD__
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <kvm.h>
#include <osreldate.h>
#endif
diff --git a/superkaramba/src/programsensor.cpp b/superkaramba/src/programsensor.cpp
index 6bae664..aa4edcb 100644
--- a/superkaramba/src/programsensor.cpp
+++ b/superkaramba/src/programsensor.cpp
@@ -87,7 +87,7 @@ void ProgramSensor::update()
ksp << programName;
- ksp.start( KProcIO::NotifyOnExit,KProcIO::Stdout);
+ ksp.start( TDEProcIO::NotifyOnExit,TDEProcIO::Stdout);
}
#include "programsensor.moc"
diff --git a/superkaramba/src/programsensor.h b/superkaramba/src/programsensor.h
index 3a17d38..a94019e 100644
--- a/superkaramba/src/programsensor.h
+++ b/superkaramba/src/programsensor.h
@@ -11,7 +11,7 @@
#define PROGRAMSENSOR_H
#include "sensor.h"
#include <tdeprocess.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqvaluevector.h>
diff --git a/superkaramba/src/sensorsensor.cpp b/superkaramba/src/sensorsensor.cpp
index 2998ba4..2765368 100644
--- a/superkaramba/src/sensorsensor.cpp
+++ b/superkaramba/src/sensorsensor.cpp
@@ -108,7 +108,7 @@ void SensorSensor::update()
#else
ksp << "sensors" << extraParams;
#endif
- ksp.start( TDEProcess::NotifyOnExit,KProcIO::Stdout);
+ ksp.start( TDEProcess::NotifyOnExit,TDEProcIO::Stdout);
}
diff --git a/superkaramba/src/sensorsensor.h b/superkaramba/src/sensorsensor.h
index c7d0851..4ece984 100644
--- a/superkaramba/src/sensorsensor.h
+++ b/superkaramba/src/sensorsensor.h
@@ -8,7 +8,7 @@
#include <tqstringlist.h>
#include <tqregexp.h>
#include <tdeprocess.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#include "sensor.h"