summaryrefslogtreecommitdiffstats
path: root/ksirc/ioDCC.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /ksirc/ioDCC.cpp
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'ksirc/ioDCC.cpp')
-rw-r--r--ksirc/ioDCC.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/ksirc/ioDCC.cpp b/ksirc/ioDCC.cpp
index be0cdbb6..f5053400 100644
--- a/ksirc/ioDCC.cpp
+++ b/ksirc/ioDCC.cpp
@@ -31,11 +31,11 @@ KSircIODCC::KSircIODCC(KSircProcess *_proc) :
displayMgr->newTopLevel(mgr, FALSE);
displayMgr->setCaption(mgr, proc->serverName() + i18n(" DCC Controller"));
- connect(mgr->mgr(), TQT_SIGNAL(dccConnectClicked(dccItem *)), this, TQT_SLOT(dccConnectClicked(dccItem *)));
- connect(mgr->mgr(), TQT_SIGNAL(dccResumeClicked(dccItem *)), this, TQT_SLOT(dccResumeClicked(dccItem *)));
- connect(mgr->mgr(), TQT_SIGNAL(dccRenameClicked(dccItem *)), this, TQT_SLOT(dccRenameClicked(dccItem *)));
- connect(mgr->mgr(), TQT_SIGNAL(dccAbortClicked(dccItem *)), this, TQT_SLOT(dccAbortClicked(dccItem *)));
- connect(mgr->mgr(), TQT_SIGNAL(outputLine(TQCString)), this, TQT_SIGNAL(outputLine(TQCString)));
+ connect(mgr->mgr(), TQ_SIGNAL(dccConnectClicked(dccItem *)), this, TQ_SLOT(dccConnectClicked(dccItem *)));
+ connect(mgr->mgr(), TQ_SIGNAL(dccResumeClicked(dccItem *)), this, TQ_SLOT(dccResumeClicked(dccItem *)));
+ connect(mgr->mgr(), TQ_SIGNAL(dccRenameClicked(dccItem *)), this, TQ_SLOT(dccRenameClicked(dccItem *)));
+ connect(mgr->mgr(), TQ_SIGNAL(dccAbortClicked(dccItem *)), this, TQ_SLOT(dccAbortClicked(dccItem *)));
+ connect(mgr->mgr(), TQ_SIGNAL(outputLine(TQCString)), this, TQ_SIGNAL(outputLine(TQCString)));
}
@@ -99,8 +99,8 @@ void KSircIODCC::sirc_receive(TQCString str, bool )
// setup dcc dialog
displayMgr->show(mgr);
dccItem *it = mgr->mgr()->newGetItem(filename, who, dccItem::dccGotOffer, fileSize);
- connect(it, TQT_SIGNAL(itemRenamed(dccItem *, TQString, TQString)),
- this, TQT_SLOT(dccRenameDone(dccItem *, TQString, TQString)));
+ connect(it, TQ_SIGNAL(itemRenamed(dccItem *, TQString, TQString)),
+ this, TQ_SLOT(dccRenameDone(dccItem *, TQString, TQString)));
it->setWhoPostfix("(" + ip + ")");
TQString key = TQString("%1/%2").arg(filename).arg(who);
@@ -173,8 +173,8 @@ void KSircIODCC::sirc_receive(TQCString str, bool )
// setup dcc dialog
displayMgr->show(mgr);
dccItem *it = mgr->mgr()->newChatItem(who, dccItem::dccGotOffer);
- connect(it, TQT_SIGNAL(itemRenamed(dccItem *, TQString, TQString)),
- this, TQT_SLOT(dccRenameDone(dccItem *, TQString, TQString)));
+ connect(it, TQ_SIGNAL(itemRenamed(dccItem *, TQString, TQString)),
+ this, TQ_SLOT(dccRenameDone(dccItem *, TQString, TQString)));
it->setWhoPostfix("(" + ip + ")");
DCCChatItems.insert(who, it);
}
@@ -190,8 +190,8 @@ void KSircIODCC::sirc_receive(TQCString str, bool )
// setup dcc dialog
displayMgr->show(mgr);
dccItem *it = mgr->mgr()->newChatItem(who, dccItem::dccSentOffer);
- connect(it, TQT_SIGNAL(itemRenamed(dccItem *, TQString, TQString)),
- this, TQT_SLOT(dccRenameDone(dccItem *, TQString, TQString)));
+ connect(it, TQ_SIGNAL(itemRenamed(dccItem *, TQString, TQString)),
+ this, TQ_SLOT(dccRenameDone(dccItem *, TQString, TQString)));
DCCChatItems.insert(who, it);
}
else {