From 6ff35b7a8dda4f76b9dee42982653a86d3ef16d8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:36:41 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- conduits/docconduit/doc-conduit.cpp | 4 ++-- kpilot/logFile.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conduits/docconduit/doc-conduit.cpp b/conduits/docconduit/doc-conduit.cpp index 294b31a..7f375d4 100644 --- a/conduits/docconduit/doc-conduit.cpp +++ b/conduits/docconduit/doc-conduit.cpp @@ -163,7 +163,7 @@ bool DOCConduit::pcTextChanged(TQString txtfn) KMD5 docmd5; TQFile txtfile(txtfn); if (txtfile.open(IO_ReadOnly)){ - docmd5.update(*TQT_TQIODEVICE(&txtfile)); + docmd5.update(txtfile); TQString thisDigest(docmd5.hexDigest() /* .data() */); #ifdef DEBUG DEBUGKPILOT<<"New digest is "<config()->writeEntry(docconverter.txtFilename(), thisDigest); DOCConduitSettings::self()->config()->sync(); diff --git a/kpilot/logFile.cpp b/kpilot/logFile.cpp index 3548bcb..c22bdc3 100644 --- a/kpilot/logFile.cpp +++ b/kpilot/logFile.cpp @@ -68,7 +68,7 @@ LogFile::LogFile() : DCOPObject("LogIface"), TQObject(), fOutfile(0L), fSyncing( } fSyncing = true; - fLogStream.setDevice(TQT_TQIODEVICE(fOutfile)); + fLogStream.setDevice(fOutfile); fLogStream<<(CSL1("KPilot HotSync log, %1").arg(TQDateTime::currentDateTime().toString()))<