diff options
author | Michele Calgaro <[email protected]> | 2023-11-26 02:32:58 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 02:32:58 +0900 |
commit | 335c366622612e7641001c7b4de62024152f0ff1 (patch) | |
tree | 3d4475eaa17dd464d3b492c4f1d5f86f40176c9a /kopete/protocols/groupwise/gwaccount.cpp | |
parent | c872aae88b96bf8978e123b9074d5e389d245140 (diff) | |
download | tdenetwork-335c366622612e7641001c7b4de62024152f0ff1.tar.gz tdenetwork-335c366622612e7641001c7b4de62024152f0ff1.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kopete/protocols/groupwise/gwaccount.cpp')
-rw-r--r-- | kopete/protocols/groupwise/gwaccount.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/groupwise/gwaccount.cpp b/kopete/protocols/groupwise/gwaccount.cpp index b98d5911..e5d016de 100644 --- a/kopete/protocols/groupwise/gwaccount.cpp +++ b/kopete/protocols/groupwise/gwaccount.cpp @@ -533,7 +533,7 @@ void GroupWiseAccount::reconcileOfflineChanges() else continue; - GWFolder * folder = ::tqqt_cast<GWFolder*>( ( *instIt )->parent() ); + GWFolder * folder = ::tqt_cast<GWFolder*>( ( *instIt )->parent() ); if ( folder->id == ( unsigned int )groupId.toInt() ) { found = true; @@ -1117,7 +1117,7 @@ bool GroupWiseAccount::createContact( const TQString& contactId, Kopete::MetaCon { kdDebug( GROUPWISE_DEBUG_GLOBAL ) << fld->displayName << endl; //FIXME - get rid of FolderItem & co - fi.parentId = ::tqqt_cast<GWFolder*>( fld->parent() )->id; + fi.parentId = ::tqt_cast<GWFolder*>( fld->parent() )->id; fi.id = fld->id; fi.name = fld->displayName; } @@ -1227,7 +1227,7 @@ void GroupWiseAccount::deleteContact( GroupWiseContact * contact ) for ( ; it != instances.end(); ++it ) { DeleteItemTask * dit = new DeleteItemTask( client()->rootTask() ); - dit->item( ::tqqt_cast<GWFolder*>( (*it)->parent() )->id, (*it)->id ); + dit->item( ::tqt_cast<GWFolder*>( (*it)->parent() )->id, (*it)->id ); TQObject::connect( dit, TQT_SIGNAL( gotContactDeleted( const ContactItem & ) ), TQT_SLOT( receiveContactDeleted( const ContactItem & ) ) ); dit->go( true ); } @@ -1499,7 +1499,7 @@ void GroupWiseAccount::syncContact( GroupWiseContact * contact ) { GWContactInstanceList::Iterator candidateInst = instIt; ++instIt; - GWFolder * folder = ::tqqt_cast<GWFolder *>( ( *candidateInst )->parent() ); + GWFolder * folder = ::tqt_cast<GWFolder *>( ( *candidateInst )->parent() ); kdDebug( GROUPWISE_DEBUG_GLOBAL ) << " - Looking for a match, MC grp '" << ( *candidateGrp )->displayName() << "', GWFolder '" << folder->displayName << "', objectId is " << folder->id << endl; @@ -1525,7 +1525,7 @@ void GroupWiseAccount::syncContact( GroupWiseContact * contact ) candidateGrp = grpIt; ++grpIt; GWContactInstanceList::Iterator instIt = instances.begin(); - GWFolder * sourceFolder =::tqqt_cast<GWFolder*>( ( *instIt)->parent() ); + GWFolder * sourceFolder =::tqt_cast<GWFolder*>( ( *instIt)->parent() ); kdDebug( GROUPWISE_DEBUG_GLOBAL ) << " - moving contact instance from group '" << sourceFolder->displayName << "' to group '" << ( *candidateGrp )->displayName() << "'" << endl; // create contactItem parameter @@ -1604,7 +1604,7 @@ void GroupWiseAccount::syncContact( GroupWiseContact * contact ) { GWContactInstanceList::Iterator candidateInst = instIt; ++instIt; - GWFolder * folder =::tqqt_cast<GWFolder*>( ( *candidateInst )->parent() ); + GWFolder * folder =::tqt_cast<GWFolder*>( ( *candidateInst )->parent() ); kdDebug( GROUPWISE_DEBUG_GLOBAL ) << " - remove contact instance '"<< ( *candidateInst )->id << "' in group '" << folder->displayName << "'" << endl; DeleteItemTask * dit = new DeleteItemTask( client()->rootTask() ); @@ -1628,7 +1628,7 @@ void GroupWiseAccount::syncContact( GroupWiseContact * contact ) TQValueList< ContactItem > instancesToChange; ContactItem instance; instance.id = (*it)->id; - instance.parentId = ::tqqt_cast<GWFolder *>( (*it)->parent() )->id; + instance.parentId = ::tqt_cast<GWFolder *>( (*it)->parent() )->id; instance.sequence = (*it)->sequence; instance.dn = contact->dn(); instance.displayName = contact->nickName(); |