summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/msn/dispatcher.h')
-rw-r--r--kopete/protocols/msn/dispatcher.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/kopete/protocols/msn/dispatcher.h b/kopete/protocols/msn/dispatcher.h
index 72a9cc12..690a7992 100644
--- a/kopete/protocols/msn/dispatcher.h
+++ b/kopete/protocols/msn/dispatcher.h
@@ -38,16 +38,17 @@ namespace P2P{
class IncomingTransfer;
class OutgoingTransfer;
- class KOPETE_EXPORT Dispatcher : public QObject
+ class KOPETE_EXPORT Dispatcher : public TQObject
{ Q_OBJECT
+ TQ_OBJECT
public:
- Dispatcher(TQObject *parent, const TQString& contact, const TQStringList &ip);
+ Dispatcher(TQObject *tqparent, const TQString& contact, const TQStringList &ip);
~Dispatcher();
void detach(TransferContext* transfer);
TQString localContact();
void requestDisplayIcon(const TQString& from, const TQString& msnObject);
- void sendFile(const TQString& path, Q_INT64 fileSize, const TQString& to);
+ void sendFile(const TQString& path, TQ_INT64 fileSize, const TQString& to);
void sendImage(const TQString& fileName, const TQString& to);
TQString m_pictureUrl;
TQMap<TQString, TQString> objectList;
@@ -62,9 +63,9 @@ namespace P2P{
void messageAcknowledged(unsigned int correlationId, bool fullReceive);
signals:
- void sendCommand(const TQString &cmd, const TQString &args = TQString::null, bool addId = true, const TQByteArray &body = TQByteArray(), bool binary=false);
+ void sendCommand(const TQString &cmd, const TQString &args = TQString(), bool addId = true, const TQByteArray &body = TQByteArray(), bool binary=false);
void displayIconReceived(KTempFile* file, const TQString& msnObject);
- void incomingTransfer(const TQString& from, const TQString& fileName, Q_INT64 fileSize);
+ void incomingTransfer(const TQString& from, const TQString& fileName, TQ_INT64 fileSize);
private:
class CallbackChannel
@@ -73,7 +74,7 @@ namespace P2P{
CallbackChannel(MSNSwitchBoardSocket *switchboard);
~CallbackChannel();
- Q_UINT32 send(const TQByteArray& stream);
+ TQ_UINT32 send(const TQByteArray& stream);
private:
MSNSwitchBoardSocket *m_switchboard;
@@ -92,8 +93,8 @@ namespace P2P{
Kopete::Contact* getContactByAccountId(const TQString& accountId);
P2P::MessageFormatter m_messageFormatter;
- TQMap<Q_UINT32, P2P::TransferContext*> m_sessions;
- TQMap<Q_UINT32, P2P::Message> m_messageBuffer;
+ TQMap<TQ_UINT32, P2P::TransferContext*> m_sessions;
+ TQMap<TQ_UINT32, P2P::Message> m_messageBuffer;
TQString m_contact;
CallbackChannel *m_callbackChannel;
TQStringList m_ip;