summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/userinfotask.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/oscar/liboscar/userinfotask.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/oscar/liboscar/userinfotask.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/userinfotask.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/oscar/liboscar/userinfotask.cpp b/kopete/protocols/oscar/liboscar/userinfotask.cpp
index a204c475..66197316 100644
--- a/kopete/protocols/oscar/liboscar/userinfotask.cpp
+++ b/kopete/protocols/oscar/liboscar/userinfotask.cpp
@@ -75,28 +75,28 @@ bool UserInfoTask::take( Transfer * transfer )
m_sequenceInfoMap[seq] = ud;
emit gotInfo( seq );
- QValueList<TLV> list = b->getTLVList();
- QValueList<TLV>::iterator it = list.begin();
- QString profile;
- QString away;
+ TQValueList<TLV> list = b->getTLVList();
+ TQValueList<TLV>::iterator it = list.begin();
+ TQString profile;
+ TQString away;
for ( ; ( *it ); ++it )
{
switch( ( *it ).type )
{
case 0x0001: //profile text encoding
- kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "text encoding is " << QString( ( *it ).data )<< endl;
+ kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "text encoding is " << TQString( ( *it ).data )<< endl;
break;
case 0x0002: //profile text
- kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "The profile is '" << QString( ( *it ).data ) << "'" << endl;
- profile = QString( ( *it ).data ); // aim always seems to use us-ascii encoding
+ kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "The profile is '" << TQString( ( *it ).data ) << "'" << endl;
+ profile = TQString( ( *it ).data ); // aim always seems to use us-ascii encoding
emit receivedProfile( m_contactSequenceMap[seq], profile );
break;
case 0x0003: //away message encoding
- kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Away message encoding is " << QString( ( *it ).data ) << endl;
+ kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Away message encoding is " << TQString( ( *it ).data ) << endl;
break;
case 0x0004: //away message
- kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Away message is '" << QString( ( *it ).data ) << "'" << endl;
- away = QString( (*it ).data ); // aim always seems to use us-ascii encoding
+ kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Away message is '" << TQString( ( *it ).data ) << "'" << endl;
+ away = TQString( (*it ).data ); // aim always seems to use us-ascii encoding
emit receivedAwayMessage( m_contactSequenceMap[seq], away );
break;
case 0x0005: //capabilities
@@ -133,7 +133,7 @@ void UserInfoTask::onGo()
send( t );
}
-void UserInfoTask::requestInfoFor( const QString& contact, unsigned int types )
+void UserInfoTask::requestInfoFor( const TQString& contact, unsigned int types )
{
Q_UINT16 seq = client()->snacSequence();
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "setting sequence " << seq << " for contact " << contact << endl;