summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/coreprotocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/coreprotocol.h')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/coreprotocol.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/coreprotocol.h b/kopete/protocols/groupwise/libgroupwise/coreprotocol.h
index 4cd30b88..e9a14122 100644
--- a/kopete/protocols/groupwise/libgroupwise/coreprotocol.h
+++ b/kopete/protocols/groupwise/libgroupwise/coreprotocol.h
@@ -21,9 +21,9 @@
#ifndef GW_CORE_PROTOCOL_H
#define GW_CORE_PROTOCOL_H
-#include <qcstring.h>
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqcstring.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
#include "gwfield.h"
@@ -124,7 +124,7 @@ public:
/**
* Debug output
*/
- static void debug(const QString &str);
+ static void debug(const TQString &str);
/**
* Reset the protocol, clear buffers
@@ -135,7 +135,7 @@ public:
* Accept data from the network, and buffer it into a useful message
* @param incomingBytes Raw data in wire format.
*/
- void addIncomingData( const QByteArray& incomingBytes );
+ void addIncomingData( const TQByteArray& incomingBytes );
/**
* @return the incoming transfer or 0 if none is available.
@@ -157,7 +157,7 @@ signals:
/**
* Emitted as the core protocol converts fields to wire ready data
*/
- void outgoingData( const QByteArray& );
+ void outgoingData( const TQByteArray& );
/**
* Emitted when there is incoming data, parsed into a Transfer
*/
@@ -166,7 +166,7 @@ protected slots:
/**
* Just a debug method to test emitting to the socket, atm - should go to the ClientStream
*/
- void slotOutgoingData( const QCString & );
+ void slotOutgoingData( const TQCString & );
protected:
/**
@@ -177,7 +177,7 @@ protected:
* Convert incoming wire data into a Transfer object and queue it
* @return number of bytes from the input that were parsed into a Transfer
*/
- int wireToTransfer( const QByteArray& wire );
+ int wireToTransfer( const TQByteArray& wire );
/**
* Convert fields to a wire representation. Emits outgoingData as each field is written.
* Calls itself recursively to process nested fields, hence
@@ -187,10 +187,10 @@ protected:
/**
* encodes a method number (usually supplied as a #defined symbol) to a char
*/
- QChar encode_method( Q_UINT8 method );
+ TQChar encode_method( Q_UINT8 method );
private:
- QByteArray m_in; // buffer containing unprocessed bytes we received
- QDataStream* m_din; // contains the packet currently being parsed
+ TQByteArray m_in; // buffer containing unprocessed bytes we received
+ TQDataStream* m_din; // contains the packet currently being parsed
int m_error;
Transfer* m_inTransfer; // the transfer that is being received
int m_state; // represents the protocol's overall state