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) --- kate/part/katedocument.cpp | 2 +- kate/part/kateprinter.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kate') diff --git a/kate/part/katedocument.cpp b/kate/part/katedocument.cpp index 56e6e1846..574236589 100644 --- a/kate/part/katedocument.cpp +++ b/kate/part/katedocument.cpp @@ -4964,7 +4964,7 @@ bool KateDocument::createDigest( TQCString &result ) if ( f.open( IO_ReadOnly) ) { KMD5 md5; - ret = md5.update( TQT_TQIODEVICE_OBJECT(f) ); + ret = md5.update( f ); md5.hexDigest( result ); f.close(); ret = true; diff --git a/kate/part/kateprinter.cpp b/kate/part/kateprinter.cpp index a7bf324e8..e5e2969c0 100644 --- a/kate/part/kateprinter.cpp +++ b/kate/part/kateprinter.cpp @@ -192,9 +192,9 @@ bool KatePrinter::print (KateDocument *doc) tags["d"] = TDEGlobal::locale()->formatDateTime(dt, true, false); tags["D"] = TDEGlobal::locale()->formatDateTime(dt, false, false); - tags["h"] = TDEGlobal::locale()->formatTime(TQT_TQTIME_OBJECT(dt.time()), false); - tags["y"] = TDEGlobal::locale()->formatDate(TQT_TQDATE_OBJECT(dt.date()), true); - tags["Y"] = TDEGlobal::locale()->formatDate(TQT_TQDATE_OBJECT(dt.date()), false); + tags["h"] = TDEGlobal::locale()->formatTime(dt.time(), false); + tags["y"] = TDEGlobal::locale()->formatDate(dt.date(), true); + tags["Y"] = TDEGlobal::locale()->formatDate(dt.date(), false); tags["f"] = doc->url().fileName(); tags["U"] = doc->url().prettyURL(); if ( selectionOnly ) -- cgit v1.2.1