diff options
Diffstat (limited to 'kopete/protocols/msn/p2p.cpp')
-rw-r--r-- | kopete/protocols/msn/p2p.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/protocols/msn/p2p.cpp b/kopete/protocols/msn/p2p.cpp index 1aa3ddae..7de59a20 100644 --- a/kopete/protocols/msn/p2p.cpp +++ b/kopete/protocols/msn/p2p.cpp @@ -26,7 +26,7 @@ using P2P::TransferType; // Kde includes #include <kbufferedsocket.h> #include <kdebug.h> -// Qt includes +// TQt includes #include <tqfile.h> // Kopete includes @@ -44,7 +44,7 @@ TQString P2P::Uid::createUid() + TQString::number((unsigned long int)rand()%0xAAFF+0x1111, 16)).upper(); } -TransferContext::TransferContext(const TQString &contact, P2P::Dispatcher *dispatcher, Q_UINT32 sessionId) +TransferContext::TransferContext(const TQString &contact, P2P::Dispatcher *dispatcher, TQ_UINT32 sessionId) : TQObject(dispatcher) , m_sessionId(sessionId) , m_identifier(0) , @@ -206,7 +206,7 @@ void TransferContext::sendDataPreparation() m_dispatcher->callbackChannel()->send(stream); } -void TransferContext::sendMessage(MessageType type, const TQString& content, Q_INT32 flag, Q_INT32 appId) +void TransferContext::sendMessage(MessageType type, const TQString& content, TQ_INT32 flag, TQ_INT32 appId) { Message outbound; if(appId != 0){ @@ -318,8 +318,8 @@ void TransferContext::sendMessage(MessageType type, const TQString& content, Q_I void TransferContext::sendMessage(Message& outbound, const TQByteArray& body) { - Q_INT64 offset = 0L, bytesLeft = outbound.header.totalDataSize; - Q_INT16 chunkLength = 1202; + TQ_INT64 offset = 0L, bytesLeft = outbound.header.totalDataSize; + TQ_INT16 chunkLength = 1202; // Split the outbound message if necessary. while(bytesLeft > 0L) |