diff options
Diffstat (limited to 'kopete/protocols/oscar/oscaraccount.cpp')
-rw-r--r-- | kopete/protocols/oscar/oscaraccount.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/oscar/oscaraccount.cpp b/kopete/protocols/oscar/oscaraccount.cpp index 4ff71b1c..38d01121 100644 --- a/kopete/protocols/oscar/oscaraccount.cpp +++ b/kopete/protocols/oscar/oscaraccount.cpp @@ -555,7 +555,7 @@ Connection* OscarAccount::setupConnection( const TQString& server, uint port ) bool OscarAccount::createContact(const TQString &contactId, - Kopete::MetaContact *tqparentContact) + Kopete::MetaContact *parentContact) { /* We're not even online or connecting * (when getting server contacts), so don't bother @@ -577,10 +577,10 @@ bool OscarAccount::createContact(const TQString &contactId, */ TQValueList<TLV> dummyList; - if ( tqparentContact->isTemporary() ) + if ( parentContact->isTemporary() ) { SSI tempItem( contactId, 0, 0, 0xFFFF, dummyList, 0 ); - return createNewContact( contactId, tqparentContact, tempItem ); + return createNewContact( contactId, parentContact, tempItem ); } SSI ssiItem = d->engine->ssiManager()->findContact( contactId ); @@ -597,7 +597,7 @@ bool OscarAccount::createContact(const TQString &contactId, else { kdDebug(OSCAR_GEN_DEBUG) << k_funcinfo << "Didn't find contact in list, creating new contact" << endl; - return createNewContact( contactId, tqparentContact, ssiItem ); + return createNewContact( contactId, parentContact, ssiItem ); } } else @@ -608,7 +608,7 @@ bool OscarAccount::createContact(const TQString &contactId, kdDebug(OSCAR_GEN_DEBUG) << k_funcinfo << "Adding " << contactId << " to server side list" << endl; TQString groupName; - Kopete::GroupList kopeteGroups = tqparentContact->groups(); //get the group list + Kopete::GroupList kopeteGroups = parentContact->groups(); //get the group list if ( kopeteGroups.isEmpty() || kopeteGroups.first() == Kopete::Group::topLevel() ) { @@ -617,7 +617,7 @@ bool OscarAccount::createContact(const TQString &contactId, } else { - //aptqparently kopeteGroups.first() can be invalid. Attempt to prevent + //apparently kopeteGroups.first() can be invalid. Attempt to prevent //crashes in SSIData::findGroup(const TQString& name) groupName = kopeteGroups.first() ? kopeteGroups.first()->displayName() : i18n("Buddies"); @@ -631,7 +631,7 @@ bool OscarAccount::createContact(const TQString &contactId, return false; } - d->addContactMap[Oscar::normalize( contactId )] = tqparentContact; + d->addContactMap[Oscar::normalize( contactId )] = parentContact; addContactToSSI( Oscar::normalize( contactId ), groupName, true ); return true; } |