summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:48 +0900
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2023-12-05 03:06:55 +0000
commit6d077d06067369f2060c1b011687941e84ece7c4 (patch)
tree19cccd2c9d0456e7606f5574e943ca7c51aaec5f /kopete/protocols/jabber
parent15fd0d5c8e0d1c0eaf21b8794d9a14b706d8325b (diff)
downloadtdenetwork-6d077d06067369f2060c1b011687941e84ece7c4.tar.gz
tdenetwork-6d077d06067369f2060c1b011687941e84ece7c4.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/protocols/jabber')
-rw-r--r--kopete/protocols/jabber/jabbercapabilitiesmanager.cpp2
-rw-r--r--kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp2
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" )