summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/irctransferhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/irc/irctransferhandler.cpp')
-rw-r--r--kopete/protocols/irc/irctransferhandler.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kopete/protocols/irc/irctransferhandler.cpp b/kopete/protocols/irc/irctransferhandler.cpp
index 4715679e..e579e94a 100644
--- a/kopete/protocols/irc/irctransferhandler.cpp
+++ b/kopete/protocols/irc/irctransferhandler.cpp
@@ -41,13 +41,13 @@ KIRC::TransferHandler *IRCTransferHandler::handler()
IRCTransferHandler::IRCTransferHandler()
{
- connect(handler(), SIGNAL(transferCreated(KIRC::Transfer *)),
- this, SLOT(transferCreated(KIRC::Transfer *)));
+ connect(handler(), TQT_SIGNAL(transferCreated(KIRC::Transfer *)),
+ this, TQT_SLOT(transferCreated(KIRC::Transfer *)));
- connect(Kopete::TransferManager::transferManager(), SIGNAL(accepted(Kopete::Transfer *, const QString &)),
- this, SLOT(transferAccepted(Kopete::Transfer *, const QString&)));
- connect( Kopete::TransferManager::transferManager(), SIGNAL(refused(const Kopete::FileTransferInfo &)),
- this, SLOT(transferRefused(const Kopete::FileTransferInfo &)));
+ connect(Kopete::TransferManager::transferManager(), TQT_SIGNAL(accepted(Kopete::Transfer *, const TQString &)),
+ this, TQT_SLOT(transferAccepted(Kopete::Transfer *, const TQString&)));
+ connect( Kopete::TransferManager::transferManager(), TQT_SIGNAL(refused(const Kopete::FileTransferInfo &)),
+ this, TQT_SLOT(transferRefused(const Kopete::FileTransferInfo &)));
}
void IRCTransferHandler::transferCreated(KIRC::Transfer *t)
@@ -55,7 +55,7 @@ void IRCTransferHandler::transferCreated(KIRC::Transfer *t)
kdDebug(14120) << k_funcinfo << endl;
IRCContact *contact = IRCContactManager::existContact(t->engine(), t->nick());
- QString fileName = t->fileName();
+ TQString fileName = t->fileName();
unsigned long fileSize = t->fileSize();
if(!contact)
@@ -88,7 +88,7 @@ void IRCTransferHandler::transferCreated(KIRC::Transfer *t)
}
}
-void IRCTransferHandler::transferAccepted(Kopete::Transfer *kt, const QString &file)
+void IRCTransferHandler::transferAccepted(Kopete::Transfer *kt, const TQString &file)
{
kdDebug(14120) << k_funcinfo << endl;
@@ -121,8 +121,8 @@ void IRCTransferHandler::connectKopeteTransfer(Kopete::Transfer *kt, KIRC::Trans
// case KIRC::Transfer::Chat:
case KIRC::Transfer::FileOutgoing:
case KIRC::Transfer::FileIncoming:
- connect(t , SIGNAL(fileSizeAcknowledge(unsigned int)),
- kt, SLOT(slotProcessed(unsigned int)));
+ connect(t , TQT_SIGNAL(fileSizeAcknowledge(unsigned int)),
+ kt, TQT_SLOT(slotProcessed(unsigned int)));
break;
default:
kdDebug(14120) << k_funcinfo << "Unknown transfer connections for type" << endl;
@@ -130,16 +130,16 @@ void IRCTransferHandler::connectKopeteTransfer(Kopete::Transfer *kt, KIRC::Trans
return;
}
- connect(t , SIGNAL(complete()),
- kt, SLOT(slotComplete()));
+ connect(t , TQT_SIGNAL(complete()),
+ kt, TQT_SLOT(slotComplete()));
-// connect(kt , SIGNAL(transferCanceled()),
-// t, SLOT(abort()));
-// connect(kt, SIGNAL(destroyed()),
-// t, SLOT(slotKopeteTransferDestroyed()));
+// connect(kt , TQT_SIGNAL(transferCanceled()),
+// t, TQT_SLOT(abort()));
+// connect(kt, TQT_SIGNAL(destroyed()),
+// t, TQT_SLOT(slotKopeteTransferDestroyed()));
- connect(kt, SIGNAL(result(KIO::Job *)),
- this , SLOT(kioresult(KIO::Job *)));
+ connect(kt, TQT_SIGNAL(result(KIO::Job *)),
+ this , TQT_SLOT(kioresult(KIO::Job *)));
t->initiate();
}