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:03:22 +0900 |
commit | 7bc43c68b3c095631628e1fb691242315687d15b (patch) | |
tree | d228605d6a3c1887f79ea4b05eedc876ccdee3d8 /ksysguard | |
parent | 2937383dce586b0de5944b8038541b8210fc7569 (diff) | |
download | tdebase-7bc43c68b3c095631628e1fb691242315687d15b.tar.gz tdebase-7bc43c68b3c095631628e1fb691242315687d15b.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksysguard')
-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); } |