summaryrefslogtreecommitdiffstats
path: root/kate/part/kateprinter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:21:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 19:33:18 +0900
commitc0b74ba868682f39c41a9f70ae11297425b711e1 (patch)
tree011b3da15bd49b62893629154ba84d87afa54f3e /kate/part/kateprinter.cpp
parent29b84bd0b10724c3fd1dc1ea0bcdedf5221ebd3f (diff)
downloadtdelibs-c0b74ba868682f39c41a9f70ae11297425b711e1.tar.gz
tdelibs-c0b74ba868682f39c41a9f70ae11297425b711e1.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/part/kateprinter.cpp')
-rw-r--r--kate/part/kateprinter.cpp6
1 files changed, 3 insertions, 3 deletions
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 )