diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:36:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-05 11:32:51 +0900 |
commit | 6ff35b7a8dda4f76b9dee42982653a86d3ef16d8 (patch) | |
tree | 3aa1a6f4eae13a28afc1d2206d2774cda96b2f85 | |
parent | 9beef848a99ed0e5b9dfecac25ba710393f76b10 (diff) | |
download | kpilot-6ff35b7a8dda4f76b9dee42982653a86d3ef16d8.tar.gz kpilot-6ff35b7a8dda4f76b9dee42982653a86d3ef16d8.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | conduits/docconduit/doc-conduit.cpp | 4 | ||||
-rw-r--r-- | 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 "<<thisDigest<<endl; @@ -362,7 +362,7 @@ bool DOCConduit::doSync(docSyncInfo &sinfo) KMD5 docmd5; TQFile txtfile(docconverter.txtFilename()); if (txtfile.open(IO_ReadOnly)) { - docmd5.update(*TQT_TQIODEVICE(&txtfile)); + docmd5.update(txtfile); TQString thisDigest(docmd5.hexDigest() /* .data() */); DOCConduitSettings::self()->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()))<<endl<<endl<<endl; fLogStream<<(CSL1("Version: KPilot %1").arg(TQString::fromLatin1(KPILOT_VERSION)))<<endl; |