KVIrc
4.9.2
DeveloperAPIs
|
#include "kvi_settings.h"
#include "KviKvsEventTable.h"
#include "KviKvsEventManager.h"
#include "KviKvsVariantList.h"
Go to the source code of this file.
Macros | |
#define | KVS_TRIGGER_EVENT(__idx, __wnd, __parms) |
#define | KVS_TRIGGER_EVENT_0(__idx, __wnd) |
#define | KVS_TRIGGER_EVENT_0_HALTED(__idx, __wnd) |
#define | KVS_TRIGGER_EVENT_1(__idx, __wnd, __param1) |
#define | KVS_TRIGGER_EVENT_1_HALTED(__idx, __wnd, __param1) |
#define | KVS_TRIGGER_EVENT_2(__idx, __wnd, __param1, __param2) |
#define | KVS_TRIGGER_EVENT_2_HALTED(__idx, __wnd, __param1, __param2) |
#define | KVS_TRIGGER_EVENT_3(__idx, __wnd, __param1, __param2, __param3) |
#define | KVS_TRIGGER_EVENT_3_HALTED(__idx, __wnd, __param1, __param2, __param3) |
#define | KVS_TRIGGER_EVENT_4(__idx, __wnd, __param1, __param2, __param3, __param4) |
#define | KVS_TRIGGER_EVENT_4_HALTED(__idx, __wnd, __param1, __param2, __param3, __param4) |
#define | KVS_TRIGGER_EVENT_5(__idx, __wnd, __param1, __param2, __param3, __param4, __param5) |
#define | KVS_TRIGGER_EVENT_5_HALTED(__idx, __wnd, __param1, __param2, __param3, __param4, __param5) |
#define | KVS_TRIGGER_EVENT_6(__idx, __wnd, __param1, __param2, __param3, __param4, __param5, __param6) |
#define | KVS_TRIGGER_EVENT_6_HALTED(__idx, __wnd, __param1, __param2, __param3, __param4, __param5, __param6) |
#define | KVS_TRIGGER_EVENT_7(__idx, __wnd, __param1, __param2, __param3, __param4, __param5, __param6, __param7) |
#define | KVS_TRIGGER_EVENT_7_HALTED(__idx, __wnd, __param1, __param2, __param3, __param4, __param5, __param6, __param7) |
#define | KVS_TRIGGER_EVENT_HALTED(__idx, __wnd, __parms) (KviKvsEventManager::instance()->hasAppHandlers(__idx) ? KviKvsEventManager::instance()->trigger(__idx, __wnd, __parms) : false) |
#define KVS_TRIGGER_EVENT | ( | __idx, | |
__wnd, | |||
__parms | |||
) |
Referenced by KviIrcView::mouseDoubleClickEvent(), HttpFileTransfer::transferTerminated(), and KviIrcView::triggerMouseRelatedKvsEvents().
#define KVS_TRIGGER_EVENT_0 | ( | __idx, | |
__wnd | |||
) |
Referenced by KviMainWindow::closeWindow(), KviWindow::contextPopup(), KviIrcView::mouseDoubleClickEvent(), KviIrcContext::terminateConnectionRequest(), KviConsoleWindow::textViewRightClicked(), KviQueryWindow::textViewRightClicked(), KviChannelWindow::textViewRightClicked(), KviConsoleWindow::triggerCreationEvents(), KviQueryWindow::triggerCreationEvents(), KviChannelWindow::triggerCreationEvents(), KviIrcView::triggerMouseRelatedKvsEvents(), KviMainWindow::windowActivated(), and KviConsoleWindow::~KviConsoleWindow().
#define KVS_TRIGGER_EVENT_0_HALTED | ( | __idx, | |
__wnd | |||
) |
Referenced by KviIrcContext::connectionEstablished(), KviIrcContext::connectionTerminated(), KviIrcConnection::loginComplete(), and KviIrcServerParser::parseLiteralJoin().
#define KVS_TRIGGER_EVENT_1 | ( | __idx, | |
__wnd, | |||
__param1 | |||
) |
Referenced by KviMainWindow::accelActivated(), DccFileTransfer::connected(), DccChatWindow::connectionInProgress(), DccFileTransfer::connectionInProgress(), DccChatWindow::event(), KviIrcView::getTextLine(), KviIrcConnection::sendData(), KviIrcConnection::sendFmtData(), KviQueryWindow::slotDndEvents(), DccChatWindow::textViewRightClicked(), DccVideoWindow::textViewRightClicked(), DccDescriptor::triggerCreationEvent(), DccChatWindow::triggerCreationEvents(), DccVideoWindow::triggerCreationEvents(), DccChatWindow::triggerDestructionEvents(), DccVideoWindow::triggerDestructionEvents(), and DccDescriptor::~DccDescriptor().
#define KVS_TRIGGER_EVENT_1_HALTED | ( | __idx, | |
__wnd, | |||
__param1 | |||
) |
Referenced by KviChannelWindow::checkChannelSync(), DccChatWindow::connected(), KviNotifyListManager::notifyOffLine(), KviNotifyListManager::notifyOnLine(), KviUserInput::parse(), KviIrcServerParser::parseLiteralPart(), and KviIrcServerParser::parseNumericAway().
#define KVS_TRIGGER_EVENT_2 | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2 | |||
) |
Referenced by DccFileTransfer::event().
#define KVS_TRIGGER_EVENT_2_HALTED | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2 | |||
) |
Referenced by DccChatWindow::event(), DccVideoWindow::event(), DccChatWindow::handleMarshalError(), KviQueryWindow::ownAction(), KviChannelWindow::ownAction(), KviIrcServerParser::parseLiteralError(), KviIrcServerParser::parseLiteralNick(), KviIrcServerParser::parseLiteralNotice(), KviIrcServerParser::parseLiteralPing(), KviIrcServerParser::parseLiteralPong(), KviIrcServerParser::parseLiteralQuit(), KviIrcServerParser::parseNumericBackFromAway(), KviIrcServerParser::parseNumericHiddenHost(), KviInputEditor::pasteClipboardWithConfirmation(), KviInputEditor::pasteSelectionWithConfirmation(), DccChatWindow::sslError(), KviLagMeter::timerEvent(), and KviWindow::updateCaption().
#define KVS_TRIGGER_EVENT_3 | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3 | |||
) |
Referenced by DccFileTransfer::abort(), DccFileTransfer::event(), DccFileTransfer::handleMarshalError(), and KviQueryWindow::setTarget().
#define KVS_TRIGGER_EVENT_3_HALTED | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3 | |||
) |
Referenced by KviIrcServerParser::parseChannelMode(), and KviIrcServerParser::parseLiteralJoin().
#define KVS_TRIGGER_EVENT_4 | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3, | |||
__param4 | |||
) |
#define KVS_TRIGGER_EVENT_4_HALTED | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3, | |||
__param4 | |||
) |
Referenced by KviIrcServerParser::parseChannelMode(), KviIrcServerParser::parseCtcpRequestAction(), KviIrcServerParser::parseLiteralAccount(), KviIrcServerParser::parseLiteralAway(), KviIrcServerParser::parseLiteralInvite(), KviIrcServerParser::parseLiteralKick(), KviIrcServerParser::parseLiteralNick(), KviIrcServerParser::parseLiteralPart(), KviIrcServerParser::parseLiteralTopic(), and KviIrcServerParser::parseLiteralWallops().
#define KVS_TRIGGER_EVENT_5 | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3, | |||
__param4, | |||
__param5 | |||
) |
#define KVS_TRIGGER_EVENT_5_HALTED | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3, | |||
__param4, | |||
__param5 | |||
) |
Referenced by KviIrcServerParser::parseChannelMode(), KviIrcServerParser::parseLiteralChghost(), KviIrcServerParser::parseLiteralKick(), KviIrcServerParser::parseLiteralNotice(), and KviIrcServerParser::parseLiteralPrivmsg().
#define KVS_TRIGGER_EVENT_6 | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3, | |||
__param4, | |||
__param5, | |||
__param6 | |||
) |
#define KVS_TRIGGER_EVENT_6_HALTED | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3, | |||
__param4, | |||
__param5, | |||
__param6 | |||
) |
Referenced by KviIrcServerParser::echoCtcpRequest(), KviIrcServerParser::parseCtcpReply(), KviIrcServerParser::parseCtcpRequest(), KviIrcServerParser::parseCtcpRequestAction(), KviIrcServerParser::parseLiteralNotice(), and KviIrcServerParser::parseLiteralPrivmsg().
#define KVS_TRIGGER_EVENT_7 | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3, | |||
__param4, | |||
__param5, | |||
__param6, | |||
__param7 | |||
) |
#define KVS_TRIGGER_EVENT_7_HALTED | ( | __idx, | |
__wnd, | |||
__param1, | |||
__param2, | |||
__param3, | |||
__param4, | |||
__param5, | |||
__param6, | |||
__param7 | |||
) |
Referenced by KviIrcServerParser::parseLiteralPrivmsg(), and KviConsoleWindow::triggerOnHighlight().
#define KVS_TRIGGER_EVENT_HALTED | ( | __idx, | |
__wnd, | |||
__parms | |||
) | (KviKvsEventManager::instance()->hasAppHandlers(__idx) ? KviKvsEventManager::instance()->trigger(__idx, __wnd, __parms) : false) |