summaryrefslogtreecommitdiffstats
path: root/conduits/docconduit
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:36:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 11:32:51 +0900
commit6ff35b7a8dda4f76b9dee42982653a86d3ef16d8 (patch)
tree3aa1a6f4eae13a28afc1d2206d2774cda96b2f85 /conduits/docconduit
parent9beef848a99ed0e5b9dfecac25ba710393f76b10 (diff)
downloadkpilot-6ff35b7a8dda4f76b9dee42982653a86d3ef16d8.tar.gz
kpilot-6ff35b7a8dda4f76b9dee42982653a86d3ef16d8.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'conduits/docconduit')
-rw-r--r--conduits/docconduit/doc-conduit.cpp4
1 files changed, 2 insertions, 2 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();