summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/msnfiletransfersocket.h
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/msn/msnfiletransfersocket.h
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/msn/msnfiletransfersocket.h')
-rw-r--r--kopete/protocols/msn/msnfiletransfersocket.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/protocols/msn/msnfiletransfersocket.h b/kopete/protocols/msn/msnfiletransfersocket.h
index 82ae0662..bf4a07a7 100644
--- a/kopete/protocols/msn/msnfiletransfersocket.h
+++ b/kopete/protocols/msn/msnfiletransfersocket.h
@@ -18,7 +18,7 @@
#ifndef MSNFILETRANSFERSOCKET_H
#define MSNFILETRANSFERSOCKET_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include "msnsocket.h"
#include "msninvitation.h"
@@ -42,24 +42,24 @@ class MSNFileTransferSocket : public MSNSocket , public MSNInvitation
Q_OBJECT
public:
- MSNFileTransferSocket(const QString &myID,Kopete::Contact* c, bool incoming, QObject* parent = 0L );
+ MSNFileTransferSocket(const TQString &myID,Kopete::Contact* c, bool incoming, TQObject* parent = 0L );
~MSNFileTransferSocket();
- static QString applicationID() { return "5D3E02AB-6190-11d3-BBBB-00C04F795683"; }
- QString invitationHead();
+ static TQString applicationID() { return "5D3E02AB-6190-11d3-BBBB-00C04F795683"; }
+ TQString invitationHead();
void setKopeteTransfer( Kopete::Transfer *kt );
Kopete::Transfer* kopeteTransfer() { return m_kopeteTransfer; }
- void setFile( const QString &fn, long unsigned int fileSize = 0L );
- void setAuthCookie( const QString &c ) { m_authcook = c; }
- QString fileName() { return m_fileName;}
+ void setFile( const TQString &fn, long unsigned int fileSize = 0L );
+ void setAuthCookie( const TQString &c ) { m_authcook = c; }
+ TQString fileName() { return m_fileName;}
long unsigned int size() { return m_size;}
void listen( int port );
- virtual void parseInvitation(const QString& invitation);
+ virtual void parseInvitation(const TQString& invitation);
- virtual QObject* object() { return this; }
+ virtual TQObject* object() { return this; }
public slots:
void abort();
@@ -78,35 +78,35 @@ protected:
/**
* Handle an MSN command response line.
*/
- virtual void parseCommand(const QString & cmd, uint id, const QString & data);
- virtual void bytesReceived(const QByteArray & data);
+ virtual void parseCommand(const TQString & cmd, uint id, const TQString & data);
+ virtual void bytesReceived(const TQByteArray & data);
protected slots:
virtual void slotReadyWrite();
private slots:
void slotSocketClosed();
- void slotReadBlock(const QByteArray &);
+ void slotReadBlock(const TQByteArray &);
void slotAcceptConnection();
void slotTimer();
void slotSendFile();
void slotFileTransferRefused( const Kopete::FileTransferInfo &info );
- void slotFileTransferAccepted( Kopete::Transfer *trans, const QString& fileName );
+ void slotFileTransferAccepted( Kopete::Transfer *trans, const TQString& fileName );
/* the Kopete::Transfer has been deleted */
void slotKopeteTransferDestroyed();
private:
- QString m_handle;
+ TQString m_handle;
Kopete::Contact *m_contact;
long unsigned int m_size;
long unsigned int m_downsize;
- QString m_authcook;
- QString m_fileName;
+ TQString m_authcook;
+ TQString m_fileName;
Kopete::Transfer* m_kopeteTransfer;
- QFile *m_file ;
+ TQFile *m_file ;
KNetwork::KServerSocket *m_server;
bool ready;