diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-13 02:36:47 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-13 02:36:47 -0500 |
commit | a24a8595fc6663038f6ce26cfed6276910eef984 (patch) | |
tree | d8e1a65d9464de15750b6680820b828f9ab29406 /src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp | |
parent | 00ec3a9a04347a4c1ab434944fecd5e56607b13d (diff) | |
download | kvirc-a24a8595fc6663038f6ce26cfed6276910eef984.tar.gz kvirc-a24a8595fc6663038f6ce26cfed6276910eef984.zip |
Fix inadvertent "TQ" changes.
Diffstat (limited to 'src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp')
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp b/src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp index e79fb9b..d398b18 100644 --- a/src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp +++ b/src/kvirc/kvs/kvi_kvs_coresimplecommands_mr.cpp @@ -83,12 +83,12 @@ namespace KviKvsCoreSimpleCommands KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szText) KVSCSC_PARAMETERS_END - KVSCSC_RETQUIRE_CONNECTION + KVSCSC_REQUIRE_CONNECTION switch(KVSCSC_pWindow->type()) { case KVI_WINDOW_TYPE_CHANNEL: - case KVI_WINDOW_TYPE_TQUERY: + case KVI_WINDOW_TYPE_QUERY: case KVI_WINDOW_TYPE_DCCCHAT: KVSCSC_pWindow->ownAction(szText); break; @@ -130,7 +130,7 @@ namespace KviKvsCoreSimpleCommands KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_APPENDREMAINING,szText) KVSCSC_PARAMETERS_END - KVSCSC_RETQUIRE_CONNECTION + KVSCSC_REQUIRE_CONNECTION KviTQCString szTxt = KVSCSC_pConnection->encodeText(szText); @@ -217,7 +217,7 @@ namespace KviKvsCoreSimpleCommands KVSCSC_PARAMETER("nickname",KVS_PT_NONEMPTYSTRING,0,szNick) KVSCSC_PARAMETERS_END - KVSCSC_RETQUIRE_CONNECTION + KVSCSC_REQUIRE_CONNECTION KviTQCString szData = KVSCSC_pConnection->encodeText(szNick); if(!szData.data())szData = ""; @@ -265,7 +265,7 @@ namespace KviKvsCoreSimpleCommands KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szText) KVSCSC_PARAMETERS_END - KVSCSC_RETQUIRE_CONNECTION + KVSCSC_REQUIRE_CONNECTION KviWindow * w = KVSCSC_pConnection->findChannel(szTarget); if(!w)w = KVSCSC_pConnection->findQuery(szTarget); @@ -705,7 +705,7 @@ namespace KviKvsCoreSimpleCommands KVSCSC_PARAMETER("part_message",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szMsg) KVSCSC_PARAMETERS_END - KVSCSC_RETQUIRE_CONNECTION + KVSCSC_REQUIRE_CONNECTION if(szChans.isEmpty()) { @@ -940,7 +940,7 @@ namespace KviKvsCoreSimpleCommands KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szText) KVSCSC_PARAMETERS_END - KVSCSC_RETQUIRE_CONNECTION + KVSCSC_REQUIRE_CONNECTION KviWindow * w = KVSCSC_pConnection->findChannel(szTarget); if(!w)w = KVSCSC_pConnection->findQuery(szTarget); @@ -1000,7 +1000,7 @@ namespace KviKvsCoreSimpleCommands KVSCSC_PARAMETER("text",KVS_PT_STRING,KVS_PF_OPTIONAL | KVS_PF_APPENDREMAINING,szText) KVSCSC_PARAMETERS_END - KVSCSC_RETQUIRE_CONNECTION + KVSCSC_REQUIRE_CONNECTION KviQuery * query; @@ -1053,21 +1053,21 @@ namespace KviKvsCoreSimpleCommands !sw: -q | --quit Terminates this KVIrc application instance !sw: -f | --force - Forces the immediate termination of the current IRC session (The TQUIT message may be not sent) + Forces the immediate termination of the current IRC session (The QUIT message may be not sent) !sw: -u | --unexpected Simulates an "unexpected disconnection" @description: Terminates the current IRC session.[br] - By default this command sends a TQUIT message + By default this command sends a QUIT message and waits for the server to close the connection.[br] If you want to force KVIrc to close the connection - immediately after sending the TQUIT message you must use the -f switch.[br] + immediately after sending the QUIT message you must use the -f switch.[br] Forcing the connection may cause your quit message to not be displayed to the other IRC users: most likely it will be replaced by a 'Connection reset by peer' or a 'EOF from client'.[br] If the -u switch is specified then an "unexpected disconnection" will be simulated and all the related options will be applied (e.g. automatic reconnection, - channels and queries kept open etc..). The TQUIT message will be still sent unless + channels and queries kept open etc..). The QUIT message will be still sent unless the -f switch is used. You can control all the "unexpected disconnection" options in the options dialog. If the -q switch is specified , this command terminates KVIrc immediately.[br] @@ -1088,7 +1088,7 @@ namespace KviKvsCoreSimpleCommands { TQTimer::singleShot(0,g_pApp,TQT_SLOT(quit())); } else { - KVSCSC_RETQUIRE_CONNECTION + KVSCSC_REQUIRE_CONNECTION KVSCSC_pWindow->context()->terminateConnectionRequest(KVSCSC_pSwitches->find('f',"force"),szReason,KVSCSC_pSwitches->find('u',"unexpected")); } return true; @@ -1175,7 +1175,7 @@ namespace KviKvsCoreSimpleCommands KVSCSC_PARAMETER("raw_command",KVS_PT_STRING,KVS_PF_APPENDREMAINING,szRawCommand) KVSCSC_PARAMETERS_END - KVSCSC_RETQUIRE_CONNECTION + KVSCSC_REQUIRE_CONNECTION KviTQCString szData = KVSCSC_pConnection->encodeText(szRawCommand); if(!szData.data())szData = ""; |