diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 937b2991d8e78166eea904c80ad04d34607017a4 (patch) | |
tree | 2accb8161eab09df5d7a5484ea9ea080ad123168 /kopete/protocols/oscar/icq/icqprotocol.cpp | |
parent | dba26cb985af370c33d1767037851705cc561726 (diff) | |
download | tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/oscar/icq/icqprotocol.cpp')
-rw-r--r-- | kopete/protocols/oscar/icq/icqprotocol.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/oscar/icq/icqprotocol.cpp b/kopete/protocols/oscar/icq/icqprotocol.cpp index e7a5dc6c..a6888cee 100644 --- a/kopete/protocols/oscar/icq/icqprotocol.cpp +++ b/kopete/protocols/oscar/icq/icqprotocol.cpp @@ -673,7 +673,7 @@ void ICQProtocol::setComboFromTable(TQComboBox *box, const TQMap<int, TQString> { // kdDebug(14153) << k_funcinfo << "Called." << endl; TQMap<int, TQString>::ConstIterator it; - it = map.tqfind(value); + it = map.find(value); if (!(*it)) return; @@ -770,21 +770,21 @@ Kopete::Contact *ICQProtocol::deserializeContact( Kopete::MetaContact *metaConta uint ssiGid = 0, ssiBid = 0, ssiType = 0xFFFF; TQString ssiName; bool ssiWaitingAuth = false; - if ( serializedData.tqcontains( "ssi_name" ) ) + if ( serializedData.contains( "ssi_name" ) ) ssiName = serializedData["ssi_name"]; - if ( serializedData.tqcontains( "ssi_waitingAuth" ) ) + if ( serializedData.contains( "ssi_waitingAuth" ) ) { TQString authtqStatus = serializedData["ssi_waitingAuth"]; if ( authtqStatus == "true" ) ssiWaitingAuth = true; } - if ( serializedData.tqcontains( "ssi_gid" ) ) + if ( serializedData.contains( "ssi_gid" ) ) ssiGid = serializedData["ssi_gid"].toUInt(); - if ( serializedData.tqcontains( "ssi_bid" ) ) + if ( serializedData.contains( "ssi_bid" ) ) ssiBid = serializedData["ssi_bid"].toUInt(); - if ( serializedData.tqcontains( "ssi_type" ) ) + if ( serializedData.contains( "ssi_type" ) ) ssiType = serializedData["ssi_type"].toUInt(); Oscar::SSI item( ssiName, ssiGid, ssiBid, ssiType, TQValueList<TLV>(), 0 ); |