summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/libkirc/kirctransferserver.cpp
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/irc/libkirc/kirctransferserver.cpp
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/irc/libkirc/kirctransferserver.cpp')
-rw-r--r--kopete/protocols/irc/libkirc/kirctransferserver.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/kopete/protocols/irc/libkirc/kirctransferserver.cpp b/kopete/protocols/irc/libkirc/kirctransferserver.cpp
index 96cc66fb..1fbe1629 100644
--- a/kopete/protocols/irc/libkirc/kirctransferserver.cpp
+++ b/kopete/protocols/irc/libkirc/kirctransferserver.cpp
@@ -25,27 +25,27 @@
using namespace KIRC;
/*
-TransferServer::TransferServer( QObject *parent, const char *name )
- : QObject( parent, name ),
+TransferServer::TransferServer( TQObject *parent, const char *name )
+ : TQObject( parent, name ),
m_socket( 0 ),
m_port( 0 ),
m_backlog( 1 )
{
}
*/
-TransferServer::TransferServer(Q_UINT16 port, int backlog, QObject *parent, const char *name)
- : QObject( parent, name ),
+TransferServer::TransferServer(Q_UINT16 port, int backlog, TQObject *parent, const char *name)
+ : TQObject( parent, name ),
m_socket( 0 ),
m_port( port ),
m_backlog( backlog )
{
}
-TransferServer::TransferServer(Engine *engine, QString nick,// QString nick_peer_adress,
+TransferServer::TransferServer(Engine *engine, TQString nick,// TQString nick_peer_adress,
Transfer::Type type,
- QString fileName, Q_UINT32 fileSize,
- QObject *parent, const char *name)
- : QObject( parent, name ),
+ TQString fileName, Q_UINT32 fileSize,
+ TQObject *parent, const char *name)
+ : TQObject( parent, name ),
m_socket(0),
m_port(0),
m_backlog(1),
@@ -68,8 +68,8 @@ bool TransferServer::initServer()
{
if (!m_socket)
{
- QObject::connect(this, SIGNAL(incomingNewTransfer(Transfer *)),
- TransferHandler::self(), SIGNAL(transferCreated(Transfer *)));
+ TQObject::connect(this, TQT_SIGNAL(incomingNewTransfer(Transfer *)),
+ TransferHandler::self(), TQT_SIGNAL(transferCreated(Transfer *)));
m_socket = new KExtendedSocket();
@@ -83,10 +83,10 @@ bool TransferServer::initServer()
if (!m_socket->setTimeout(2*60)) // FIXME: allow configuration of this.
kdDebug(14120) << k_funcinfo << "Failed to set timeout." << endl;
- QObject::connect(m_socket, SIGNAL(readyAccept()),
- this, SLOT(readyAccept()));
- QObject::connect(m_socket, SIGNAL(connectionFailed(int)),
- this, SLOT(connectionFailed(int)));
+ TQObject::connect(m_socket, TQT_SIGNAL(readyAccept()),
+ this, TQT_SLOT(readyAccept()));
+ TQObject::connect(m_socket, TQT_SIGNAL(connectionFailed(int)),
+ this, TQT_SLOT(connectionFailed(int)));
m_socket->listen(m_backlog);
m_socket->setBlockingMode(true);
@@ -137,14 +137,14 @@ void Transfer::initClient()
{
if(!m_socket)
{
- connect(m_socket, SIGNAL(connectionClosed()),
- this, SLOT(slotConnectionClosed()));
- connect(m_socket, SIGNAL(delayedCloseFinished()),
- this, SLOT(slotConnectionClosed()));
- connect(m_socket, SIGNAL(error(int)),
- this, SLOT(slotError(int)));
- connect(m_socket, SIGNAL(readyRead()),
- this, SLOT(readyReadFileOut));
+ 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)),
+ this, TQT_SLOT(slotError(int)));
+ connect(m_socket, TQT_SIGNAL(readyRead()),
+ this, TQT_SLOT(readyReadFileOut));
m_socket->enableRead( true );
m_socket->enableWrite( true );