diff options
Diffstat (limited to 'kate')
-rw-r--r-- | kate/part/katedocument.cpp | 2 | ||||
-rw-r--r-- | kate/part/kateprinter.cpp | 6 |
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 ) |