diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/oscar/liboscar/userinfotask.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
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
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 <[email protected]> -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]; } |