summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/snacprotocol.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/oscar/liboscar/snacprotocol.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/oscar/liboscar/snacprotocol.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/snacprotocol.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/oscar/liboscar/snacprotocol.cpp b/kopete/protocols/oscar/liboscar/snacprotocol.cpp
index 3bf16bbc..3ec5c348 100644
--- a/kopete/protocols/oscar/liboscar/snacprotocol.cpp
+++ b/kopete/protocols/oscar/liboscar/snacprotocol.cpp
@@ -19,9 +19,9 @@
#include "snacprotocol.h"
-#include <qcstring.h>
-#include <qdatastream.h>
-#include <qobject.h>
+#include <tqcstring.h>
+#include <tqdatastream.h>
+#include <tqobject.h>
#include <kdebug.h>
#include <stdlib.h>
#include "transfer.h"
@@ -29,7 +29,7 @@
using namespace Oscar;
-SnacProtocol::SnacProtocol(QObject *parent, const char *name)
+SnacProtocol::SnacProtocol(TQObject *parent, const char *name)
: InputProtocolBase(parent, name)
{
}
@@ -38,7 +38,7 @@ SnacProtocol::~SnacProtocol()
{
}
-Transfer* SnacProtocol::parse( const QByteArray & packet, uint& bytes )
+Transfer* SnacProtocol::parse( const TQByteArray & packet, uint& bytes )
{
BYTE b;
WORD w;
@@ -47,7 +47,7 @@ Transfer* SnacProtocol::parse( const QByteArray & packet, uint& bytes )
FLAP f;
SNAC s;
SnacTransfer *st;
- QDataStream* m_din = new QDataStream( packet, IO_ReadOnly );
+ TQDataStream* m_din = new TQDataStream( packet, IO_ReadOnly );
//flap parsing
*m_din >> b; //this should be the start byte