diff options
Diffstat (limited to 'kopete/protocols/irc/libkirc/kirctransferhandler.cpp')
-rw-r--r-- | kopete/protocols/irc/libkirc/kirctransferhandler.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/irc/libkirc/kirctransferhandler.cpp b/kopete/protocols/irc/libkirc/kirctransferhandler.cpp index 3fa73dff..c6c2185e 100644 --- a/kopete/protocols/irc/libkirc/kirctransferhandler.cpp +++ b/kopete/protocols/irc/libkirc/kirctransferhandler.cpp @@ -19,9 +19,9 @@ #include <klocale.h> #include <kextsock.h> -#include <qfile.h> -#include <qregexp.h> -#include <qtextcodec.h> +#include <tqfile.h> +#include <tqregexp.h> +#include <tqtextcodec.h> #include "kirctransferserver.h" @@ -54,9 +54,9 @@ TransferServer *TransferHandler::server( Q_UINT16 port, int backlog ) return m_server; } -TransferServer *TransferHandler::createServer(Engine *engine, QString m_userName, +TransferServer *TransferHandler::createServer(Engine *engine, TQString m_userName, Transfer::Type type, - QString fileName, Q_UINT32 fileSize) + TQString fileName, Q_UINT32 fileSize) { TransferServer *server = new TransferServer(engine, m_userName, type, fileName, fileSize, this); transferServerCreated(server); @@ -64,13 +64,13 @@ TransferServer *TransferHandler::createServer(Engine *engine, QString m_userName } Transfer *TransferHandler::createClient( - Engine *engine, QString nick,// QString nick_peer_adress, - QHostAddress peer_address, Q_UINT16 peer_port, + Engine *engine, TQString nick,// TQString nick_peer_adress, + TQHostAddress peer_address, Q_UINT16 peer_port, Transfer::Type type, - QString fileName, Q_UINT32 fileSize ) + TQString fileName, Q_UINT32 fileSize ) { Transfer *client = new Transfer( - engine, nick,// QString nick_peer_adress, + engine, nick,// TQString nick_peer_adress, peer_address, peer_port, type, fileName, fileSize, @@ -80,9 +80,9 @@ Transfer *TransferHandler::createClient( } /* -File *DCCHandler::openFile( QString file, int mode = IO_ReadWrite ) +File *DCCHandler::openFile( TQString file, int mode = IO_ReadWrite ) { - QFile *file = new QFile(filename); + TQFile *file = new TQFile(filename); if (!file->open(mode)) { delete file; |