diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:20:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 20:10:54 +0900 |
commit | 196b1629b9f5de20f3769eb5ec755a635df3c3e7 (patch) | |
tree | 0f9de901a6b71ee79c80a8186ac3b985998e55b0 /ksysguard/gui/SensorDisplayLib | |
parent | 311da82aeb967658bb6bd69d9b17ceabf0fc9a0f (diff) | |
download | tdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.tar.gz tdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7bc43c68b3c095631628e1fb691242315687d15b)
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib')
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/SensorLogger.cpp | 4 |
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); } |