From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/part/kateprinter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kate/part/kateprinter.cpp') diff --git a/kate/part/kateprinter.cpp b/kate/part/kateprinter.cpp index f0f73aad0..f9dfb8abe 100644 --- a/kate/part/kateprinter.cpp +++ b/kate/part/kateprinter.cpp @@ -192,9 +192,9 @@ bool KatePrinter::print (KateDocument *doc) tags["d"] = KGlobal::locale()->formatDateTime(dt, true, false); tags["D"] = KGlobal::locale()->formatDateTime(dt, false, false); - tags["h"] = KGlobal::locale()->formatTime(dt.time(), false); - tags["y"] = KGlobal::locale()->formatDate(dt.date(), true); - tags["Y"] = KGlobal::locale()->formatDate(dt.date(), false); + tags["h"] = KGlobal::locale()->formatTime(TQT_TQTIME_OBJECT(dt.time()), false); + tags["y"] = KGlobal::locale()->formatDate(TQT_TQDATE_OBJECT(dt.date()), true); + tags["Y"] = KGlobal::locale()->formatDate(TQT_TQDATE_OBJECT(dt.date()), false); tags["f"] = doc->url().fileName(); tags["U"] = doc->url().prettyURL(); if ( selectionOnly ) -- cgit v1.2.1