diff options
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp')
-rw-r--r-- | kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp index a09af45a..2474aaaa 100644 --- a/kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp +++ b/kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp @@ -121,9 +121,9 @@ void LoginTask::extractFolder( Field::MultiField * folderContainer ) folder.name = current->value().toString(); // tqparent current = fl.findSingleField( NM_A_SZ_PARENT_ID ); - folder.tqparentId = current->value().toInt(); + folder.parentId = current->value().toInt(); - client()->debug( TQString( "Got folder: %1, obj: %2, tqparent: %3, seq: %3." ).tqarg( folder.name ).tqarg( folder.id ).tqarg( folder.tqparentId ).tqarg( folder.sequence ) ); + client()->debug( TQString( "Got folder: %1, obj: %2, tqparent: %3, seq: %3." ).tqarg( folder.name ).tqarg( folder.id ).tqarg( folder.parentId ).tqarg( folder.sequence ) ); // tell the world about it emit gotFolder( folder ); } @@ -139,7 +139,7 @@ void LoginTask::extractContact( Field::MultiField * contactContainer ) current = fl.findSingleField( NM_A_SZ_OBJECT_ID ); contact.id = current->value().toInt(); current = fl.findSingleField( NM_A_SZ_PARENT_ID ); - contact.tqparentId = current->value().toInt(); + contact.parentId = current->value().toInt(); current = fl.findSingleField( NM_A_SZ_SEQUENCE_NUMBER ); contact.sequence = current->value().toInt(); current = fl.findSingleField( NM_A_SZ_DISPLAY_NAME ); @@ -206,13 +206,13 @@ ContactDetails LoginTask::extractUserDetails( Field::FieldList & fields ) if ( propList ) { // Hello A Nagappan. GW gave us a multiple field where we previously got a single field - TQString tqparentName = propList->tag(); + TQString parentName = propList->tag(); Field::FieldList propFields = propList->fields(); const Field::FieldListIterator end = propFields.end(); for ( Field::FieldListIterator it = propFields.begin(); it != end; ++it ) { propField = dynamic_cast<Field::SingleField *>( *it ); - if ( propField /*&& propField->tag() == tqparentName */) + if ( propField /*&& propField->tag() == parentName */) { TQString propValue = propField->value().toString(); TQString contents = propMap[ propField->tag() ]; |