summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/messageformatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/msn/messageformatter.cpp')
-rw-r--r--kopete/protocols/msn/messageformatter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/protocols/msn/messageformatter.cpp b/kopete/protocols/msn/messageformatter.cpp
index 7d830ea6..f869d87e 100644
--- a/kopete/protocols/msn/messageformatter.cpp
+++ b/kopete/protocols/msn/messageformatter.cpp
@@ -16,7 +16,7 @@
#include "messageformatter.h"
#include "p2p.h"
-// Qt includes
+// TQt includes
#include <tqdatastream.h>
#include <tqregexp.h>
@@ -26,7 +26,7 @@
using P2P::MessageFormatter;
using P2P::Message;
-MessageFormatter::MessageFormatter(TQObject *parent, const char *name) : TQObject(parent, name)
+MessageFormatter::MessageFormatter(TQObject *tqparent, const char *name) : TQObject(tqparent, name)
{}
MessageFormatter::~MessageFormatter()
@@ -36,7 +36,7 @@ Message MessageFormatter::readMessage(const TQByteArray& stream, bool compact)
{
Message inbound;
- Q_UINT32 index = 0;
+ TQ_UINT32 index = 0;
if(compact == false)
{
// Determine the end position of the message header.
@@ -75,7 +75,7 @@ Message MessageFormatter::readMessage(const TQByteArray& stream, bool compact)
reader.setByteOrder(TQDataStream::LittleEndian);
// Seek to the start position of the message
// transport header.
- reader.device()->at(index);
+ reader.tqdevice()->tqat(index);
// Read the message transport headers from the stream.
reader >> inbound.header.sessionId;
@@ -143,7 +143,7 @@ void MessageFormatter::writeMessage(const Message& message, TQByteArray& stream,
// Set the capacity of the message buffer.
stream.resize(4 + 48 + message.body.size());
// Write the message size to the stream.
- writer << (Q_INT32)(48+message.body.size());
+ writer << (TQ_INT32)(48+message.body.size());
}