1 #ifndef _KVI_KVS_EVENTHANDLER_H_
2 #define _KVI_KVS_EVENTHANDLER_H_
57 KviKvsScriptEventHandler(
const QString & szHandlerName,
const QString & szContextName,
const QString & szCode,
bool bEnabled =
true);
67 const QString &
name() {
return m_szName; };
68 const QString &
code() {
return m_pScript->code(); };
71 void setEnabled(
bool bEnabled) { m_bEnabled = bEnabled; };
77 static KviKvsScriptEventHandler * createInstance(
const QString & szHandlerName,
const QString & szContextName,
const QString & szCode,
bool bEnabled =
true);
Definition: KviKvsEventHandler.h:53
Definition: KviHeapObject.h:124
Definition: KviKvsEventHandler.h:38
bool(* KviKvsModuleEventHandlerRoutine)(KviKvsModuleEventCall *c)
Definition: KviKvsModuleInterface.h:132
#define KVIRC_API
Definition: kvi_settings.h:128
Type
Definition: KviKvsEventHandler.h:36
#define m
Definition: detector.cpp:77
KviKvsModuleInterface * moduleInterface()
Definition: KviKvsEventHandler.h:91
The KVIrc Script class.
Definition: KviKvsScript.h:59
const QString & code()
Definition: KviKvsEventHandler.h:68
Definition: KviKvsEventHandler.h:80
KviKvsModuleInterface * m_pModule
Definition: KviKvsEventHandler.h:83
void setEnabled(bool bEnabled)
Definition: KviKvsEventHandler.h:71
const QString & name()
Definition: KviKvsEventHandler.h:67
Type m_type
Definition: KviKvsEventHandler.h:43
QString m_szName
Definition: KviKvsEventHandler.h:61
bool m_bEnabled
Definition: KviKvsEventHandler.h:63
Definition: KviKvsEventHandler.h:33
KviKvsScript * script()
Definition: KviKvsEventHandler.h:66
KviKvsModuleEventHandlerRoutine * m_pProc
Definition: KviKvsEventHandler.h:84
Type type()
Definition: KviKvsEventHandler.h:50
KviKvsModuleEventHandlerRoutine * handlerRoutine()
Definition: KviKvsEventHandler.h:92
QHashIterator< int, QFile * > t(getDict)
bool isEnabled()
Definition: KviKvsEventHandler.h:70
This file contains compile time settings.
Definition: KviKvsModuleInterface.h:134
Helper functions for the QString class.
KviKvsScript * m_pScript
Definition: KviKvsEventHandler.h:62