diff options
Diffstat (limited to 'kopete/protocols/irc/libkirc/kirctransfer.h')
-rw-r--r-- | kopete/protocols/irc/libkirc/kirctransfer.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/kopete/protocols/irc/libkirc/kirctransfer.h b/kopete/protocols/irc/libkirc/kirctransfer.h index 3453f5cb..4053d1fd 100644 --- a/kopete/protocols/irc/libkirc/kirctransfer.h +++ b/kopete/protocols/irc/libkirc/kirctransfer.h @@ -18,11 +18,11 @@ #ifndef KIRCTRANSFER_H #define KIRCTRANSFER_H -#include <qdatastream.h> -#include <qfile.h> -#include <qhostaddress.h> -#include <qobject.h> -#include <qtextstream.h> +#include <tqdatastream.h> +#include <tqfile.h> +#include <tqhostaddress.h> +#include <tqobject.h> +#include <tqtextstream.h> class KExtendedSocket; @@ -56,25 +56,25 @@ public: Closed }; public: - Transfer( KIRC::Engine *engine, QString nick,// QString nick_peer_adress + Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress Type type = Unknown, - QObject *parent = 0L, const char *name = 0L ); + TQObject *parent = 0L, const char *name = 0L ); - Transfer( KIRC::Engine *engine, QString nick,// QString nick_peer_adress, - QHostAddress peer_address, Q_UINT16 peer_port, + Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress, + TQHostAddress peer_address, Q_UINT16 peer_port, Transfer::Type type, - QObject *parent = 0L, const char *name = 0L ); + TQObject *parent = 0L, const char *name = 0L ); - Transfer( KIRC::Engine *engine, QString nick,// QString nick_peer_adress, + Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress, Transfer::Type type, - QString fileName, Q_UINT32 fileSize, - QObject *parent = 0L, const char *name = 0L ); + TQString fileName, Q_UINT32 fileSize, + TQObject *parent = 0L, const char *name = 0L ); - Transfer( KIRC::Engine *engine, QString nick,// QString nick_peer_adress, - QHostAddress peer_address, Q_UINT16 peer_port, + Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress, + TQHostAddress peer_address, Q_UINT16 peer_port, Transfer::Type type, - QString fileName, Q_UINT32 fileSize, - QObject *parent = 0L, const char *name = 0L ); + TQString fileName, Q_UINT32 fileSize, + TQObject *parent = 0L, const char *name = 0L ); /* For a file transfer properties are: @@ -88,15 +88,15 @@ public: Q_UINT32 fileSize for detemining the file propeties. *//* - Transfer( KIRC *engine, QString nick,// QString nick_peer_adress, - Transfer::Type type, QVariant properties, - QObject *parent = 0L, const char *name = 0L ); + Transfer( KIRC *engine, TQString nick,// TQString nick_peer_adress, + Transfer::Type type, TQVariant properties, + TQObject *parent = 0L, const char *name = 0L ); */ ~Transfer(); KIRC::Engine *engine() const { return m_engine; } - QString nick() const + TQString nick() const { return m_nick; } Type type() const { return m_type; } @@ -108,11 +108,11 @@ public: */ bool initiate(); - QString fileName() const + TQString fileName() const { return m_fileName; } /* Change the file name. */ - void setFileName(QString fileName) + void setFileName(TQString fileName) { m_fileName = fileName; } unsigned long fileSize() const { return m_fileSize; } @@ -120,15 +120,15 @@ public slots: bool setSocket( KExtendedSocket *socket ); void closeSocket(); - void setCodec( QTextCodec *codec ); - void writeLine( const QString &msg ); + void setCodec( TQTextCodec *codec ); + void writeLine( const TQString &msg ); void flush(); - void userAbort(QString); + void userAbort(TQString); signals: - void readLine( const QString &msg ); + void readLine( const TQString &msg ); void fileSizeCurrent( unsigned int ); void fileSizeAcknowledge( unsigned int ); @@ -136,7 +136,7 @@ signals: // void received(Q_UINT32); // void sent(Q_UINT32); - void abort(QString); + void abort(TQString); /* Emited when the transfer is complete. * Usually it means that the file transfer has successfully finished. @@ -166,7 +166,7 @@ protected: // Text member data QTextStream m_socket_textStream; -// QTextCodec * m_socket_codec; +// TQTextCodec * m_socket_codec; // File member data QFile m_file; |