summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/libkyahoo/statusnotifiertask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo/statusnotifiertask.cpp')
-rw-r--r--kopete/protocols/yahoo/libkyahoo/statusnotifiertask.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/statusnotifiertask.cpp b/kopete/protocols/yahoo/libkyahoo/statusnotifiertask.cpp
index c7fcaeac..35796666 100644
--- a/kopete/protocols/yahoo/libkyahoo/statusnotifiertask.cpp
+++ b/kopete/protocols/yahoo/libkyahoo/statusnotifiertask.cpp
@@ -19,8 +19,8 @@
#include "ymsgtransfer.h"
#include "yahootypes.h"
#include "client.h"
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include <kdebug.h>
#include <klocale.h>
@@ -84,14 +84,14 @@ void StatusNotifierTask::parseStatus( YMSGTransfer* t )
if( t->status() == Yahoo::StatusDisconnected &&
t->service() == Yahoo::ServiceLogoff )
{
- emit loginResponse( Yahoo::LoginDupl, QString() );
+ emit loginResponse( Yahoo::LoginDupl, TQString() );
}
QString myNick; /* key = 1 */
- QString customError; /* key = 16 */
- QString nick; /* key = 7 */
+ TQString customError; /* key = 16 */
+ TQString nick; /* key = 7 */
int state; /* key = 10 */
- QString message; /* key = 19 */
+ TQString message; /* key = 19 */
int flags; /* key = 13 */
int away; /* key = 47 */
int idle; /* key = 137 */
@@ -114,12 +114,12 @@ void StatusNotifierTask::parseStatus( YMSGTransfer* t )
utf = t->nthParamSeparated( 97, i, 7 ).toInt() == 1;
pictureChecksum = t->nthParamSeparated( 192, i, 7 ).toInt();
if( utf )
- message = QString::fromUtf8( t->nthParamSeparated( 19, i, 7 ) );
+ message = TQString::fromUtf8( t->nthParamSeparated( 19, i, 7 ) );
else
message = t->nthParamSeparated( 19, i, 7 );
if( t->service() == Yahoo::ServiceLogoff || ( state != 0 && flags == 0 ) )
- emit statusChanged( nick, Yahoo::StatusOffline, QString(), 0, 0, 0 );
+ emit statusChanged( nick, Yahoo::StatusOffline, TQString(), 0, 0, 0 );
else
emit statusChanged( nick, state, message, away, idle, pictureChecksum );
}
@@ -129,15 +129,15 @@ void StatusNotifierTask::parseAuthorization( YMSGTransfer* t )
{
kdDebug(YAHOO_RAW_DEBUG) ;
- QString nick; /* key = 4 */
- QString msg; /* key = 14 */
+ TQString nick; /* key = 4 */
+ TQString msg; /* key = 14 */
int state; /* key = 13 */
bool utf; /* key = 97 */
utf = t->firstParam( 97 ).toInt() == 1;
nick = t->firstParam( 4 );
if( utf )
- msg = QString::fromUtf8( t->firstParam( 14 ) );
+ msg = TQString::fromUtf8( t->firstParam( 14 ) );
else
msg = t->firstParam( 14 );
state = t->firstParam( 13 ).toInt();
@@ -152,11 +152,11 @@ void StatusNotifierTask::parseAuthorization( YMSGTransfer* t )
}
else // This is a request
{
- QString fname = t->firstParam( 216 );
- QString lname = t->firstParam( 254 );
- QString name;
+ TQString fname = t->firstParam( 216 );
+ TQString lname = t->firstParam( 254 );
+ TQString name;
if( !fname.isEmpty() || !lname.isEmpty() )
- name = QString("%1 %2").arg(fname).arg(lname);
+ name = TQString("%1 %2").arg(fname).arg(lname);
kdDebug(YAHOO_RAW_DEBUG) << "Emitting gotAuthorizationRequest( " << nick<< ", " << msg << ", " << name << " )" << endl;
emit gotAuthorizationRequest( nick, msg, name );
@@ -167,7 +167,7 @@ void StatusNotifierTask::parseStealthStatus( YMSGTransfer* t )
{
kdDebug(YAHOO_RAW_DEBUG) ;
- QString nick; /* key = 7 */
+ TQString nick; /* key = 7 */
int state; /* key = 31 */
nick = t->firstParam( 7 );