summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/tasks/pollsearchresultstask.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/groupwise/libgroupwise/tasks/pollsearchresultstask.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-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/pollsearchresultstask.cpp')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/tasks/pollsearchresultstask.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/pollsearchresultstask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/pollsearchresultstask.cpp
index 772a0888..d65a5a20 100644
--- a/kopete/protocols/groupwise/libgroupwise/tasks/pollsearchresultstask.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/tasks/pollsearchresultstask.cpp
@@ -36,7 +36,7 @@ PollSearchResultsTask::~PollSearchResultsTask()
{
}
-void PollSearchResultsTask::poll( const QString & queryHandle )
+void PollSearchResultsTask::poll( const TQString & queryHandle )
{
Field::FieldList lst;
lst.append( new Field::SingleField( NM_A_SZ_OBJECT_ID, 0, NMFIELD_TYPE_UTF8, queryHandle ) );
@@ -97,7 +97,7 @@ bool PollSearchResultsTask::take( Transfer * transfer )
return true;
}
-QValueList< GroupWise::ContactDetails > PollSearchResultsTask::results()
+TQValueList< GroupWise::ContactDetails > PollSearchResultsTask::results()
{
return m_results;
}
@@ -133,7 +133,7 @@ GroupWise::ContactDetails PollSearchResultsTask::extractUserDetails( Field::Fiel
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();
@@ -146,8 +146,8 @@ GroupWise::ContactDetails PollSearchResultsTask::extractUserDetails( Field::Fiel
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
@@ -155,7 +155,7 @@ GroupWise::ContactDetails PollSearchResultsTask::extractUserDetails( Field::Fiel
Field::MultiField * propList = dynamic_cast<Field::MultiField*>( *it );
if ( propList )
{
- 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 )
@@ -163,8 +163,8 @@ GroupWise::ContactDetails PollSearchResultsTask::extractUserDetails( Field::Fiel
propField = dynamic_cast<Field::SingleField *>( *it );
if ( propField )
{
- 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());