summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp
index 1f679a6c..6a28124f 100644
--- a/kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/tasks/logintask.cpp
@@ -36,7 +36,7 @@ LoginTask::~LoginTask()
void LoginTask::initialise()
{
- QString command = QString::fromLatin1("login:%1:%2").arg( client()->host() ).arg( client()->port() );
+ TQString command = TQString::fromLatin1("login:%1:%2").arg( client()->host() ).arg( client()->port() );
Field::FieldList lst;
lst.append( new Field::SingleField( NM_A_SZ_USERID, 0, NMFIELD_TYPE_UTF8, client()->userId() ) );
@@ -123,7 +123,7 @@ void LoginTask::extractFolder( Field::MultiField * folderContainer )
current = fl.findSingleField( NM_A_SZ_PARENT_ID );
folder.parentId = current->value().toInt();
- client()->debug( QString( "Got folder: %1, obj: %2, parent: %3, seq: %3." ).arg( folder.name ).arg( folder.id ).arg( folder.parentId ).arg( folder.sequence ) );
+ client()->debug( TQString( "Got folder: %1, obj: %2, parent: %3, seq: %3." ).arg( folder.name ).arg( folder.id ).arg( folder.parentId ).arg( folder.sequence ) );
// tell the world about it
emit gotFolder( folder );
}
@@ -186,7 +186,7 @@ ContactDetails LoginTask::extractUserDetails( Field::FieldList & fields )
if ( ( sf = fields.findSingleField ( NM_A_SZ_MESSAGE_BODY ) ) )
cd.awayMessage = sf->value().toString();
Field::MultiField * mf;
- QMap< QString, QString > propMap;
+ TQMap< TQString, TQString > propMap;
if ( ( mf = fields.findMultiField ( NM_A_FA_INFO_DISPLAY_ARRAY ) ) )
{
Field::FieldList fl = mf->fields();
@@ -196,8 +196,8 @@ ContactDetails LoginTask::extractUserDetails( Field::FieldList & fields )
Field::SingleField * propField = dynamic_cast<Field::SingleField *>( *it );
if ( propField )
{
- QString propName = propField->tag();
- QString propValue = propField->value().toString();
+ TQString propName = propField->tag();
+ TQString propValue = propField->value().toString();
propMap.insert( propName, propValue );
}
else
@@ -206,7 +206,7 @@ ContactDetails LoginTask::extractUserDetails( Field::FieldList & fields )
if ( propList )
{
// Hello A Nagappan. GW gave us a multiple field where we previously got a single field
- QString parentName = 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 )
@@ -214,8 +214,8 @@ ContactDetails LoginTask::extractUserDetails( Field::FieldList & fields )
propField = dynamic_cast<Field::SingleField *>( *it );
if ( propField /*&& propField->tag() == parentName */)
{
- QString propValue = propField->value().toString();
- QString contents = propMap[ propField->tag() ];
+ TQString propValue = propField->value().toString();
+ TQString contents = propMap[ propField->tag() ];
if ( !contents.isEmpty() )
contents.append( ", " );
contents.append( propField->value().toString());
@@ -237,8 +237,8 @@ void LoginTask::extractPrivacy( Field::FieldList & fields )
{
bool privacyLocked = false;
bool defaultDeny = false;
- QStringList allowList;
- QStringList denyList;
+ TQStringList allowList;
+ TQStringList denyList;
// read blocking
// may be a single field or may be an array
Field::FieldListIterator it = fields.find( NM_A_LOCKED_ATTR_LIST );
@@ -280,9 +280,9 @@ void LoginTask::extractPrivacy( Field::FieldList & fields )
kdDebug( GROUPWISE_DEBUG_GLOBAL ) << "locked is " << privacyLocked << ", default is " << defaultDeny << "\nallow list is: " << allowList << "\ndeny list is: " << denyList << endl;
}
-QStringList LoginTask::readPrivacyItems( const QCString & tag, Field::FieldList & fields )
+TQStringList LoginTask::readPrivacyItems( const TQCString & tag, Field::FieldList & fields )
{
- QStringList items;
+ TQStringList items;
Field::FieldListIterator it = fields.find( tag );
if ( it != fields.end() )