From e0a2f545c07e44503667470c8891aff392973197 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:48:48 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro (cherry picked from commit 6d077d06067369f2060c1b011687941e84ece7c4) --- kopete/protocols/oscar/aim/aimaccount.cpp | 2 +- kopete/protocols/oscar/icq/icqaccount.cpp | 2 +- kopete/protocols/oscar/icq/icqcontact.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kopete/protocols/oscar') diff --git a/kopete/protocols/oscar/aim/aimaccount.cpp b/kopete/protocols/oscar/aim/aimaccount.cpp index 37ce6e61..82b9a29c 100644 --- a/kopete/protocols/oscar/aim/aimaccount.cpp +++ b/kopete/protocols/oscar/aim/aimaccount.cpp @@ -451,7 +451,7 @@ void AIMAccount::slotBuddyIconChanged() iconFile.open( IO_ReadOnly ); KMD5 iconHash; - iconHash.update( *TQT_TQIODEVICE(&iconFile) ); + iconHash.update( iconFile ); kdDebug(OSCAR_AIM_DEBUG) << k_funcinfo << "hash is :" << iconHash.hexDigest() << endl; //find old item, create updated item diff --git a/kopete/protocols/oscar/icq/icqaccount.cpp b/kopete/protocols/oscar/icq/icqaccount.cpp index 784c8183..f5c6b9ea 100644 --- a/kopete/protocols/oscar/icq/icqaccount.cpp +++ b/kopete/protocols/oscar/icq/icqaccount.cpp @@ -457,7 +457,7 @@ void ICQAccount::slotBuddyIconChanged() iconFile.open( IO_ReadOnly ); KMD5 iconHash; - iconHash.update( *TQT_TQIODEVICE(&iconFile) ); + iconHash.update( iconFile ); kdDebug(14153) << k_funcinfo << "hash is :" << iconHash.hexDigest() << endl; //find old item, create updated item diff --git a/kopete/protocols/oscar/icq/icqcontact.cpp b/kopete/protocols/oscar/icq/icqcontact.cpp index dd651a11..01c0e43d 100644 --- a/kopete/protocols/oscar/icq/icqcontact.cpp +++ b/kopete/protocols/oscar/icq/icqcontact.cpp @@ -503,7 +503,7 @@ bool ICQContact::cachedBuddyIcon( TQByteArray hash ) return false; KMD5 buddyIconHash; - buddyIconHash.update( *TQT_TQIODEVICE(&iconFile) ); + buddyIconHash.update( iconFile ); iconFile.close(); if ( memcmp( buddyIconHash.rawDigest(), hash.data(), 16 ) == 0 ) -- cgit v1.2.1