KVIrc 5.2.6
Developer APIs
KviKvsScriptEventHandler Class Reference

#include <KviKvsEventHandler.h>

+ Inheritance diagram for KviKvsScriptEventHandler:

Public Member Functions

const QString & code ()
 
bool isEnabled ()
 
 KviKvsScriptEventHandler (QString szHandlerName, const QString &szContextName, const QString &szCode, bool bEnabled=true)
 
const QString & name ()
 
KviKvsScriptscript ()
 
void setEnabled (bool bEnabled)
 
virtual ~KviKvsScriptEventHandler ()
 
- Public Member Functions inherited from KviKvsEventHandler
 KviKvsEventHandler (Type t)
 
Type type ()
 
virtual ~KviKvsEventHandler ()
 

Static Public Member Functions

static KviKvsScriptEventHandlercreateInstance (const QString &szHandlerName, const QString &szContextName, const QString &szCode, bool bEnabled=true)
 

Protected Attributes

bool m_bEnabled
 
KviKvsScriptm_pScript
 
QString m_szName
 
- Protected Attributes inherited from KviKvsEventHandler
Type m_type
 

Additional Inherited Members

- Public Types inherited from KviKvsEventHandler
enum  Type { Script , Module }
 

Constructor & Destructor Documentation

◆ KviKvsScriptEventHandler()

KviKvsScriptEventHandler::KviKvsScriptEventHandler ( QString szHandlerName,
const QString & szContextName,
const QString & szCode,
bool bEnabled = true )

◆ ~KviKvsScriptEventHandler()

KviKvsScriptEventHandler::~KviKvsScriptEventHandler ( )
virtual

References m_pScript.

Member Function Documentation

◆ code()

const QString & KviKvsScriptEventHandler::code ( )
inline

References m_pScript.

◆ createInstance()

KviKvsScriptEventHandler * KviKvsScriptEventHandler::createInstance ( const QString & szHandlerName,
const QString & szContextName,
const QString & szCode,
bool bEnabled = true )
static

◆ isEnabled()

bool KviKvsScriptEventHandler::isEnabled ( )
inline

References m_bEnabled.

◆ name()

const QString & KviKvsScriptEventHandler::name ( )
inline

References m_szName.

◆ script()

KviKvsScript * KviKvsScriptEventHandler::script ( )
inline

References m_pScript.

◆ setEnabled()

void KviKvsScriptEventHandler::setEnabled ( bool bEnabled)
inline

References m_bEnabled.

Referenced by KviKvsEventManager::loadRawEvents().

Member Data Documentation

◆ m_bEnabled

bool KviKvsScriptEventHandler::m_bEnabled
protected

◆ m_pScript

KviKvsScript* KviKvsScriptEventHandler::m_pScript
protected

◆ m_szName

QString KviKvsScriptEventHandler::m_szName
protected

Referenced by KviKvsScriptEventHandler(), and name().


The documentation for this class was generated from the following files: