summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/libkyahoo/messagereceivertask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo/messagereceivertask.cpp')
-rw-r--r--kopete/protocols/yahoo/libkyahoo/messagereceivertask.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/messagereceivertask.cpp b/kopete/protocols/yahoo/libkyahoo/messagereceivertask.cpp
index 698552a3..769b4abe 100644
--- a/kopete/protocols/yahoo/libkyahoo/messagereceivertask.cpp
+++ b/kopete/protocols/yahoo/libkyahoo/messagereceivertask.cpp
@@ -14,7 +14,7 @@
*************************************************************************
*/
-#include <qstring.h>
+#include <tqstring.h>
#include "messagereceivertask.h"
#include "transfer.h"
@@ -73,12 +73,12 @@ void MessageReceiverTask::parseMessage( YMSGTransfer *t )
int cnt = t->paramCount( 5 );
for( int i = 0; i < cnt; ++i )
{
- QString to = t->nthParam( 5, i );
- QString timestamp = t->nthParamSeparated( 15, i, 4 );
- QString utf8 = t->nthParamSeparated( 97, i, 4 );
- QString from = t->nthParamSeparated( 1, i, 4 ).isEmpty() ? t->nthParam( 4, i ) : t->nthParamSeparated( 1, i, 4 );
- QString msg = t->nthParamSeparated( 14, i, 4 );
- QString sysmsg = t->nthParamSeparated( 16, i, 4 );
+ TQString to = t->nthParam( 5, i );
+ TQString timestamp = t->nthParamSeparated( 15, i, 4 );
+ TQString utf8 = t->nthParamSeparated( 97, i, 4 );
+ TQString from = t->nthParamSeparated( 1, i, 4 ).isEmpty() ? t->nthParam( 4, i ) : t->nthParamSeparated( 1, i, 4 );
+ TQString msg = t->nthParamSeparated( 14, i, 4 );
+ TQString sysmsg = t->nthParamSeparated( 16, i, 4 );
// The arrangement of the key->value pairs is different when there is only one message in the packet.
// Separating by key "5" (sender) doesn't work in that case, because the "1" and "4" keys are sent before the "5" key
@@ -98,7 +98,7 @@ void MessageReceiverTask::parseMessage( YMSGTransfer *t )
}
if( utf8.startsWith( "1" ) )
- msg = QString::fromUtf8( msg.latin1() );
+ msg = TQString::fromUtf8( msg.latin1() );
if( t->service() == Yahoo::ServiceSysMessage )
emit systemMessage( sysmsg );
@@ -116,11 +116,11 @@ void MessageReceiverTask::parseNotify( YMSGTransfer *t )
{
kdDebug(YAHOO_RAW_DEBUG) ;
- QString from = t->firstParam( 4 );
- //QString to = t->firstParam( 5 );
- QString type = t->firstParam( 49 );
- QString stat = t->firstParam( 13 );
- QString ind = t->firstParam( 14 );
+ TQString from = t->firstParam( 4 );
+ //TQString to = t->firstParam( 5 );
+ TQString type = t->firstParam( 49 );
+ TQString stat = t->firstParam( 13 );
+ TQString ind = t->firstParam( 14 );
if( type.startsWith( "TYPING" ) )
emit gotTypingNotify( from, stat.toInt() );