summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/p2p.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/msn/p2p.h')
-rw-r--r--kopete/protocols/msn/p2p.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kopete/protocols/msn/p2p.h b/kopete/protocols/msn/p2p.h
index c9b29af1..426b8dc5 100644
--- a/kopete/protocols/msn/p2p.h
+++ b/kopete/protocols/msn/p2p.h
@@ -18,7 +18,7 @@
#define P2P_H
// Qt includes
-#include <qobject.h>
+#include <tqobject.h>
#include "messageformatter.h"
#include "kopete_export.h"
@@ -41,7 +41,7 @@ namespace System{
public:
~Guid(){}
static Guid newGuid();
- QString toString();
+ TQString toString();
private:
Guid(){}
@@ -78,19 +78,19 @@ namespace P2P{
struct Message
{
public:
- QString mimeVersion;
- QString contentType;
- QString destination;
- QString source;
+ TQString mimeVersion;
+ TQString contentType;
+ TQString destination;
+ TQString source;
TransportHeader header;
- QByteArray body;
+ TQByteArray body;
Q_INT32 applicationIdentifier;
bool attachApplicationIdentifier;
};
class KOPETE_EXPORT Uid
{
- public: static QString createUid();
+ public: static TQString createUid();
};
class KOPETE_EXPORT TransferContext : public QObject
@@ -103,20 +103,20 @@ namespace P2P{
void error();
virtual void processMessage(const P2P::Message& message) = 0;
void sendDataPreparation();
- void sendMessage(MessageType type, const QString& content=QString::null, Q_INT32 flag=0, Q_INT32 appId=0);
+ void sendMessage(MessageType type, const TQString& content=TQString::null, Q_INT32 flag=0, Q_INT32 appId=0);
void setType(TransferType type);
public:
Q_UINT32 m_sessionId;
Q_UINT32 m_identifier;
- QFile *m_file;
+ TQFile *m_file;
Q_UINT32 m_transactionId;
Q_UINT32 m_ackSessionIdentifier;
Q_UINT32 m_ackUniqueIdentifier;
Kopete::Transfer *m_transfer;
- QString m_branch;
- QString m_callId;
- QString m_object;
+ TQString m_branch;
+ TQString m_callId;
+ TQString m_object;
public slots:
@@ -124,9 +124,9 @@ namespace P2P{
void readyWrite();
protected:
- TransferContext(const QString& contact, P2P::Dispatcher *dispatcher,Q_UINT32 sessionId);
- void sendData(const QByteArray& bytes);
- void sendMessage(P2P::Message& outbound, const QByteArray& body);
+ TransferContext(const TQString& contact, P2P::Dispatcher *dispatcher,Q_UINT32 sessionId);
+ void sendData(const TQByteArray& bytes);
+ void sendMessage(P2P::Message& outbound, const TQByteArray& body);
virtual void readyToSend();
Q_UINT32 m_baseIdentifier;
@@ -136,8 +136,8 @@ namespace P2P{
Q_INT64 m_offset;
Q_INT64 m_totalDataSize;
P2P::MessageFormatter m_messageFormatter;
- QString m_recipient;
- QString m_sender;
+ TQString m_recipient;
+ TQString m_sender;
KNetwork::KBufferedSocket *m_socket;
CommunicationState m_state;
TransferType m_type;