diff options
author | Michele Calgaro <[email protected]> | 2024-12-15 22:24:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-15 22:24:49 +0900 |
commit | 71a415575f54e35e4fef7eb3bd7efc1a4c796532 (patch) | |
tree | ac0ef7ce9739974000b23b25fd5f2b0d5bceb28a | |
parent | cd351edc4be16f514965b8711c770c5a73510a64 (diff) | |
download | kima-71a415575f54e35e4fef7eb3bd7efc1a4c796532.tar.gz kima-71a415575f54e35e4fef7eb3bd7efc1a4c796532.zip |
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/sources/nvidiathermalsrc.cpp | 6 | ||||
-rw-r--r-- | src/sources/nvidiathermalsrc.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/sources/nvidiathermalsrc.cpp b/src/sources/nvidiathermalsrc.cpp index 7cd2eee..201de2a 100644 --- a/src/sources/nvidiathermalsrc.cpp +++ b/src/sources/nvidiathermalsrc.cpp @@ -25,7 +25,7 @@ #include <kdebug.h> #ifndef HAVE_NVCONTROL - #include <kprocio.h> + #include <tdeprocio.h> #else #include <tqpaintdevice.h> // for the Device* pointer @@ -68,7 +68,7 @@ std::list<Source*>NVidiaThermalSrc::createInstances(TQWidget* inParent){ // and "GPUAmbientTemp" and create two instances for each // of them // start nvidia-settings, if available and wait for it to exit. - KProcIO proc; + TDEProcIO proc; proc << "nvidia-settings" << "-n" // don't load config << "-q" << "GPUCoreTemp" @@ -143,7 +143,7 @@ void NVidiaThermalSrc::evaluateStdout(){ #ifndef HAVE_NVCONTROL void NVidiaThermalSrc::createProcess() { - mProcess = new KProcIO; + mProcess = new TDEProcIO; connect(mProcess, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(evaluateStdout())); *mProcess << "nvidia-settings" << "-n" << "-q" << mID; diff --git a/src/sources/nvidiathermalsrc.h b/src/sources/nvidiathermalsrc.h index 318c157..16be15c 100644 --- a/src/sources/nvidiathermalsrc.h +++ b/src/sources/nvidiathermalsrc.h @@ -26,7 +26,7 @@ #include <list> #include <tqtimer.h> -class KProcIO; +class TDEProcIO; /** * NVidiaThermalSrc calls nvidia-settings to fetch the thermal values of the GPU * @author Ken Werner @@ -69,7 +69,7 @@ private: * the evaluateStdout slot. */ void createProcess(); - KProcIO* mProcess; + TDEProcIO* mProcess; #else unsigned int mAttrib; #endif |