summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/msnprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/msn/msnprotocol.cpp')
-rw-r--r--kopete/protocols/msn/msnprotocol.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/protocols/msn/msnprotocol.cpp b/kopete/protocols/msn/msnprotocol.cpp
index 587826ad..4337e9b2 100644
--- a/kopete/protocols/msn/msnprotocol.cpp
+++ b/kopete/protocols/msn/msnprotocol.cpp
@@ -104,9 +104,9 @@ Kopete::Contact *MSNProtocol::deserializeContact( Kopete::MetaContact *metaConta
c->setInfo( "PHM" , serializedData[ "PHM" ] );
c->setProperty( propGuid, contactGuid );
- c->setBlocked( (bool)(lists.tqcontains('B')) );
- c->setAllowed( (bool)(lists.tqcontains('A')) );
- c->setReversed( (bool)(lists.tqcontains('R')) );
+ c->setBlocked( (bool)(lists.contains('B')) );
+ c->setAllowed( (bool)(lists.contains('A')) );
+ c->setReversed( (bool)(lists.contains('R')) );
return c;
}
@@ -154,7 +154,7 @@ MSNProtocol* MSNProtocol::protocol()
bool MSNProtocol::validContactId(const TQString& userid)
{
- return ( userid.tqcontains('@') ==1 && userid.tqcontains('.') >=1 && userid.tqcontains(' ') == 0);
+ return ( userid.contains('@') ==1 && userid.contains('.') >=1 && userid.contains(' ') == 0);
}
TQImage MSNProtocol::scalePicture(const TQImage &picture)