summaryrefslogtreecommitdiffstats
path: root/src/sources/nvidiathermalsrc.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-05 10:20:24 +0900
committerMichele Calgaro <[email protected]>2024-01-05 10:20:24 +0900
commit5e17591a668ba0345cddd44df3fa6572eb25ddf1 (patch)
treeaff34929a9e49ea2db14cbd19e66556ecb2d3df4 /src/sources/nvidiathermalsrc.cpp
parent022d1e16d38cbfd9b2f23c060ce060c259b46f22 (diff)
downloadkima-5e17591a668ba0345cddd44df3fa6572eb25ddf1.tar.gz
kima-5e17591a668ba0345cddd44df3fa6572eb25ddf1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/sources/nvidiathermalsrc.cpp')
-rw-r--r--src/sources/nvidiathermalsrc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sources/nvidiathermalsrc.cpp b/src/sources/nvidiathermalsrc.cpp
index ce97a61..7cd2eee 100644
--- a/src/sources/nvidiathermalsrc.cpp
+++ b/src/sources/nvidiathermalsrc.cpp
@@ -50,8 +50,8 @@ NVidiaThermalSrc::NVidiaThermalSrc(TQWidget* inParent, const TQString& inID, con
mRefreshTimer = new TQTimer(this, "default refresh handler" );
// connect the timer
- connect(mRefreshTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(fetchValue()));
- connect(this, TQT_SIGNAL(enabledChanged(bool, Source*)), this, TQT_SLOT(enable(bool)));
+ connect(mRefreshTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(fetchValue()));
+ connect(this, TQ_SIGNAL(enabledChanged(bool, Source*)), this, TQ_SLOT(enable(bool)));
}
NVidiaThermalSrc::~NVidiaThermalSrc(){
@@ -144,7 +144,7 @@ void NVidiaThermalSrc::evaluateStdout(){
#ifndef HAVE_NVCONTROL
void NVidiaThermalSrc::createProcess() {
mProcess = new KProcIO;
- connect(mProcess, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(evaluateStdout()));
+ connect(mProcess, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(evaluateStdout()));
*mProcess << "nvidia-settings" << "-n"
<< "-q" << mID;
}