From 18c573e806f0dcf0a7fcde805aaa528ef11ebc88 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Aug 2023 12:21:34 +0900 Subject: Drop TQT_TQ*_OBJECT defines Signed-off-by: Michele Calgaro (cherry picked from commit c0b74ba868682f39c41a9f70ae11297425b711e1) --- interfaces/tdetexteditor/templateinterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interfaces/tdetexteditor') diff --git a/interfaces/tdetexteditor/templateinterface.cpp b/interfaces/tdetexteditor/templateinterface.cpp index 25c103196..f3de57447 100644 --- a/interfaces/tdetexteditor/templateinterface.cpp +++ b/interfaces/tdetexteditor/templateinterface.cpp @@ -75,8 +75,8 @@ bool TemplateInterface::expandMacros( TQMap &map, TQWidget * TDEABC::StdAddressBook *addrBook = 0; TDEABC::Addressee userAddress; TQDateTime datetime = TQDateTime::currentDateTime(); - TQDate date = TQT_TQDATE_OBJECT(datetime.date()); - TQTime time = TQT_TQTIME_OBJECT(datetime.time()); + TQDate date = datetime.date(); + TQTime time = datetime.time(); TQMap::Iterator it; for ( it = map.begin(); it != map.end(); ++it ) -- cgit v1.2.1