summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:20:43 +0900
committerMichele Calgaro <[email protected]>2023-08-08 20:03:22 +0900
commit7bc43c68b3c095631628e1fb691242315687d15b (patch)
treed228605d6a3c1887f79ea4b05eedc876ccdee3d8 /ksysguard/gui
parent2937383dce586b0de5944b8038541b8210fc7569 (diff)
downloadtdebase-7bc43c68b3c095631628e1fb691242315687d15b.tar.gz
tdebase-7bc43c68b3c095631628e1fb691242315687d15b.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ksysguard/gui')
-rw-r--r--ksysguard/gui/SensorDisplayLib/SensorLogger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/SensorLogger.cpp b/ksysguard/gui/SensorDisplayLib/SensorLogger.cpp
index 88083fca1..334a5b736 100644
--- a/ksysguard/gui/SensorDisplayLib/SensorLogger.cpp
+++ b/ksysguard/gui/SensorDisplayLib/SensorLogger.cpp
@@ -117,8 +117,8 @@ LogSensor::answerReceived(int id, const TQString& answer)
KNotifyClient::event(monitor->winId(), "sensor_alarm", TQString("sensor '%1' at '%2' reached upper limit").arg(sensorName).arg(hostName));
timerOn();
}
- TQDate date = TQT_TQDATE_OBJECT(TQDateTime::currentDateTime().date());
- TQTime time = TQT_TQTIME_OBJECT(TQDateTime::currentDateTime().time());
+ TQDate date = TQDateTime::currentDateTime().date();
+ TQTime time = TQDateTime::currentDateTime().time();
stream << TQString("%1 %2 %3 %4 %5: %6\n").arg(date.shortMonthName(date.month())).arg(date.day()).arg(time.toString()).arg(hostName).arg(sensorName).arg(value);
}