From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/protocols/yahoo/libkyahoo/picturenotifiertask.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kopete/protocols/yahoo/libkyahoo/picturenotifiertask.cpp') diff --git a/kopete/protocols/yahoo/libkyahoo/picturenotifiertask.cpp b/kopete/protocols/yahoo/libkyahoo/picturenotifiertask.cpp index d924b3a6..cf7a6e34 100644 --- a/kopete/protocols/yahoo/libkyahoo/picturenotifiertask.cpp +++ b/kopete/protocols/yahoo/libkyahoo/picturenotifiertask.cpp @@ -25,7 +25,7 @@ #include -PictureNotifierTask::PictureNotifierTask(Task* parent) : Task(parent) +PictureNotifierTask::PictureNotifierTask(Task* tqparent) : Task(tqparent) { kdDebug(YAHOO_RAW_DEBUG) ; } @@ -47,8 +47,8 @@ bool PictureNotifierTask::take( Transfer* transfer ) switch( t->service() ) { - case Yahoo::ServicePictureStatus: - parsePictureStatus( t ); + case Yahoo::ServicePicturetqStatus: + parsePicturetqStatus( t ); parsePicture( t ); break; case Yahoo::ServicePictureChecksum: @@ -80,17 +80,17 @@ bool PictureNotifierTask::forMe( const Transfer* transfer ) const t->service() == Yahoo::ServicePicture || t->service() == Yahoo::ServicePictureUpdate || t->service() == Yahoo::ServicePictureUpload || - t->service() == Yahoo::ServicePictureStatus ) + t->service() == Yahoo::ServicePicturetqStatus ) return true; else return false; } -void PictureNotifierTask::parsePictureStatus( YMSGTransfer *t ) +void PictureNotifierTask::parsePicturetqStatus( YMSGTransfer *t ) { kdDebug(YAHOO_RAW_DEBUG) ; - QString nick; /* key = 4 */ + TQString nick; /* key = 4 */ int state; /* key = 213 */ nick = t->firstParam( 4 ); @@ -103,7 +103,7 @@ void PictureNotifierTask::parsePictureChecksum( YMSGTransfer *t ) { kdDebug(YAHOO_RAW_DEBUG) ; - QString nick; /* key = 4 */ + TQString nick; /* key = 4 */ int checksum; /* key = 192 */ nick = t->firstParam( 4 ); @@ -117,7 +117,7 @@ void PictureNotifierTask::parsePicture( YMSGTransfer *t ) { kdDebug(YAHOO_RAW_DEBUG) ; - QString nick; /* key = 4 */ + TQString nick; /* key = 4 */ int type; /* key = 13: 1 = request, 2 = notification, 0 = Just changed */ TQString url; /* key = 20 */ int checksum; /* key = 192 */ -- cgit v1.2.1