diff options
author | Timothy Pearson <[email protected]> | 2013-01-20 00:22:10 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-20 00:22:10 -0600 |
commit | 3e4d718796cddcc798d9f737037ef4bad540a0af (patch) | |
tree | 69d0aaad3f8f46c1dbb4939b7fcda8e7de12c481 /kopete/protocols/oscar/liboscar | |
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/liboscar')
-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 |
3 files changed, 6 insertions, 6 deletions
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 ); |