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/oscar/liboscar/typingnotifytask.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kopete/protocols/oscar/liboscar/typingnotifytask.cpp') diff --git a/kopete/protocols/oscar/liboscar/typingnotifytask.cpp b/kopete/protocols/oscar/liboscar/typingnotifytask.cpp index f3c34f96..536f2f39 100644 --- a/kopete/protocols/oscar/liboscar/typingnotifytask.cpp +++ b/kopete/protocols/oscar/liboscar/typingnotifytask.cpp @@ -25,8 +25,8 @@ -TypingNotifyTask::TypingNotifyTask( Task* parent ) -: Task( parent ) +TypingNotifyTask::TypingNotifyTask( Task* tqparent ) +: Task( tqparent ) { m_notificationType = 0x0000; } @@ -79,7 +79,7 @@ void TypingNotifyTask::onGo() Transfer* t = createTransfer( f, s, b ); send( t ); - setSuccess( 0, TQString::null ); + setSuccess( 0, TQString() ); } void TypingNotifyTask::handleNotification() @@ -87,12 +87,12 @@ void TypingNotifyTask::handleNotification() /* NB ICQ5 (windows) seems to only send 0x0002 and 0x0001, so I'm interpreting 0x001 as typing finished here - Will */ Buffer* b = transfer()->buffer(); - //I don't care about the QWORD or the channel + //I don't care about the TQWORD or the channel b->skipBytes( 10 ); TQString contact( b->getBUIN() ); - Q_UINT32 word = b->getWord(); + TQ_UINT32 word = b->getWord(); switch ( word ) { case 0x0000: @@ -120,5 +120,5 @@ void TypingNotifyTask::setParams( const TQString& contact, int notifyType ) #include "typingnotifytask.moc" -// kate: indent-mode csands; space-indent off; replace-tabs off; +// kate: indent-mode csands; space-indent off; tqreplace-tabs off; -- cgit v1.2.1