diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/irc/irctransferhandler.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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/irctransferhandler.cpp')
-rw-r--r-- | kopete/protocols/irc/irctransferhandler.cpp | 36 |
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(); } |