summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/libkirc/kirctransfer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/irc/libkirc/kirctransfer.cpp')
-rw-r--r--kopete/protocols/irc/libkirc/kirctransfer.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/kopete/protocols/irc/libkirc/kirctransfer.cpp b/kopete/protocols/irc/libkirc/kirctransfer.cpp
index cbcb6682..50e96ce8 100644
--- a/kopete/protocols/irc/libkirc/kirctransfer.cpp
+++ b/kopete/protocols/irc/libkirc/kirctransfer.cpp
@@ -81,11 +81,11 @@ Transfer::Transfer( Engine *engine, TQString nick,// TQString nick_peer_adress
else if(!properites["hostAddress"].isNull() && !properites["hostPort"].isNull())
setSocket(new KExtendedSocket(properites["hostAddress"], properites["hostPort"]));
- connect(this, TQT_SIGNAL(complete()),
- this, TQT_SLOT(closeSocket()));
+ connect(this, TQ_SIGNAL(complete()),
+ this, TQ_SLOT(closeSocket()));
- connect(this, TQT_SIGNAL(abort(TQString)),
- this, TQT_SLOT(closeSocket()));
+ connect(this, TQ_SIGNAL(abort(TQString)),
+ this, TQ_SLOT(closeSocket()));
}
*/
Transfer::~Transfer()
@@ -134,39 +134,39 @@ bool Transfer::initiate()
m_file.setName(m_fileName);
- connect(this, TQT_SIGNAL(complete()),
- this, TQT_SLOT(closeSocket()));
- connect(this, TQT_SIGNAL(abort(TQString)),
- this, TQT_SLOT(closeSocket()));
+ connect(this, TQ_SIGNAL(complete()),
+ this, TQ_SLOT(closeSocket()));
+ connect(this, TQ_SIGNAL(abort(TQString)),
+ this, TQ_SLOT(closeSocket()));
-// connect(m_socket, TQT_SIGNAL(connectionClosed()),
-// this, TQT_SLOT(slotConnectionClosed()));
-// connect(m_socket, TQT_SIGNAL(delayedCloseFinished()),
-// this, TQT_SLOT(slotConnectionClosed()));
- connect(m_socket, TQT_SIGNAL(error(int)), // FIXME: connection failed: No such signal KExtendedSocket::error(int)
- this, TQT_SLOT(slotError(int)));
+// connect(m_socket, TQ_SIGNAL(connectionClosed()),
+// this, TQ_SLOT(slotConnectionClosed()));
+// connect(m_socket, TQ_SIGNAL(delayedCloseFinished()),
+// this, TQ_SLOT(slotConnectionClosed()));
+ connect(m_socket, TQ_SIGNAL(error(int)), // FIXME: connection failed: No such signal KExtendedSocket::error(int)
+ this, TQ_SLOT(slotError(int)));
switch( m_type )
{
case Chat:
kdDebug(14121) << k_funcinfo << "Stting up a chat." << endl;
- connect(m_socket, TQT_SIGNAL(readyRead()),
- this, TQT_SLOT(readyReadFileIncoming()));
+ connect(m_socket, TQ_SIGNAL(readyRead()),
+ this, TQ_SLOT(readyReadFileIncoming()));
break;
case FileIncoming:
kdDebug(14121) << k_funcinfo << "Stting up an incoming file transfer." << endl;
m_file.open(IO_WriteOnly);
- connect(m_socket, TQT_SIGNAL(readyRead()),
- this, TQT_SLOT(readyReadFileIncoming()));
+ connect(m_socket, TQ_SIGNAL(readyRead()),
+ this, TQ_SLOT(readyReadFileIncoming()));
break;
case FileOutgoing:
kdDebug(14121) << k_funcinfo << "Stting up an outgoing file transfer." << endl;
m_file.open(IO_ReadOnly);
- connect(m_socket, TQT_SIGNAL(readyRead()),
- this, TQT_SLOT(readyReadFileOutgoing()));
+ connect(m_socket, TQ_SIGNAL(readyRead()),
+ this, TQ_SLOT(readyReadFileOutgoing()));
// timer = new TQTimer(this);
-// connect(timer, TQT_SIGNAL(timeout()),
-// this, TQT_SLOT(writeFileOutgoing()));
+// connect(timer, TQ_SIGNAL(timeout()),
+// this, TQ_SLOT(writeFileOutgoing()));
// timer->start(1000, false);
writeFileOutgoing(); // send a first packet.
break;
@@ -190,8 +190,8 @@ bool Transfer::initiate()
// As far as I understand, buffer (socket buffer at least) should be flushed while event-looping.
// But I'm not really sure of this, so I force the flush.
timer = new TQTimer(this);
- connect(timer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(flush()));
+ connect(timer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(flush()));
timer->start(1000, FALSE); // flush the streams at every seconds
return true;