diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:48:48 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-05 12:14:24 +0900 |
commit | e0a2f545c07e44503667470c8891aff392973197 (patch) | |
tree | a0f57ee827259991b599a749995930ce11ca7a7c /kopete/protocols/jabber | |
parent | e6bbef6dc396a618e833280c761007d3b380e1ac (diff) | |
download | tdenetwork-e0a2f545c07e44503667470c8891aff392973197.tar.gz tdenetwork-e0a2f545c07e44503667470c8891aff392973197.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6d077d06067369f2060c1b011687941e84ece7c4)
Diffstat (limited to 'kopete/protocols/jabber')
-rw-r--r-- | kopete/protocols/jabber/jabbercapabilitiesmanager.cpp | 2 | ||||
-rw-r--r-- | kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp b/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp index deb62a1e..57292ad3 100644 --- a/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp +++ b/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp @@ -646,7 +646,7 @@ void JabberCapabilitiesManager::saveInformation() } TQTextStream textStream; - textStream.setDevice(TQT_TQIODEVICE(&capsFile)); + textStream.setDevice(&capsFile); textStream.setEncoding(TQTextStream::UnicodeUTF8); textStream << doc.toString(); textStream.unsetDevice(); diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp index 2f242bcb..ac7f5626 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp @@ -93,7 +93,7 @@ static TQString image2type(const TQByteArray &ba) { TQBuffer buf(ba); buf.open(IO_ReadOnly); - TQString format = TQImageIO::imageFormat( TQT_TQIODEVICE(&buf) ); + TQString format = TQImageIO::imageFormat( &buf ); // TODO: add more formats if ( format == "PNG" || format == "PsiPNG" ) |