diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:22:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:22:10 -0600 |
commit | 3e4d718796cddcc798d9f737037ef4bad540a0af (patch) | |
tree | 69d0aaad3f8f46c1dbb4939b7fcda8e7de12c481 /kopete/protocols/oscar | |
parent | 50d6569cdef5f0aac099f5d01864bd0e14f82ae3 (diff) | |
download | tdenetwork-3e4d718796cddcc798d9f737037ef4bad540a0af.tar.gz tdenetwork-3e4d718796cddcc798d9f737037ef4bad540a0af.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kopete/protocols/oscar')
-rw-r--r-- | kopete/protocols/oscar/aim/aimcontact.cpp | 2 | ||||
-rw-r--r-- | kopete/protocols/oscar/icq/icqcontact.cpp | 4 | ||||
-rw-r--r-- | kopete/protocols/oscar/liboscar/chatservicetask.cpp | 4 | ||||
-rw-r--r-- | kopete/protocols/oscar/liboscar/connection.cpp | 4 | ||||
-rw-r--r-- | kopete/protocols/oscar/liboscar/sendmessagetask.cpp | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/oscar/aim/aimcontact.cpp b/kopete/protocols/oscar/aim/aimcontact.cpp index 5791c58d..a92f620e 100644 --- a/kopete/protocols/oscar/aim/aimcontact.cpp +++ b/kopete/protocols/oscar/aim/aimcontact.cpp @@ -238,7 +238,7 @@ void AIMContact::userInfoUpdated( const TQString& contact, const UserDetails& de if ( !mAccount->engine()->hasIconConnection() ) mAccount->engine()->requestServerRedirect( 0x0010 ); - int time = ( KApplication::random() % 10 ) * 1000; + int time = ( TDEApplication::random() % 10 ) * 1000; kdDebug(OSCAR_ICQ_DEBUG) << k_funcinfo << "updating buddy icon in " << time/1000 << " seconds" << endl; TQTimer::singleShot( time, this, TQT_SLOT( requestBuddyIcon() ) ); } diff --git a/kopete/protocols/oscar/icq/icqcontact.cpp b/kopete/protocols/oscar/icq/icqcontact.cpp index e4943c37..c54e4ffb 100644 --- a/kopete/protocols/oscar/icq/icqcontact.cpp +++ b/kopete/protocols/oscar/icq/icqcontact.cpp @@ -190,7 +190,7 @@ void ICQContact::userInfoUpdated( const TQString& contact, const UserDetails& de } else { - int time = ( KApplication::random() % 10 ) * 1000; + int time = ( TDEApplication::random() % 10 ) * 1000; kdDebug(OSCAR_ICQ_DEBUG) << k_funcinfo << "updating buddy icon in " << time/1000 << " seconds" << endl; TQTimer::singleShot( time, this, TQT_SLOT( requestBuddyIcon() ) ); @@ -235,7 +235,7 @@ void ICQContact::loggedIn() !m_requestingNickname && m_ssiItem.alias().isEmpty() ) { m_requestingNickname = true; - int time = ( KApplication::random() % 20 ) * 1000; + int time = ( TDEApplication::random() % 20 ) * 1000; kdDebug(OSCAR_ICQ_DEBUG) << k_funcinfo << "updating nickname in " << time/1000 << " seconds" << endl; TQTimer::singleShot( time, this, TQT_SLOT( requestShortInfo() ) ); } diff --git a/kopete/protocols/oscar/liboscar/chatservicetask.cpp b/kopete/protocols/oscar/liboscar/chatservicetask.cpp index 3e649b97..ec45b36c 100644 --- a/kopete/protocols/oscar/liboscar/chatservicetask.cpp +++ b/kopete/protocols/oscar/liboscar/chatservicetask.cpp @@ -63,8 +63,8 @@ void ChatServiceTask::onGo() kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "sending '" << m_message.textArray() << "' to the " << m_room << " room" << endl; Buffer* b = new Buffer(); - b->addDWord( KApplication::random() ); //use kapp since it's convenient - b->addDWord( KApplication::random() ); + b->addDWord( TDEApplication::random() ); //use kapp since it's convenient + b->addDWord( TDEApplication::random() ); b->addWord( 0x0003 ); //this be message channel 3 mateys! arrr!! b->addDWord( 0x00010000 ); //TLV 1 - this means it's a public message b->addDWord( 0x00060000 ); //TLV 6 - enables the server sending you your message back diff --git a/kopete/protocols/oscar/liboscar/connection.cpp b/kopete/protocols/oscar/liboscar/connection.cpp index b94a9082..80bfa8d6 100644 --- a/kopete/protocols/oscar/liboscar/connection.cpp +++ b/kopete/protocols/oscar/liboscar/connection.cpp @@ -207,8 +207,8 @@ void Connection::forcedSend( Transfer* request ) const void Connection::initSequence() { - d->snacSequence = ( KApplication::random() & 0xFFFF ); - d->flapSequence = ( KApplication::random() & 0xFFFF ); + d->snacSequence = ( TDEApplication::random() & 0xFFFF ); + d->flapSequence = ( TDEApplication::random() & 0xFFFF ); } void Connection::distribute( Transfer * transfer ) const diff --git a/kopete/protocols/oscar/liboscar/sendmessagetask.cpp b/kopete/protocols/oscar/liboscar/sendmessagetask.cpp index df1a8193..3856a994 100644 --- a/kopete/protocols/oscar/liboscar/sendmessagetask.cpp +++ b/kopete/protocols/oscar/liboscar/sendmessagetask.cpp @@ -65,8 +65,8 @@ void SendMessageTask::onGo() if ( snacSubfamily == 0x0006 ) { - DWORD cookie1 = KApplication::random(); - DWORD cookie2 = KApplication::random(); + DWORD cookie1 = TDEApplication::random(); + DWORD cookie2 = TDEApplication::random(); b->addDWord( cookie1 ); b->addDWord( cookie2 ); |