summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/aimlogintask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/liboscar/aimlogintask.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/aimlogintask.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/oscar/liboscar/aimlogintask.cpp b/kopete/protocols/oscar/liboscar/aimlogintask.cpp
index da066333..05a63198 100644
--- a/kopete/protocols/oscar/liboscar/aimlogintask.cpp
+++ b/kopete/protocols/oscar/liboscar/aimlogintask.cpp
@@ -29,8 +29,8 @@
using namespace Oscar;
-AimLoginTask::AimLoginTask( Task* parent )
- : Task ( parent )
+AimLoginTask::AimLoginTask( Task* tqparent )
+ : Task ( tqparent )
{
}
@@ -158,7 +158,7 @@ void AimLoginTask::sendLoginRequest()
outbuf->addTLV(0x0001, client()->userId().length(), client()->userId().latin1());
- TQByteArray digest( 17 ); //apparently MD5 digests are 16 bytes long
+ TQByteArray digest( 17 ); //aptqparently MD5 digests are 16 bytes long
encodePassword( digest );
digest[16] = '\0'; //do this so that addTLV sees a NULL-terminator
@@ -189,7 +189,7 @@ void AimLoginTask::handleLoginResponse()
if ( !st )
{
- setError( -1 , TQString::null );
+ setError( -1 , TQString() );
return;
}
@@ -211,7 +211,7 @@ void AimLoginTask::handleLoginResponse()
errorNum << endl;
Oscar::SNAC s = { 0, 0, 0, 0 };
client()->fatalTaskError( s, errorNum );
- setError( errorNum, TQString::null );
+ setError( errorNum, TQString() );
return; //if there's an error, we'll need to disconnect anyways
}
@@ -220,7 +220,7 @@ void AimLoginTask::handleLoginResponse()
{
TQString ip = TQString( server.data );
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "found TLV(5) [SERVER] " << ip << endl;
- int index = ip.find( ':' );
+ int index = ip.tqfind( ':' );
m_bosHost = ip.left( index );
ip.remove( 0 , index+1 ); //get rid of the colon and everything before it
m_bosPort = ip.left(4); //we only need 4 bytes
@@ -233,7 +233,7 @@ void AimLoginTask::handleLoginResponse()
{
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "found TLV(6) [COOKIE]" << endl;
m_cookie.duplicate( cookie.data );
- setSuccess( 0, TQString::null );
+ setSuccess( 0, TQString() );
}
tlvList.clear();
}