summaryrefslogtreecommitdiffstats
path: root/kate
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
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')
-rw-r--r--kate/part/katedocument.cpp2
-rw-r--r--kate/part/kateprinter.cpp6
2 files changed, 4 insertions, 4 deletions
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 )