diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp')
-rw-r--r-- | kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp index d8c1a68a..aa75441d 100644 --- a/kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp +++ b/kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp @@ -33,18 +33,18 @@ UpdateContactTask::~UpdateContactTask() { } -QString UpdateContactTask::displayName() +TQString UpdateContactTask::displayName() { return m_name; } -void UpdateContactTask::renameContact( const QString & newName, const QValueList<ContactItem> & contactInstances ) +void UpdateContactTask::renameContact( const TQString & newName, const TQValueList<ContactItem> & contactInstances ) { m_name = newName; // build a list of delete, add fields that removes each instance on the server and then readds it with the new name Field::FieldList lst; - const QValueList<ContactItem>::ConstIterator end = contactInstances.end(); - for( QValueList<ContactItem>::ConstIterator it = contactInstances.begin(); it != end; ++it ) + const TQValueList<ContactItem>::ConstIterator end = contactInstances.end(); + for( TQValueList<ContactItem>::ConstIterator it = contactInstances.begin(); it != end; ++it ) { Field::FieldList contactFields; contactFields.append( new Field::SingleField( NM_A_SZ_OBJECT_ID, 0, NMFIELD_TYPE_UTF8, (*it).id ) ); @@ -57,7 +57,7 @@ void UpdateContactTask::renameContact( const QString & newName, const QValueList lst.append( new Field::MultiField( NM_A_FA_CONTACT, NMFIELD_METHOD_DELETE, 0, NMFIELD_TYPE_ARRAY, contactFields ) ); } - for( QValueList<ContactItem>::ConstIterator it = contactInstances.begin(); it != end; ++it ) + for( TQValueList<ContactItem>::ConstIterator it = contactInstances.begin(); it != end; ++it ) { Field::FieldList contactFields; contactFields.append( new Field::SingleField( NM_A_SZ_OBJECT_ID, 0, NMFIELD_TYPE_UTF8, (*it).id ) ); |