diff options
Diffstat (limited to 'kopete/protocols/oscar/liboscar/userinfotask.cpp')
-rw-r--r-- | kopete/protocols/oscar/liboscar/userinfotask.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/oscar/liboscar/userinfotask.cpp b/kopete/protocols/oscar/liboscar/userinfotask.cpp index 66197316..4cda87a0 100644 --- a/kopete/protocols/oscar/liboscar/userinfotask.cpp +++ b/kopete/protocols/oscar/liboscar/userinfotask.cpp @@ -26,8 +26,8 @@ Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org> -UserInfoTask::UserInfoTask( Task* parent ) -: Task( parent ) +UserInfoTask::UserInfoTask( Task* tqparent ) +: Task( tqparent ) { } @@ -44,7 +44,7 @@ bool UserInfoTask::forMe( const Transfer * transfer ) const if ( st->snacService() == 0x0002 && st->snacSubtype() == 0x0006 ) { - if ( m_contactSequenceMap.find( st->snacRequest() ) == m_contactSequenceMap.end() ) + if ( m_contactSequenceMap.tqfind( st->snacRequest() ) == m_contactSequenceMap.end() ) return false; else { @@ -61,7 +61,7 @@ bool UserInfoTask::take( Transfer * transfer ) if ( forMe( transfer ) ) { setTransfer( transfer ); - Q_UINT16 seq = 0; + TQ_UINT16 seq = 0; SnacTransfer* st = dynamic_cast<SnacTransfer*>( transfer ); if ( st ) seq = st->snacRequest(); @@ -135,7 +135,7 @@ void UserInfoTask::onGo() void UserInfoTask::requestInfoFor( const TQString& contact, unsigned int types ) { - Q_UINT16 seq = client()->snacSequence(); + TQ_UINT16 seq = client()->snacSequence(); kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "setting sequence " << seq << " for contact " << contact << endl; m_contactSequenceMap[seq] = contact; m_typesSequenceMap[seq] = types; @@ -143,7 +143,7 @@ void UserInfoTask::requestInfoFor( const TQString& contact, unsigned int types ) onGo(); } -UserDetails UserInfoTask::getInfoFor( Q_UINT16 sequence ) const +UserDetails UserInfoTask::getInfoFor( TQ_UINT16 sequence ) const { return m_sequenceInfoMap[sequence]; } |