diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /kopete/protocols/irc/libkirc/kircengine_numericreplies.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kopete/protocols/irc/libkirc/kircengine_numericreplies.cpp')
-rw-r--r-- | kopete/protocols/irc/libkirc/kircengine_numericreplies.cpp | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/kopete/protocols/irc/libkirc/kircengine_numericreplies.cpp b/kopete/protocols/irc/libkirc/kircengine_numericreplies.cpp index 67d3a842..4118fe23 100644 --- a/kopete/protocols/irc/libkirc/kircengine_numericreplies.cpp +++ b/kopete/protocols/irc/libkirc/kircengine_numericreplies.cpp @@ -31,69 +31,69 @@ using namespace KIRC; void Engine::bindNumericReplies() { - bind(1, this, TQT_SLOT(numericReply_001(KIRC::Message &)), 1, 1); - bind(2, this, TQT_SLOT(numericReply_002(KIRC::Message &)), 1, 1); - bind(3, this, TQT_SLOT(numericReply_003(KIRC::Message &)), 1, 1); - bind(4, this, TQT_SLOT(numericReply_004(KIRC::Message &)), 5, 5); - bind(5, this, TQT_SLOT(numericReply_004(KIRC::Message &)), 1, 1); - - bind(250, this, TQT_SLOT(numericReply_250(KIRC::Message &))); - bind(251, this, TQT_SLOT(numericReply_251(KIRC::Message &))); - bind(252, this, TQT_SLOT(numericReply_252(KIRC::Message &)), 2, 2); - bind(253, this, TQT_SLOT(numericReply_253(KIRC::Message &)), 2, 2); - bind(254, this, TQT_SLOT(numericReply_254(KIRC::Message &)), 2, 2); - bind(255, this, TQT_SLOT(numericReply_255(KIRC::Message &)), 1, 1); // incomingConnectString - - bind(263, this, TQT_SLOT(numericReply_263(KIRC::Message &))); // incomingServerLoadTooHigh - bind(265, this, TQT_SLOT(numericReply_265(KIRC::Message &))); - bind(266, this, TQT_SLOT(numericReply_266(KIRC::Message &))); - - bind(301, this, TQT_SLOT(numericReply_301(KIRC::Message &)), 2, 2); - bind(303, this, TQT_SLOT(numericReply_303(KIRC::Message &)), 1, 1); - bind(305, this, TQT_SLOT(ignoreMessage(KIRC::Message &)), 0, 0 ); // You are no longer marked as away - bind(306, this, TQT_SLOT(ignoreMessage(KIRC::Message &)), 0, 0 ); // You are marked as away - bind(307, this, TQT_SLOT(numericReply_307(KIRC::Message &)), 1, 1); - bind(311, this, TQT_SLOT(numericReply_311(KIRC::Message &)), 5, 5); - bind(312, this, TQT_SLOT(numericReply_312(KIRC::Message &)), 3, 3); - bind(313, this, TQT_SLOT(numericReply_313(KIRC::Message &)), 2, 2); - bind(314, this, TQT_SLOT(numericReply_314(KIRC::Message &)), 5, 5); - bind(315, this, TQT_SLOT(numericReply_315(KIRC::Message &)), 2, 2); - bind(317, this, TQT_SLOT(numericReply_317(KIRC::Message &)), 3, 4); - bind(318, this, TQT_SLOT(numericReply_318(KIRC::Message &)), 2, 2); - bind(319, this, TQT_SLOT(numericReply_319(KIRC::Message &)), 2, 2); - bind(320, this, TQT_SLOT(numericReply_320(KIRC::Message &)), 2, 2); - bind(321, this, TQT_SLOT(ignoreMessage(KIRC::Message &)), 0, 0 ); - bind(322, this, TQT_SLOT(numericReply_322(KIRC::Message &)), 3, 3); - bind(323, this, TQT_SLOT(numericReply_323(KIRC::Message &)), 1, 1); - bind(324, this, TQT_SLOT(numericReply_324(KIRC::Message &)), 2, 4); - bind(328, this, TQT_SLOT(numericReply_328(KIRC::Message &)), 2, 2); - bind(329, this, TQT_SLOT(numericReply_329(KIRC::Message &)), 3, 3); - bind(330, this, TQT_SLOT(ignoreMessage(KIRC::Message &)), 0, 0); // ??? - bind(331, this, TQT_SLOT(numericReply_331(KIRC::Message &)), 2, 2); - bind(332, this, TQT_SLOT(numericReply_332(KIRC::Message &)), 2, 2); - bind(333, this, TQT_SLOT(numericReply_333(KIRC::Message &)), 4, 4); - bind(352, this, TQT_SLOT(numericReply_352(KIRC::Message &)), 5, 10); - bind(353, this, TQT_SLOT(numericReply_353(KIRC::Message &)), 3, 3); - bind(366, this, TQT_SLOT(numericReply_366(KIRC::Message &)), 2, 2); - bind(369, this, TQT_SLOT(numericReply_369(KIRC::Message &)), 2, 2); - bind(372, this, TQT_SLOT(numericReply_372(KIRC::Message &)), 1, 1); - bind(375, this, TQT_SLOT(ignoreMessage(KIRC::Message&)), 0, 0 ); - bind(376, this, TQT_SLOT(ignoreMessage(KIRC::Message&)), 0, 0 ); - - bind(401, this, TQT_SLOT(numericReply_401(KIRC::Message &)), 2, 2); // incomingNoNickChan -// bind(404, this, TQT_SLOT(numericReply_404(KIRC::Message &)), 2, 2); // incomingCannotSendToChannel - bind(406, this, TQT_SLOT(numericReply_406(KIRC::Message &)), 2, 2); // incomingWasNoNick - bind(422, this, TQT_SLOT(numericReply_422(KIRC::Message &)), 1, 1); - bind(433, this, TQT_SLOT(numericReply_433(KIRC::Message &)), 2, 2); -// bind(442, this, TQT_SLOT(numericReply_442(KIRC::Message &)), 2, 2); // incomingCannotSendToChannel - bind(464, this, TQT_SLOT(numericReply_464(KIRC::Message &)), 1, 1); - bind(471, this, TQT_SLOT(numericReply_471(KIRC::Message &)), 2, 2); - bind(473, this, TQT_SLOT(numericReply_473(KIRC::Message &)), 2, 2); - bind(474, this, TQT_SLOT(numericReply_474(KIRC::Message &)), 2, 2); - bind(475, this, TQT_SLOT(numericReply_475(KIRC::Message &)), 2, 2); + bind(1, this, TQ_SLOT(numericReply_001(KIRC::Message &)), 1, 1); + bind(2, this, TQ_SLOT(numericReply_002(KIRC::Message &)), 1, 1); + bind(3, this, TQ_SLOT(numericReply_003(KIRC::Message &)), 1, 1); + bind(4, this, TQ_SLOT(numericReply_004(KIRC::Message &)), 5, 5); + bind(5, this, TQ_SLOT(numericReply_004(KIRC::Message &)), 1, 1); + + bind(250, this, TQ_SLOT(numericReply_250(KIRC::Message &))); + bind(251, this, TQ_SLOT(numericReply_251(KIRC::Message &))); + bind(252, this, TQ_SLOT(numericReply_252(KIRC::Message &)), 2, 2); + bind(253, this, TQ_SLOT(numericReply_253(KIRC::Message &)), 2, 2); + bind(254, this, TQ_SLOT(numericReply_254(KIRC::Message &)), 2, 2); + bind(255, this, TQ_SLOT(numericReply_255(KIRC::Message &)), 1, 1); // incomingConnectString + + bind(263, this, TQ_SLOT(numericReply_263(KIRC::Message &))); // incomingServerLoadTooHigh + bind(265, this, TQ_SLOT(numericReply_265(KIRC::Message &))); + bind(266, this, TQ_SLOT(numericReply_266(KIRC::Message &))); + + bind(301, this, TQ_SLOT(numericReply_301(KIRC::Message &)), 2, 2); + bind(303, this, TQ_SLOT(numericReply_303(KIRC::Message &)), 1, 1); + bind(305, this, TQ_SLOT(ignoreMessage(KIRC::Message &)), 0, 0 ); // You are no longer marked as away + bind(306, this, TQ_SLOT(ignoreMessage(KIRC::Message &)), 0, 0 ); // You are marked as away + bind(307, this, TQ_SLOT(numericReply_307(KIRC::Message &)), 1, 1); + bind(311, this, TQ_SLOT(numericReply_311(KIRC::Message &)), 5, 5); + bind(312, this, TQ_SLOT(numericReply_312(KIRC::Message &)), 3, 3); + bind(313, this, TQ_SLOT(numericReply_313(KIRC::Message &)), 2, 2); + bind(314, this, TQ_SLOT(numericReply_314(KIRC::Message &)), 5, 5); + bind(315, this, TQ_SLOT(numericReply_315(KIRC::Message &)), 2, 2); + bind(317, this, TQ_SLOT(numericReply_317(KIRC::Message &)), 3, 4); + bind(318, this, TQ_SLOT(numericReply_318(KIRC::Message &)), 2, 2); + bind(319, this, TQ_SLOT(numericReply_319(KIRC::Message &)), 2, 2); + bind(320, this, TQ_SLOT(numericReply_320(KIRC::Message &)), 2, 2); + bind(321, this, TQ_SLOT(ignoreMessage(KIRC::Message &)), 0, 0 ); + bind(322, this, TQ_SLOT(numericReply_322(KIRC::Message &)), 3, 3); + bind(323, this, TQ_SLOT(numericReply_323(KIRC::Message &)), 1, 1); + bind(324, this, TQ_SLOT(numericReply_324(KIRC::Message &)), 2, 4); + bind(328, this, TQ_SLOT(numericReply_328(KIRC::Message &)), 2, 2); + bind(329, this, TQ_SLOT(numericReply_329(KIRC::Message &)), 3, 3); + bind(330, this, TQ_SLOT(ignoreMessage(KIRC::Message &)), 0, 0); // ??? + bind(331, this, TQ_SLOT(numericReply_331(KIRC::Message &)), 2, 2); + bind(332, this, TQ_SLOT(numericReply_332(KIRC::Message &)), 2, 2); + bind(333, this, TQ_SLOT(numericReply_333(KIRC::Message &)), 4, 4); + bind(352, this, TQ_SLOT(numericReply_352(KIRC::Message &)), 5, 10); + bind(353, this, TQ_SLOT(numericReply_353(KIRC::Message &)), 3, 3); + bind(366, this, TQ_SLOT(numericReply_366(KIRC::Message &)), 2, 2); + bind(369, this, TQ_SLOT(numericReply_369(KIRC::Message &)), 2, 2); + bind(372, this, TQ_SLOT(numericReply_372(KIRC::Message &)), 1, 1); + bind(375, this, TQ_SLOT(ignoreMessage(KIRC::Message&)), 0, 0 ); + bind(376, this, TQ_SLOT(ignoreMessage(KIRC::Message&)), 0, 0 ); + + bind(401, this, TQ_SLOT(numericReply_401(KIRC::Message &)), 2, 2); // incomingNoNickChan +// bind(404, this, TQ_SLOT(numericReply_404(KIRC::Message &)), 2, 2); // incomingCannotSendToChannel + bind(406, this, TQ_SLOT(numericReply_406(KIRC::Message &)), 2, 2); // incomingWasNoNick + bind(422, this, TQ_SLOT(numericReply_422(KIRC::Message &)), 1, 1); + bind(433, this, TQ_SLOT(numericReply_433(KIRC::Message &)), 2, 2); +// bind(442, this, TQ_SLOT(numericReply_442(KIRC::Message &)), 2, 2); // incomingCannotSendToChannel + bind(464, this, TQ_SLOT(numericReply_464(KIRC::Message &)), 1, 1); + bind(471, this, TQ_SLOT(numericReply_471(KIRC::Message &)), 2, 2); + bind(473, this, TQ_SLOT(numericReply_473(KIRC::Message &)), 2, 2); + bind(474, this, TQ_SLOT(numericReply_474(KIRC::Message &)), 2, 2); + bind(475, this, TQ_SLOT(numericReply_475(KIRC::Message &)), 2, 2); //Freenode seems to use this for a non-RFC compliant purpose, as does Unreal - bind(477, this, TQT_SLOT(emitSuffix(KIRC::Message&)),0,0); + bind(477, this, TQ_SLOT(emitSuffix(KIRC::Message&)),0,0); } /* 001: "Welcome to the Internet Relay Network <nick>!<user>@<host>" |