summaryrefslogtreecommitdiffstats
path: root/src/sources/nvidiathermalsrc.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:20:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 14:53:54 +0900
commitd7c9764d0a20dd28c05bab324a019f6cf5e9aa92 (patch)
treeaff34929a9e49ea2db14cbd19e66556ecb2d3df4 /src/sources/nvidiathermalsrc.cpp
parent545f3b89bb60c83ee593dcdf023beb005e1b2fd8 (diff)
downloadkima-d7c9764d.tar.gz
kima-d7c9764d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5e17591a668ba0345cddd44df3fa6572eb25ddf1)
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;
}