diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:15:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 18:03:34 +0900 |
commit | 209ac1e561619ff446be4b3411ed74e59fff168e (patch) | |
tree | 83b384cf0c4dfb918b3a4c39b4333f33e0f2f387 /src/modules/dcc/broker.cpp | |
parent | 44846083311d49d75e8376326d29f7f34e1dae52 (diff) | |
download | kvirc-209ac1e561619ff446be4b3411ed74e59fff168e.tar.gz kvirc-209ac1e561619ff446be4b3411ed74e59fff168e.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/dcc/broker.cpp')
-rw-r--r-- | src/modules/dcc/broker.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/modules/dcc/broker.cpp b/src/modules/dcc/broker.cpp index cfbc01ba..a766f932 100644 --- a/src/modules/dcc/broker.cpp +++ b/src/modules/dcc/broker.cpp @@ -291,10 +291,10 @@ void KviDccBroker::handleChatRequest(KviDccDescriptor * dcc) KviDccAcceptBox * box = new KviDccAcceptBox(this,dcc,tmp,caption); m_pBoxList->append(box); - connect(box,TQT_SIGNAL(accepted(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(executeChat(KviDccBox *,KviDccDescriptor *))); - connect(box,TQT_SIGNAL(rejected(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(accepted(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(executeChat(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(rejected(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); box->show(); } else { // auto accept @@ -345,10 +345,10 @@ void KviDccBroker::activeVoiceManage(KviDccDescriptor * dcc) KviDccAcceptBox * box = new KviDccAcceptBox(this,dcc,tmp,__tr2qs_ctx("DCC VOICE request","dcc")); m_pBoxList->append(box); - connect(box,TQT_SIGNAL(accepted(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(activeVoiceExecute(KviDccBox *,KviDccDescriptor *))); - connect(box,TQT_SIGNAL(rejected(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(accepted(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(activeVoiceExecute(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(rejected(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); box->show(); } else { // auto accept @@ -416,10 +416,10 @@ void KviDccBroker::activeCanvasManage(KviDccDescriptor * dcc) KviDccAcceptBox * box = new KviDccAcceptBox(this,dcc,tmp,__tr2qs_ctx("DCC CANVAS request","dcc")); m_pBoxList->append(box); - connect(box,TQT_SIGNAL(accepted(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(activeCanvasExecute(KviDccBox *,KviDccDescriptor *))); - connect(box,TQT_SIGNAL(rejected(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(accepted(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(activeCanvasExecute(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(rejected(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); box->show(); } else { // auto accept @@ -544,10 +544,10 @@ void KviDccBroker::recvFileManage(KviDccDescriptor * dcc) KviDccAcceptBox * box = new KviDccAcceptBox(this,dcc,tmp,title); m_pBoxList->append(box); - connect(box,TQT_SIGNAL(accepted(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(chooseSaveFileName(KviDccBox *,KviDccDescriptor *))); - connect(box,TQT_SIGNAL(rejected(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(accepted(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(chooseSaveFileName(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(rejected(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); box->show(); } else { // auto accept @@ -685,12 +685,12 @@ void KviDccBroker::renameOverwriteResume(KviDccBox *box,KviDccDescriptor * dcc) KviDccRenameBox * box = new KviDccRenameBox(this,dcc,tmp,bDisableResume); m_pBoxList->append(box); - connect(box,TQT_SIGNAL(renameSelected(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(renameDccSendFile(KviDccBox *,KviDccDescriptor *))); - connect(box,TQT_SIGNAL(overwriteSelected(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(recvFileExecute(KviDccBox *,KviDccDescriptor *))); - connect(box,TQT_SIGNAL(cancelSelected(KviDccBox *,KviDccDescriptor *)), - this,TQT_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(renameSelected(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(renameDccSendFile(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(overwriteSelected(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(recvFileExecute(KviDccBox *,KviDccDescriptor *))); + connect(box,TQ_SIGNAL(cancelSelected(KviDccBox *,KviDccDescriptor *)), + this,TQ_SLOT(cancelDcc(KviDccBox *,KviDccDescriptor *))); box->show(); return; } else { |