summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabberbasecontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/jabberbasecontact.cpp')
-rw-r--r--kopete/protocols/jabber/jabberbasecontact.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/protocols/jabber/jabberbasecontact.cpp b/kopete/protocols/jabber/jabberbasecontact.cpp
index a380d3c4..2ee8423e 100644
--- a/kopete/protocols/jabber/jabberbasecontact.cpp
+++ b/kopete/protocols/jabber/jabberbasecontact.cpp
@@ -164,7 +164,7 @@ void JabberBaseContact::updateContact ( const XMPP::RosterItem & item )
// find all groups our contact is in but that are not in the server side roster
for ( unsigned i = 0; i < metaContact()->groups().count (); i++ )
{
- if ( item.groups().tqfind ( metaContact()->groups().at(i)->displayName () ) == item.groups().end () )
+ if ( item.groups().find ( metaContact()->groups().at(i)->displayName () ) == item.groups().end () )
groupsToRemoveFrom.append ( metaContact()->groups().at ( i ) );
}
@@ -193,7 +193,7 @@ void JabberBaseContact::updateContact ( const XMPP::RosterItem & item )
* risk removing the contact from the visible contact list. In this
* case, we need to make sure at least the top level group stays.
*/
- if ( ( groupsToAddTo.count () == 0 ) && ( groupsToRemoveFrom.tqcontains ( Kopete::Group::topLevel () ) ) )
+ if ( ( groupsToAddTo.count () == 0 ) && ( groupsToRemoveFrom.contains ( Kopete::Group::topLevel () ) ) )
{
groupsToRemoveFrom.remove ( Kopete::Group::topLevel () );
}
@@ -630,7 +630,7 @@ void JabberBaseContact::setPropertiesFromVCard ( const XMPP::VCard &vCard )
TQImage contactPhoto;
TQString fullJid = mRosterItem.jid().full();
- TQString finalPhotoPath = locateLocal("appdata", "jabberphotos/" + fullJid.tqreplace(TQRegExp("[./~]"),"-") +".png");
+ TQString finalPhotoPath = locateLocal("appdata", "jabberphotos/" + fullJid.replace(TQRegExp("[./~]"),"-") +".png");
// photo() is a TQByteArray
if ( !vCard.photo().isEmpty() )