summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/tasks/updatecontacttask.cpp10
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 ) );